[Debian-science-sagemath] Next sagemath 8.4 upload (matplotlib 3.0.2 now in unstable)

Tobias Hansen thansen at debian.org
Fri Dec 21 10:49:56 GMT 2018


Hi,

since gap in unstable has the patches required by sagemath since yesterday, I was working on the next sagemath upload. After updating the gap-4.10 patch (in dd756fc1) I got some errors that should be fixed by installing additional gap packages. The change in the patch reflects that now more gap packages should be installed, as discussed in https://trac.sagemath.org/ticket/22626. We could also go back to the older version of the patch, which just had this one error in the indep doctests (where we don't allow errors) to be dealt with:

sage -t --long --warn-long 70.2 src/doc/en/constructions/groups.rst
**********************************************************************
File "src/doc/en/constructions/groups.rst", line 187, in doc.en.constructions.groups
Failed example:
    print(gap.eval("normal := NormalSubgroups( G );"))
Expected:
    [ Sym( [ 1 .. 4 ] ), Alt( [ 1 .. 4 ] ), Group([ (1,4)(2,3), (1,3)(2,4) ]),
      Group(()) ]
Got:
    [ Sym( [ 1 .. 4 ] ), Alt( [ 1 .. 4 ] ), Group([ (1,4)(2,3), (1,2)(3,4) ]), 
      Group(()) ]

Today I found that there's yet another problem now: matplotlib 3.0.2 was uploaded to unstable today, leading to many errors of this kind during the docbuild:

[dochtml] [structure] /usr/lib/python2.7/dist-packages/matplotlib/__init__.py:1005: UserWarning: could not find rc file; returning defaults
[dochtml] [structure]   warnings.warn(message)
[dochtml] [structure] Exception occurred:
[dochtml] [structure]   File "/usr/lib/python2.7/posixpath.py", line 70, in join
[dochtml] [structure]     elif path == '' or path.endswith('/'):
[dochtml] [structure] AttributeError: 'NoneType' object has no attribute 'endswith'
[dochtml] [structure] The full traceback has been saved in /tmp/sphinx-err-gMJudZ.log, if you want to report the issue to the developers.
[dochtml] [structure] Please also report this if it was a user error, so that a better error message can be provided next time.
[dochtml] [structure] A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
[dochtml] Traceback (most recent call last):
[dochtml]   File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
[dochtml]     "__main__", fname, loader, pkg_name)
[dochtml]   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
[dochtml]     exec code in run_globals
[dochtml]   File "/<<PKGBUILDDIR>>/debian/build/usr/lib/python2.7/dist-packages/sage_setup/docbuild/sphinxbuild.py", line 330, in <module>
[dochtml]     runsphinx()
[dochtml]   File "/<<PKGBUILDDIR>>/debian/build/usr/lib/python2.7/dist-packages/sage_setup/docbuild/sphinxbuild.py", line 319, in runsphinx
[dochtml]     sys.stderr.raise_errors()
[dochtml]   File "/<<PKGBUILDDIR>>/debian/build/usr/lib/python2.7/dist-packages/sage_setup/docbuild/sphinxbuild.py", line 254, in raise_errors
[dochtml]     raise OSError(self._error)
[dochtml] OSError: Exception occurred:

If someone else could help looking at this it would be appreciated, since I don't have much time these days.

Best,
Tobias



More information about the Debian-science-sagemath mailing list