I've opened https://trac.sagemath.org/ticket/30758 to fix this

On Tue, Oct 13, 2020 at 9:38 AM Dima Pasechnik <[email protected]> wrote:
>
> Can you replace `text=True` with `universal_newlines=True` and see if it 
> helps?
> A very similar problem was addressed in
> https://trac.sagemath.org/ticket/30740 - but apparently it was not
> enough.
>
> On Tue, Oct 13, 2020 at 9:06 AM Clemens Heuberger
> <[email protected]> wrote:
> >
> > On a Linux Mint 19.3 Tricia machine, I get the following error on 9.2.rc1:
> >
> > ./sage -t -p --all --long --logfile=logs/ptestlong.log
> > Traceback (most recent call last):
> >    File "/local/cheuberg/local/sage-9.2.rc1/src/bin/sage-runtests", line 
> > 181, in
> > <module>
> >      DC = DocTestController(options, args)
> >    File
> > "/local/cheuberg/local/sage-9.2.rc1/local/lib/python3.6/site-packages/sage/doctest/control.py",
> > line 371, in __init__
> >      options.optional.update(system.name for system in package_systems())
> >    File
> > "/local/cheuberg/local/sage-9.2.rc1/local/lib/python3.6/site-packages/sage/features/__init__.py",
> > line 376, in package_systems
> >      proc = run('sage-guess-package-system', shell=True, stdout=PIPE,
> > stderr=PIPE, text=True, check=True)
> >    File "/usr/lib/python3.6/subprocess.py", line 423, in run
> >      with Popen(*popenargs, **kwargs) as process:
> > TypeError: __init__() got an unexpected keyword argument 'text'
> > Makefile:190: recipe for target 'ptestlong' failed
> > make: *** [ptestlong] Error 1
> >
> >
> > Indeed, the text=True parameter of subprocess.run is available in python3.7
> > only; this build apparently uses the system python3.6.
> >
> > At the moment I do not know why I did not have similar problems on my other
> > linux mint 19.3 machines.
> >
> >
> > Am 11.10.20 um 01:43 schrieb Volker Braun:
> > > As always, you can get the latest beta version from the "develop" git 
> > > branch.
> > > Alternatively, the self-contained source tarball is at
> > > http://www.sagemath.org/download-latest.html
> > >
> > >
> > > 8eec238a73 (tag: 9.2.rc1, trac/develop) Updated SageMath version to 
> > > 9.2.rc1
> > > a569b88f02 Trac #30740: Fix sage.feature.package_systems for Python 3.6
> > > f6250c2682 (tag: 9.2.rc0) Updated SageMath version to 9.2.rc0
> > >
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "sage-release" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an 
> > > email
> > > to [email protected]
> > > <mailto:[email protected]>.
> > > To view this discussion on the web visit
> > > https://groups.google.com/d/msgid/sage-release/8404a7d9-b906-4301-b891-59733da482cen%40googlegroups.com
> > > <https://groups.google.com/d/msgid/sage-release/8404a7d9-b906-4301-b891-59733da482cen%40googlegroups.com?utm_medium=email&utm_source=footer>.
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "sage-release" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to [email protected].
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/sage-release/5950fc40-a014-386c-dfd9-c09de2549651%40aau.at.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/CAAWYfq11FCjnv4vFMFq-r3DDGPM3po7FhqumVP%3DSY_ZOsCMFEQ%40mail.gmail.com.

Reply via email to