[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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

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@lists.debian.org
User: debian-ci@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


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


>>>>> /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:

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

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
    return getattr(self.mod, name)
AttributeError: module 'sympy.core.compatibility' has no attribute

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: