Upgrading from a Python 3-based Sage 8.8, builds OK, but make ptest-python3
gives three failures:
--
sage -t --long --warn-long 151.2 src/sage/coding/linear_code.py # 4
doctests failed
sage -t --long --warn-long 151.2
src/sage/algebras/quantum_groups/quantum_group_gap.py # 6 doctests failed
sage -t --long --warn-long 151.2 src/sage/interfaces/psage.py # 1 doctest
failed
--
The last one is transient. as for the other two :
charpent@zen-book-flip:/usr/local/sage-P3$ sage -t --long --warn-long 151.2
src/sage/coding/linear_code.py
Running doctests with ID 2019-07-04-20-17-47-c7243cba.
Git branch: develop
Using
--optional=build,dochtml,dot2tex,fricas,gap_packages,giacpy_sage,memlimit,mpir,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 151.2 src/sage/coding/linear_code.py
**
File "src/sage/coding/linear_code.py", line 3303, in
sage.coding.linear_code.AbstractLinearCode.weight_distribution
Failed example:
C.weight_distribution(algorithm="leon") # optional - gap_packages
(Guava package)
Exception raised:
Traceback (most recent call last):
File "sage/misc/cachefunc.pyx", line 1944, in
sage.misc.cachefunc.CachedMethodCaller.__call__
(build/cythonized/sage/misc/cachefunc.c:10139)
return cache[k]
KeyError: (('leon',), ())
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py",
line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File
"/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py",
line 1105, in compile_and_execute
exec(compiled, globs)
File "", line
1, in
C.weight_distribution(algorithm="leon") # optional - gap_packages
(Guava package)
File "sage/misc/cachefunc.pyx", line 1949, in
sage.misc.cachefunc.CachedMethodCaller.__call__
(build/cythonized/sage/misc/cachefunc.c:10273)
w = self._instance_call(*args, **kwds)
File "sage/misc/cachefunc.pyx", line 1825, in
sage.misc.cachefunc.CachedMethodCaller._instance_call
(build/cythonized/sage/misc/cachefunc.c:9758)
return self.f(self._instance, *args, **kwds)
File
"/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/coding/linear_code.py",
line 3358, in weight_distribution
for L in StringIO(lines).readlines():
TypeError: initial_value must be str or None, not bytes
**
File "src/sage/coding/linear_code.py", line 3311, in
sage.coding.linear_code.AbstractLinearCode.weight_distribution
Failed example:
C.weight_distribution() == C.weight_distribution(algorithm="leon") #
optional - gap_packages (Guava package)
Exception raised:
Traceback (most recent call last):
File "sage/misc/cachefunc.pyx", line 1944, in
sage.misc.cachefunc.CachedMethodCaller.__call__
(build/cythonized/sage/misc/cachefunc.c:10139)
return cache[k]
KeyError: (('leon',), ())
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py",
line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File
"/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py",
line 1105, in compile_and_execute
exec(compiled, globs)
File "", line
1, in
C.weight_distribution() == C.weight_distribution(algorithm="leon")
# optional - gap_packages (Guava package)
File "sage/misc/cachefunc.pyx", line 1949, in
sage.misc.cachefunc.CachedMethodCaller.__call__
(build/cythonized/sage/misc/cachefunc.c:10273)
w = self._instance_call(*args, **kwds)
File "sage/misc/cachefunc.pyx", line 1825, in
sage.misc.cachefunc.CachedMethodCaller._instance_call
(build/cythonized/sage/misc/cachefunc.c:9758)
return self.f(self._instance, *args, **kwds)
File
"/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/coding/linear_code.py",
line 3358, in weight_distribution
for L in StringIO(lines).readlines():
TypeError: initial_value must be str or None, not bytes
**
File "src/sage/coding/linear_code.py", line 3315, in
sage.coding.linear_code.AbstractLinearCode.weight_distribution
Failed example:
C.weight_distribution() == C.weight_distribution(algorithm="leon") #
optional - gap_packages (Guava package)
Exception raised:
Traceback (most recent call last):
File "sage/misc/cachefunc.pyx", line 1944, in
sage.misc.cachefunc.CachedMethodCaller.__call__
(build/cythoni