#982561 sympy breaks octave-symbolic autopkgtest: _PrintFunction' object has no attribute '__globals__' #982561
- Package:
- src:octave-symbolic
- Source:
- octave-symbolic
- Submitter:
- Paul Gevers
- Date:
- 2022-06-10 06:12:17 UTC
- Severity:
- serious
- Tags:
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)
We believe that the bug you reported is fixed in the latest version of sympy, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 980707@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Georges Khaznadar <georgesk@debian.org> (supplier of updated sympy package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Thu, 11 Feb 2021 16:46:10 +0100 Source: sympy Architecture: source Version: 1.7.1-2 Distribution: unstable Urgency: medium Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org> Changed-By: Georges Khaznadar <georgesk@debian.org> Closes: 980707 Changes: sympy (1.7.1-2) unstable; urgency=medium . * patched file sympy/printing/printer.py; Closes: #980707 Checksums-Sha1: f7281b9d120c0e97b9443ee06d51393d7e0459b7 2315 sympy_1.7.1-2.dsc c240b66f323bf5d5c9d39efb656886e8a0fef66c 23596 sympy_1.7.1-2.debian.tar.xz 33a6c1464499063ed710278f41904624eb64da24 14998 sympy_1.7.1-2_source.buildinfo Checksums-Sha256: 4bcbfe8dfbff8cfe0c992d58322a1326cc20d0d404e7a090a57132e0d814580c 2315 sympy_1.7.1-2.dsc 14c2c95ed9d495a6b53b8391da10d6a30abb7d7bb0275346e8a396c1259faa12 23596 sympy_1.7.1-2.debian.tar.xz 5ba0a8e70144612437d1165d95ec122c2fac4ae1d76ea95d2bcc6adb221bb741 14998 sympy_1.7.1-2_source.buildinfo Files: 32f8ba38213c6169d5a457de2ba1b457 2315 python optional sympy_1.7.1-2.dsc 3dba09a407c579a4c804725d48117d95 23596 python optional sympy_1.7.1-2.debian.tar.xz 6ab5dd3ad35d05752c128f6f308a9d1e 14998 python optional sympy_1.7.1-2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJIBAEBCAAyFiEEM0CzZP9nFT+3zK6FHCgWkHE2rjkFAmAlb8YUHGdlb3JnZXNr QGRlYmlhbi5vcmcACgkQHCgWkHE2rjnpPA//e4WmdW5Tms47lrMfq9AI4tlkaiU4 nE0DDILwE6v2EVBnXNfO6vyIglfF17dp314Tb4u9r3O0EWm20CWADVW9ij4VfDUg VtkkNa44kunRdOnmbywRtpQUKwHqPb6DbbK3/2G4Rb1RKWG6PiLGGcU0flqe3GFo RGlb6XK92qRHqe8+SmQw060m+U6D+yYI62lc8R2FlQ5+3cb34txq0GZYQJY5GtMa +/R9LBVxuBkpNRVXSTbkzoWoC2QA9ucjTNfmmYxC9x0vK8AmBhnmF20UJvqkoZ19 tLsBmtKjOHGorP9vgTPQP7nxEtD28OIGIwhqnzn4q6qZu2wUpwQZMNFq9jQwP9xU BlZYRX7tD6VjcQtksO2VS9aDfhv3YqFoWNaPg5OWGu9nXaA/FYoysV0CJuDJG2xp D3b41a1++frzSdvkut2fN3aEpaV8TR24Trd0O2XbhPth7ObIlHjuQuYl2V5lq0UI /yjsWp253Px8k6fiyJxqcrjWXnIq3qZuOJbrnnvukwX550hrCHbMl92ImweHssnF 8FEnbuZfS+EGNaP15xAy1wCDbiOPdl58YSm+yGHb+DN9su6xYTmzlh3TmpeP6DDa 4jbc7pqRTreLjh8l1mZFgUIkDT3c1jw3Nqsl4HvAU6noTq1hUqRJmkXSi0KfMm/K TJAleJ3fzLC9CSU= =bXU/ -----END PGP SIGNATURE-----
Version: 2.9.1~git.2022.06.09-1
Here’s the changelog entry:
octave-symbolic (2.9.1~git.2022.06.09-1) unstable; urgency=medium
.
* New upstream version 2.9.1~git.2022.06.09
The upstream tarball was obtained directly from the upstream Git
repository at GitHub. This fixes the FTBFS problem when building
the package against SymPy 1.10 and Octave 7 (Closes: ##980707).
* d/copyright:
+ Reflect upstream changes
+ Accentuate my family name
* d/p/sympy-1.6.patch: Drop patch (applied upstream)
* d/rules: Drop obsolete execute_after_dh_auto_install target
* d/control:
+ Bump Standards-Version to 4.6.1 (no changes needed)
+ Set upstream metadata fields: Archive.
* Build-depend on dh-sequence-octave
+ d/control: Ditto
+ d/rules: Drop the --with=octave option from dh call