Bug#963036: sympy breaks octave-symbolic autopkgtest: AttributeError: module 'sympy.core.compatibility' has no attribute 'integer_types'

Paul Gevers elbrus at debian.org
Thu Jun 18 08:04:35 BST 2020


Source: sympy, octave-symbolic
Control: found -1 sympy/1.6-2
Control: found -1 octave-symbolic/2.9.0-1
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.6-2
octave-symbolic        from testing    2.9.0-1
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/5920892/log.gz

[inst/cell2sym.m]
>>>>> /tmp/autopkgtest-lxc.ddq2dq4d/downtmp/build.lVh/src/inst/cell2sym.m
***** test
 A = {1 2 3; 4 5 6};
 B = [1 2 3; 4 5 6];
 assert (isequal (cell2sym(A), sym(B)))
Symbolic pkg v2.9.0:
/usr/lib/python3/dist-packages/sympy/__init__.py:672:
SymPyDeprecationWarning:

importing sympy.core.compatibility with 'from sympy import *' has been
deprecated since SymPy 1.6. Use import sympy.core.compatibility
instead. See https://github.com/sympy/sympy/issues/18245 for more
info.

  self.Warn(
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 12, in octoutput_drv
  File "<stdin>", line 54, in octoutput
  File "<stdin>", line 55, in octoutput
  File "/usr/lib/python3/dist-packages/sympy/__init__.py", line 677, in
__getattr__
    return getattr(self.mod, name)
AttributeError: module 'sympy.core.compatibility' has no attribute
'integer_types'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20200618/3f920644/attachment-0001.sig>


More information about the debian-science-maintainers mailing list