Package: src:python-requests-mock Version: 1.12.1-3 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-requests-mock, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean make: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions dh clean --buildsystem=pybuild --with python3,sphinxdoc debian/rules override_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' make[1]: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions rm -rf build .stestr *.egg-info .pytest_cache find . -iname '*.pyc' -delete for i in $(find . -type d -iname __pycache__) ; do rm -rf $i ; done make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary make: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions dh binary --buildsystem=pybuild --with python3,sphinxdoc dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:139: Building wheel for python3.14 with "build" module I: pybuild base:384: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_requests-mock * Building wheel... /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() running build running build_py creating build/lib/requests_mock copying requests_mock/mocker.py -> build/lib/requests_mock copying requests_mock/response.py -> build/lib/requests_mock copying requests_mock/adapter.py -> build/lib/requests_mock copying requests_mock/exceptions.py -> build/lib/requests_mock copying requests_mock/request.py -> build/lib/requests_mock copying requests_mock/__init__.py -> build/lib/requests_mock creating build/lib/requests_mock/contrib copying requests_mock/contrib/fixture.py -> build/lib/requests_mock/contrib copying requests_mock/contrib/_pytest_plugin.py -> build/lib/requests_mock/contrib copying requests_mock/contrib/__init__.py -> build/lib/requests_mock/contrib running egg_info creating requests_mock.egg-info writing requests_mock.egg-info/PKG-INFO writing dependency_links to requests_mock.egg-info/dependency_links.txt writing entry points to requests_mock.egg-info/entry_points.txt writing requirements to requests_mock.egg-info/requires.txt writing top-level names to requests_mock.egg-info/top_level.txt writing manifest file 'requests_mock.egg-info/SOURCES.txt' reading manifest file 'requests_mock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'AUTHORS' warning: no files found matching 'ChangeLog' adding license file 'LICENSE' writing manifest file 'requests_mock.egg-info/SOURCES.txt' copying requests_mock/__init__.pyi -> build/lib/requests_mock copying requests_mock/adapter.pyi -> build/lib/requests_mock copying requests_mock/exceptions.pyi -> build/lib/requests_mock copying requests_mock/mocker.pyi -> build/lib/requests_mock copying requests_mock/py.typed -> build/lib/requests_mock copying requests_mock/request.pyi -> build/lib/requests_mock copying requests_mock/response.pyi -> build/lib/requests_mock copying requests_mock/contrib/_pytest_plugin.pyi -> build/lib/requests_mock/contrib installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/requests_mock copying build/lib/requests_mock/__init__.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/mocker.py -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/py.typed -> build/bdist.linux-x86_64/wheel/./requests_mock creating build/bdist.linux-x86_64/wheel/requests_mock/contrib copying build/lib/requests_mock/contrib/fixture.py -> build/bdist.linux-x86_64/wheel/./requests_mock/contrib copying build/lib/requests_mock/contrib/_pytest_plugin.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock/contrib copying build/lib/requests_mock/contrib/_pytest_plugin.py -> build/bdist.linux-x86_64/wheel/./requests_mock/contrib copying build/lib/requests_mock/contrib/__init__.py -> build/bdist.linux-x86_64/wheel/./requests_mock/contrib copying build/lib/requests_mock/response.py -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/mocker.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/exceptions.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/request.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/adapter.py -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/response.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/exceptions.py -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/request.py -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/adapter.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/__init__.py -> build/bdist.linux-x86_64/wheel/./requests_mock running install_egg_info Copying requests_mock.egg-info to build/bdist.linux-x86_64/wheel/./requests_mock-1.12.1.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/requests_mock-1.12.1.dist-info/WHEEL creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_requests-mock/.tmp-e_9sk5uv/requests_mock-1.12.1-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'requests_mock/__init__.py' adding 'requests_mock/__init__.pyi' adding 'requests_mock/adapter.py' adding 'requests_mock/adapter.pyi' adding 'requests_mock/exceptions.py' adding 'requests_mock/exceptions.pyi' adding 'requests_mock/mocker.py' adding 'requests_mock/mocker.pyi' adding 'requests_mock/py.typed' adding 'requests_mock/request.py' adding 'requests_mock/request.pyi' adding 'requests_mock/response.py' adding 'requests_mock/response.pyi' adding 'requests_mock/contrib/__init__.py' adding 'requests_mock/contrib/_pytest_plugin.py' adding 'requests_mock/contrib/_pytest_plugin.pyi' adding 'requests_mock/contrib/fixture.py' adding 'requests_mock-1.12.1.dist-info/licenses/LICENSE' adding 'requests_mock-1.12.1.dist-info/METADATA' adding 'requests_mock-1.12.1.dist-info/WHEEL' adding 'requests_mock-1.12.1.dist-info/entry_points.txt' adding 'requests_mock-1.12.1.dist-info/top_level.txt' adding 'requests_mock-1.12.1.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built requests_mock-1.12.1-py2.py3-none-any.whl I: pybuild plugin_pyproject:165: Unpacking wheel built for python3.14 with "installer" module I: pybuild plugin_pyproject:139: Building wheel for python3.13 with "build" module I: pybuild base:384: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_requests-mock * Building wheel... /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() running build running build_py running egg_info writing requests_mock.egg-info/PKG-INFO writing dependency_links to requests_mock.egg-info/dependency_links.txt writing entry points to requests_mock.egg-info/entry_points.txt writing requirements to requests_mock.egg-info/requires.txt writing top-level names to requests_mock.egg-info/top_level.txt reading manifest file 'requests_mock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'AUTHORS' warning: no files found matching 'ChangeLog' adding license file 'LICENSE' writing manifest file 'requests_mock.egg-info/SOURCES.txt' installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/requests_mock copying build/lib/requests_mock/__init__.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/mocker.py -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/py.typed -> build/bdist.linux-x86_64/wheel/./requests_mock creating build/bdist.linux-x86_64/wheel/requests_mock/contrib copying build/lib/requests_mock/contrib/fixture.py -> build/bdist.linux-x86_64/wheel/./requests_mock/contrib copying build/lib/requests_mock/contrib/_pytest_plugin.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock/contrib copying build/lib/requests_mock/contrib/_pytest_plugin.py -> build/bdist.linux-x86_64/wheel/./requests_mock/contrib copying build/lib/requests_mock/contrib/__init__.py -> build/bdist.linux-x86_64/wheel/./requests_mock/contrib copying build/lib/requests_mock/response.py -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/mocker.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/exceptions.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/request.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/adapter.py -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/response.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/exceptions.py -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/request.py -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/adapter.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/__init__.py -> build/bdist.linux-x86_64/wheel/./requests_mock running install_egg_info Copying requests_mock.egg-info to build/bdist.linux-x86_64/wheel/./requests_mock-1.12.1.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/requests_mock-1.12.1.dist-info/WHEEL creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_requests-mock/.tmp-j5dqgak4/requests_mock-1.12.1-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'requests_mock/__init__.py' adding 'requests_mock/__init__.pyi' adding 'requests_mock/adapter.py' adding 'requests_mock/adapter.pyi' adding 'requests_mock/exceptions.py' adding 'requests_mock/exceptions.pyi' adding 'requests_mock/mocker.py' adding 'requests_mock/mocker.pyi' adding 'requests_mock/py.typed' adding 'requests_mock/request.py' adding 'requests_mock/request.pyi' adding 'requests_mock/response.py' adding 'requests_mock/response.pyi' adding 'requests_mock/contrib/__init__.py' adding 'requests_mock/contrib/_pytest_plugin.py' adding 'requests_mock/contrib/_pytest_plugin.pyi' adding 'requests_mock/contrib/fixture.py' adding 'requests_mock-1.12.1.dist-info/licenses/LICENSE' adding 'requests_mock-1.12.1.dist-info/METADATA' adding 'requests_mock-1.12.1.dist-info/WHEEL' adding 'requests_mock-1.12.1.dist-info/entry_points.txt' adding 'requests_mock-1.12.1.dist-info/top_level.txt' adding 'requests_mock-1.12.1.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built requests_mock-1.12.1-py2.py3-none-any.whl I: pybuild plugin_pyproject:165: Unpacking wheel built for python3.13 with "installer" module dh_auto_test -O--buildsystem=pybuild I: pybuild base:384: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_requests-mock/build; python3.14 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_requests-mock/build configfile: pyproject.toml plugins: requests_mock-1.12.1, typeguard-4.4.4 collected 145 items tests/pytest/test_with_pytest.py ..... [ 3%] tests/test_adapter.py .................................................. [ 37%] .... [ 40%] tests/test_custom_matchers.py ... [ 42%] tests/test_fixture.py ... [ 44%] tests/test_matcher.py ............... [ 55%] tests/test_mocker.py .............F...................... [ 80%] tests/test_request.py .............. [ 89%] tests/test_response.py ............... [100%] =================================== FAILURES =================================== ____________ MockerTests.test_with_decorator_called_multiple_times _____________ 'NoneType' object is not iterable During handling of the above exception, another exception occurred: NOTE: Incompatible Exception Representation, displaying natively: testtools.testresult.real._StringException: Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_requests-mock/build/tests/test_mocker.py", line 227, in test_with_decorator_called_multiple_times inner('a') ~~~~~^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_requests-mock/build/requests_mock/mocker.py", line 317, in inner return func(*args, **kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_requests-mock/build/tests/test_mocker.py", line 222, in inner self.assertEquals( ^^^^^^^^^^^^^^^^^ AttributeError: 'MockerTests' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? =========================== short test summary info ============================ FAILED tests/test_mocker.py::MockerTests::test_with_decorator_called_multiple_times ======================== 1 failed, 144 passed in 0.18s ========================= E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_requests-mock/build; python3.14 -m pytest tests I: pybuild base:384: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_requests-mock/build; python3.13 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_requests-mock/build configfile: pyproject.toml plugins: requests_mock-1.12.1, typeguard-4.4.4 collected 145 items tests/pytest/test_with_pytest.py ..... [ 3%] tests/test_adapter.py .................................................. [ 37%] .... [ 40%] tests/test_custom_matchers.py ... [ 42%] tests/test_fixture.py ... [ 44%] tests/test_matcher.py ............... [ 55%] tests/test_mocker.py .............F...................... [ 80%] tests/test_request.py .............. [ 89%] tests/test_response.py ............... [100%] =================================== FAILURES =================================== ____________ MockerTests.test_with_decorator_called_multiple_times _____________ 'NoneType' object is not iterable During handling of the above exception, another exception occurred: NOTE: Incompatible Exception Representation, displaying natively: testtools.testresult.real._StringException: Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_requests-mock/build/tests/test_mocker.py", line 227, in test_with_decorator_called_multiple_times inner('a') ~~~~~^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_requests-mock/build/requests_mock/mocker.py", line 317, in inner return func(*args, **kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_requests-mock/build/tests/test_mocker.py", line 222, in inner self.assertEquals( ^^^^^^^^^^^^^^^^^ AttributeError: 'MockerTests' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? =========================== short test summary info ============================ FAILED tests/test_mocker.py::MockerTests::test_with_decorator_called_multiple_times ======================== 1 failed, 144 passed in 0.17s ========================= E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_requests-mock/build; python3.13 -m pytest tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:10: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

