Source: python-requests-mock
Version: 1.11.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240615 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 pyvers in `py3versions -vr 2>/dev/null` ; do \
>       PYTHONPATH=. python$pyvers -m pytest -v tests -k 'not test_simple and 
> not test_one'; \
> done
> + py3versions -vr
> + PYTHONPATH=. python3.12 -m pytest -v tests -k not test_simple and not 
> test_one
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0 -- 
> /usr/bin/python3.12
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>
> collecting ... collected 5 items / 8 errors / 2 deselected / 3 selected
> 
> ==================================== ERRORS 
> ====================================
> ____________________ ERROR collecting tests/test_adapter.py 
> ____________________
> /usr/lib/python3/dist-packages/testtools/testcase.py:241: in __init__
>     test_method = self._get_test_method()
> /usr/lib/python3/dist-packages/testtools/testcase.py:696: in _get_test_method
>     return getattr(self, method_name)
> E   AttributeError: 'SessionAdapterTests' object has no attribute 'runTest'. 
> Did you mean: 'subTest'?
> ________________ ERROR collecting tests/test_custom_matchers.py 
> ________________
> /usr/lib/python3/dist-packages/testtools/testcase.py:241: in __init__
>     test_method = self._get_test_method()
> /usr/lib/python3/dist-packages/testtools/testcase.py:696: in _get_test_method
>     return getattr(self, method_name)
> E   AttributeError: 'CustomMatchersTests' object has no attribute 'runTest'. 
> Did you mean: 'subTest'?
> ____________________ ERROR collecting tests/test_fixture.py 
> ____________________
> /usr/lib/python3/dist-packages/testtools/testcase.py:241: in __init__
>     test_method = self._get_test_method()
> /usr/lib/python3/dist-packages/testtools/testcase.py:696: in _get_test_method
>     return getattr(self, method_name)
> E   AttributeError: 'MockingTests' object has no attribute 'runTest'. Did you 
> mean: 'subTest'?
> ____________________ ERROR collecting tests/test_matcher.py 
> ____________________
> /usr/lib/python3/dist-packages/testtools/testcase.py:241: in __init__
>     test_method = self._get_test_method()
> /usr/lib/python3/dist-packages/testtools/testcase.py:696: in _get_test_method
>     return getattr(self, method_name)
> E   AttributeError: 'TestMatcher' object has no attribute 'runTest'. Did you 
> mean: 'subTest'?
> ____________________ ERROR collecting tests/test_mocker.py 
> _____________________
> /usr/lib/python3/dist-packages/testtools/testcase.py:241: in __init__
>     test_method = self._get_test_method()
> /usr/lib/python3/dist-packages/testtools/testcase.py:696: in _get_test_method
>     return getattr(self, method_name)
> E   AttributeError: 'MockerTests' object has no attribute 'runTest'. Did you 
> mean: 'subTest'?
> ____________________ ERROR collecting tests/test_mocker.py 
> _____________________
> /usr/lib/python3/dist-packages/testtools/testcase.py:241: in __init__
>     test_method = self._get_test_method()
> /usr/lib/python3/dist-packages/testtools/testcase.py:696: in _get_test_method
>     return getattr(self, method_name)
> E   AttributeError: 'MockerHttpMethodsTests' object has no attribute 
> 'runTest'. Did you mean: 'subTest'?
> ____________________ ERROR collecting tests/test_request.py 
> ____________________
> /usr/lib/python3/dist-packages/testtools/testcase.py:241: in __init__
>     test_method = self._get_test_method()
> /usr/lib/python3/dist-packages/testtools/testcase.py:696: in _get_test_method
>     return getattr(self, method_name)
> E   AttributeError: 'RequestTests' object has no attribute 'runTest'. Did you 
> mean: 'subTest'?
> ___________________ ERROR collecting tests/test_response.py 
> ____________________
> /usr/lib/python3/dist-packages/testtools/testcase.py:241: in __init__
>     test_method = self._get_test_method()
> /usr/lib/python3/dist-packages/testtools/testcase.py:696: in _get_test_method
>     return getattr(self, method_name)
> E   AttributeError: 'ResponseTests' object has no attribute 'runTest'. Did 
> you mean: 'subTest'?
> =========================== short test summary info 
> ============================
> ERROR tests/test_adapter.py::SessionAdapterTests - AttributeError: 
> 'SessionAd...
> ERROR tests/test_custom_matchers.py::CustomMatchersTests - AttributeError: 
> 'C...
> ERROR tests/test_fixture.py::MockingTests - AttributeError: 'MockingTests' 
> ob...
> ERROR tests/test_matcher.py::TestMatcher - AttributeError: 'TestMatcher' 
> obje...
> ERROR tests/test_mocker.py::MockerTests - AttributeError: 'MockerTests' 
> objec...
> ERROR tests/test_mocker.py::MockerHttpMethodsTests - AttributeError: 
> 'MockerH...
> ERROR tests/test_request.py::RequestTests - AttributeError: 'RequestTests' 
> ob...
> ERROR tests/test_response.py::ResponseTests - AttributeError: 
> 'ResponseTests'...
> !!!!!!!!!!!!!!!!!!! Interrupted: 8 errors during collection 
> !!!!!!!!!!!!!!!!!!!!
> ======================= 2 deselected, 8 errors in 0.44s 
> ========================
> make[1]: *** [debian/rules:22: override_dh_auto_test] Error 2


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/python-requests-mock_1.11.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&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