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

Bug#1025021: python-bayespy: (autopkgtest) needs update for python3.11: module 'inspect' has no attribute 'getargspec'



> 
> ======================================================================
> ERROR: test suite for <module 'bayespy.tests' from 
> '/usr/lib/python3/dist-packages/bayespy/tests/__init__.py'>
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>    File "/usr/lib/python3/dist-packages/nose/suite.py", line 209, in run
>      self.setUp()
>    File "/usr/lib/python3/dist-packages/nose/suite.py", line 292, in setUp
>      self.setupContext(ancestor)
>    File "/usr/lib/python3/dist-packages/nose/suite.py", line 315, in 
> setupContext
>      try_run(context, names)
>    File "/usr/lib/python3/dist-packages/nose/util.py", line 453, in try_run
>      inspect.getargspec(func)
>      ^^^^^^^^^^^^^^^^^^
> AttributeError: module 'inspect' has no attribute 'getargspec'
> 
> ----------------------------------------------------------------------
> Ran 127 tests in 26.429s
> 
> FAILED (errors=1)


This looks to be an error with nose, not python-bayespy. See bug #1024235 [1]


Håvard

[1] https://bugs.debian.org/1024235


Reply to: