Bug#1033584: brial: autopkgtest fails: cannot import name 'getargspec' from 'inspect'

Paul Gevers elbrus at debian.org
Mon Mar 27 20:26:11 BST 2023


Source: brial
Version: 1.2.11-1
Severity: serious
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainer(s),

Your package has an autopkgtest, great. However, it fails. Can you 
please investigate the situation and fix it? I copied some of the output 
at the bottom of this report.

The release team has announced [1] that failing autopkgtest on amd64 and 
arm64 are considered RC in testing. In this case it seems to point out 
that the python package is close to useless. (If I am reading the signs 
wrong, feel free to mark this bug as bookworm-ignore (Release Team 
member hat on).)

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

Paul

[1] https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html

https://ci.debian.net/data/autopkgtest/testing/amd64/b/brial/32215813/log.gz

autopkgtest [18:27:16]: test autodep8-python3: [-----------------------
Testing with python3.11:
/usr/lib/python3/dist-packages/brial/PyPolyBoRi.py:72: DeprecationWarning:
Importing order_dict from here is deprecated. If you need to use it, 
please import it directly from sage.rings.polynomial.pbori.pbori
See https://trac.sagemath.org/30332 for details.
   OrderCode = type('OrderCode', (object,), dict(order_dict))
/usr/lib/python3/dist-packages/brial/PyPolyBoRi.py:91: DeprecationWarning:
Importing MonomialFactory from here is deprecated. If you need to use 
it, please import it directly from sage.rings.polynomial.pbori.pbori
See https://trac.sagemath.org/30332 for details.
   Monomial = MonomialFactory()
/usr/lib/python3/dist-packages/brial/PyPolyBoRi.py:92: DeprecationWarning:
Importing PolynomialFactory from here is deprecated. If you need to use 
it, please import it directly from sage.rings.polynomial.pbori.pbori
See https://trac.sagemath.org/30332 for details.
   Polynomial = PolynomialFactory()
Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "/usr/lib/python3/dist-packages/brial/__init__.py", line 34, in 
<module>
     from .gbcore import groebner_basis
   File "/usr/lib/python3/dist-packages/brial/gbcore.py", line 10, in 
<module>
     from inspect import getargspec
ImportError: cannot import name 'getargspec' from 'inspect' 
(/usr/lib/python3.11/inspect.py)
autopkgtest [18:27:17]: test autodep8-python3: -----------------------]
-------------- 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/20230327/ec420eb0/attachment.sig>


More information about the debian-science-maintainers mailing list