Bug#982561: sympy breaks octave-symbolic autopkgtest: _PrintFunction' object has no attribute '__globals__'

Paul Gevers elbrus at debian.org
Thu Feb 11 20:57:23 GMT 2021


Source: sympy, octave-symbolic
Control: found -1 sympy/1.7.1-1
Control: found -1 octave-symbolic/2.9.0-3
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of sympy the autopkgtest of octave-symbolic fails
in testing when that autopkgtest is run with the binary packages of
sympy from unstable. It passes when run with only packages from testing.
In tabular form:

                       pass            fail
sympy                  from testing    1.7.1-1
octave-symbolic        from testing    2.9.0-3
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of sympy to testing
[1]. Due to the nature of this issue, I filed this bug report against
both packages. Can you please investigate the situation and reassign the
bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=sympy

https://ci.debian.net/data/autopkgtest/testing/amd64/o/octave-symbolic/10386993/log.gz

***** test
 % matrix of symbols
 syms a b c d
 A = [a b; c d];
 assume A real
 assert (strcmp (assumptions (a), 'a: real'))
 assert (strcmp (assumptions (b), 'b: real'))
 assert (strcmp (assumptions (c), 'c: real'))
 assert (strcmp (assumptions (d), 'd: real'))
Symbolic pkg v2.9.0: Traceback (most recent call last):
  File "<stdin>", line 28, in <module>
AttributeError: '_PrintFunction' object has no attribute '__globals__'
Closing the Python communications link.

!!!!! test failed
Python exception: AttributeError: '_PrintFunction' object has no
attribute '__globals__'
    occurred in python_header import block.
    Try "sympref reset" and repeat your command?
    (consider filing an issue at https://github.com/cbm755/octsympy/issues)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20210211/42d2ba22/attachment-0001.sig>


More information about the debian-science-maintainers mailing list