Source: graph-tool
Version: 2.45+ds-9
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=graph-tool&arch=amd64&ver=2.45%2Bds-9%2Bb1&stamp=1672782255&raw=0

...
TEST STARTED Tue Jan 3 21:43:53 UTC 2023
rm -f _BUILD/test.png
PYTHONPATH=/<<PKGBUILDDIR>>/debian/tmp//usr/lib/python3.11/dist-packages \
        python3 -c "\
from graph_tool.all import *; \
show_config(); \
g = random_graph(10, lambda: 5, directed=False); \
graph_draw(g, output='_BUILD/test.png'); \
"
Matplotlib created a temporary config/cache directory at 
/tmp/matplotlib-vsfk88vs because the default path 
(/sbuild-nonexistent/.config/matplotlib) is not a writable directory; it is 
highly recommended to set the MPLCONFIGDIR environment variable to a writable 
directory, in particular to speed up the import of Matplotlib and to better 
support multiprocessing.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File 
"/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3.11/dist-packages/graph_tool/generation/__init__.py",
 line 370, in random_graph
    if len(inspect.getargspec(deg_sampler)[0]) > 0:
           ^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 
'getargs'?
version: 2.45
gcc version: 12.2.0
compilation flags: -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -O3 
-fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra 
-ftemplate-backtrace-limit=0 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro 
-Wl,-z,now
install prefix: /usr
python dir: /usr/lib/python3.11/dist-packages
graph filtering: True
openmp: True
uname: Linux x86-csail-01 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) 
x86_64
make[1]: *** [debian/rules:43: override_dh_auto_install] Error 1



https://docs.python.org/3/whatsnew/3.11.html

...
Removed from the inspect module:

    The getargspec() function, deprecated since Python 3.0; use 
inspect.signature() or inspect.getfullargspec() instead.
https://docs.python.org/3/whatsnew/3.11.html

...

Reply via email to