Source: python-wsgi-intercept
Version: 1.9.3-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230726 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[1]: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> set -e ; set -x ; for i in 3.11 ; do \
>       PYMAJOR=`echo $i | cut -d'.' -f1` ; \
>       echo "===> Testing with python$i (python$PYMAJOR)" ; \
>       WSGI_INTERCEPT_SKIP_NETWORK=true PYTHON=$i PYTHONPATH=. python$i -m 
> pytest wsgi_intercept/tests ; \
> done
> + echo 3.11
> + cut -d. -f1
> + PYMAJOR=3
> + echo ===> Testing with python3.11 (python3)
> ===> Testing with python3.11 (python3)
> + WSGI_INTERCEPT_SKIP_NETWORK=true PYTHON=3.11 PYTHONPATH=. python3.11 -m 
> pytest wsgi_intercept/tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0
> rootdir: /<<PKGBUILDDIR>>
> collected 2 items / 8 errors
> 
> ==================================== ERRORS 
> ====================================
> __________ ERROR collecting wsgi_intercept/tests/test_http_client.py 
> ___________
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/wsgi_intercept/tests/test_http_client.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> wsgi_intercept/tests/test_http_client.py:1: in <module>
>     import py.test
> E   ModuleNotFoundError: No module named 'py.test'; 'py' is not a package
> ____________ ERROR collecting wsgi_intercept/tests/test_httplib2.py 
> ____________
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/wsgi_intercept/tests/test_httplib2.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> wsgi_intercept/tests/test_httplib2.py:1: in <module>
>     import py.test
> E   ModuleNotFoundError: No module named 'py.test'; 'py' is not a package
> __________ ERROR collecting wsgi_intercept/tests/test_interceptor.py 
> ___________
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/wsgi_intercept/tests/test_interceptor.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> wsgi_intercept/tests/test_interceptor.py:10: in <module>
>     import py.test
> E   ModuleNotFoundError: No module named 'py.test'; 'py' is not a package
> ____________ ERROR collecting wsgi_intercept/tests/test_requests.py 
> ____________
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/wsgi_intercept/tests/test_requests.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> wsgi_intercept/tests/test_requests.py:2: in <module>
>     import py.test
> E   ModuleNotFoundError: No module named 'py.test'; 'py' is not a package
> ________ ERROR collecting wsgi_intercept/tests/test_response_headers.py 
> ________
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/wsgi_intercept/tests/test_response_headers.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> wsgi_intercept/tests/test_response_headers.py:11: in <module>
>     import py.test
> E   ModuleNotFoundError: No module named 'py.test'; 'py' is not a package
> _____________ ERROR collecting wsgi_intercept/tests/test_urllib.py 
> _____________
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/wsgi_intercept/tests/test_urllib.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> wsgi_intercept/tests/test_urllib.py:2: in <module>
>     import py.test
> E   ModuleNotFoundError: No module named 'py.test'; 'py' is not a package
> ____________ ERROR collecting wsgi_intercept/tests/test_urllib3.py 
> _____________
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/wsgi_intercept/tests/test_urllib3.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> wsgi_intercept/tests/test_urllib3.py:2: in <module>
>     import py.test
> E   ModuleNotFoundError: No module named 'py.test'; 'py' is not a package
> ________ ERROR collecting wsgi_intercept/tests/test_wsgi_compliance.py 
> _________
> ImportError while importing test module 
> '/<<PKGBUILDDIR>>/wsgi_intercept/tests/test_wsgi_compliance.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> wsgi_intercept/tests/test_wsgi_compliance.py:2: in <module>
>     import py.test
> E   ModuleNotFoundError: No module named 'py.test'; 'py' is not a package
> =========================== short test summary info 
> ============================
> ERROR wsgi_intercept/tests/test_http_client.py
> ERROR wsgi_intercept/tests/test_httplib2.py
> ERROR wsgi_intercept/tests/test_interceptor.py
> ERROR wsgi_intercept/tests/test_requests.py
> ERROR wsgi_intercept/tests/test_response_headers.py
> ERROR wsgi_intercept/tests/test_urllib.py
> ERROR wsgi_intercept/tests/test_urllib3.py
> ERROR wsgi_intercept/tests/test_wsgi_compliance.py
> !!!!!!!!!!!!!!!!!!! Interrupted: 8 errors during collection 
> !!!!!!!!!!!!!!!!!!!!
> ============================== 8 errors in 0.36s 
> ===============================
> make[1]: *** [debian/rules:22: override_dh_auto_test] Error 2


The full build log is available from:
http://qa-logs.debian.net/2023/07/26/python-wsgi-intercept_1.9.3-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to