Need help with Python 3, doctesting framework, and patchbot

36 views
Skip to first unread message

John H Palmieri

unread,
Oct 17, 2019, 2:02:15 PM10/17/19
to sage-devel
With a Python 3 build of Sage, there are three files which exhibit failures only (or primarily?) when running the Sage patchbot. This is being tracked at https://trac.sagemath.org/ticket/28622. Can anyone help figure out the problem and how to fix it? To see the problem, cd to SAGE_ROOT, run Python (either 2 or 3) and do this:

>>> import subprocess, os, sys
>>> tee = subprocess.Popen(["tee", 'LOGFILE.log'], stdin=subprocess.PIPE)
>>> os.dup2(tee.stdin.fileno(), sys.stdout.fileno())
>>> os.dup2(tee.stdin.fileno(), sys.stderr.fileno())
>>> os.system('/path/to/sage/sage -t src/sage/repl/attach.py')

What's going on?

--
John

Reply all
Reply to author
Forward
0 new messages