Am 13.10.20 um 10:38 schrieb Dima Pasechnik:
Can you replace `text=True` with `universal_newlines=True` and see if it helps?

yes (I used you branch on https://trac.sagemath.org/ticket/30758), make ptestlong now passed without errors.

Thank you.

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
<clemens.heuber...@aau.at> 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 sage-release+unsubscr...@googlegroups.com
<mailto:sage-release+unsubscr...@googlegroups.com>.
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 sage-release+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/5950fc40-a014-386c-dfd9-c09de2549651%40aau.at.


--
Univ.-Prof. Dr. Clemens Heuberger        Alpen-Adria-Universität Klagenfurt
Institut für Mathematik, Universitätsstraße 65-67, 9020 Klagenfurt, Austria
Tel: +43 463 2700 3121                            Fax: +43 463 2700 99 3121
clemens.heuber...@aau.at                        http://wwwu.aau.at/cheuberg

--
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 sage-release+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/3202d283-c832-b40f-8164-0ec6be54d7bd%40aau.at.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to