Your message dated Mon, 09 Feb 2026 16:21:09 +0000
with message-id <[email protected]>
and subject line Bug#1046396: fixed in python-requests-mock 1.12.1-5
has caused the Debian Bug report #1046396,
regarding python-requests-mock: Fails to build source after successful build
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1046396: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1046396
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-requests-mock
Version: 1.9.3-2
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email protected]
Usertags: qa-doublebuild
Hi,
This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).
This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.
More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild
Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env
> -us -uc -rfakeroot -S
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
> dpkg-buildpackage: info: source package python-requests-mock
> dpkg-buildpackage: info: source version 1.9.3-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Thomas Goirand <[email protected]>
> dpkg-source --before-build .
> dpkg-source: info: using options from
> python-requests-mock-1.9.3/debian/source/options:
> --extend-diff-ignore=^[^/]*[.]egg-info/
> fakeroot debian/rules clean
> make: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> dh clean --buildsystem=python_distutils --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
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_autoreconf_clean -O--buildsystem=python_distutils
> dh_clean -O--buildsystem=python_distutils
> dpkg-source -b .
> dpkg-source: info: using options from
> python-requests-mock-1.9.3/debian/source/options:
> --extend-diff-ignore=^[^/]*[.]egg-info/
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building python-requests-mock using existing
> ./python-requests-mock_1.9.3.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to
> requests_mock/__pycache__/__init__.cpython-311.pyc: binary file contents
> changed
> dpkg-source: error: add requests_mock/__pycache__/__init__.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> requests_mock/__pycache__/adapter.cpython-311.pyc: binary file contents
> changed
> dpkg-source: error: add requests_mock/__pycache__/adapter.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> requests_mock/__pycache__/compat.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add requests_mock/__pycache__/compat.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> requests_mock/__pycache__/exceptions.cpython-311.pyc: binary file contents
> changed
> dpkg-source: error: add requests_mock/__pycache__/exceptions.cpython-311.pyc
> in debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> requests_mock/__pycache__/mocker.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add requests_mock/__pycache__/mocker.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> requests_mock/__pycache__/request.cpython-311.pyc: binary file contents
> changed
> dpkg-source: error: add requests_mock/__pycache__/request.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> requests_mock/__pycache__/response.cpython-311.pyc: binary file contents
> changed
> dpkg-source: error: add requests_mock/__pycache__/response.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> requests_mock/contrib/__pycache__/__init__.cpython-311.pyc: binary file
> contents changed
> dpkg-source: error: add
> requests_mock/contrib/__pycache__/__init__.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> requests_mock/contrib/__pycache__/fixture.cpython-311.pyc: binary file
> contents changed
> dpkg-source: error: add
> requests_mock/contrib/__pycache__/fixture.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> tests/__pycache__/__init__.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add tests/__pycache__/__init__.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> tests/__pycache__/base.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add tests/__pycache__/base.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> tests/__pycache__/test_adapter.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add tests/__pycache__/test_adapter.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> tests/__pycache__/test_custom_matchers.cpython-311.pyc: binary file contents
> changed
> dpkg-source: error: add
> tests/__pycache__/test_custom_matchers.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> tests/__pycache__/test_fixture.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add tests/__pycache__/test_fixture.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> tests/__pycache__/test_matcher.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add tests/__pycache__/test_matcher.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> tests/__pycache__/test_mocker.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add tests/__pycache__/test_mocker.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> tests/__pycache__/test_request.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add tests/__pycache__/test_request.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> tests/__pycache__/test_response.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add tests/__pycache__/test_response.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> tests/pytest/__pycache__/__init__.cpython-311.pyc: binary file contents
> changed
> dpkg-source: error: add tests/pytest/__pycache__/__init__.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: cannot represent change to
> tests/pytest/__pycache__/test_with_pytest.cpython-311.pyc: binary file
> contents changed
> dpkg-source: error: add
> tests/pytest/__pycache__/test_with_pytest.cpython-311.pyc in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
>
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage
> --sanitize-env -us -uc -rfakeroot -S' failed to run.
The full build log is available from:
http://qa-logs.debian.net/2023/08/13/python-requests-mock_1.9.3-2_unstable.log
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.
--- End Message ---
--- Begin Message ---
Source: python-requests-mock
Source-Version: 1.12.1-5
Done: Thomas Goirand <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-requests-mock, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated python-requests-mock
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 09 Feb 2026 16:57:03 +0100
Source: python-requests-mock
Architecture: source
Version: 1.12.1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1046396
Changes:
python-requests-mock (1.12.1-5) unstable; urgency=medium
.
* Cleans better (Closes: #1046396).
Checksums-Sha1:
c4db61e6def43cff70dfcc704af943c59fd485af 2630 python-requests-mock_1.12.1-5.dsc
7ef356cbf0fbe2626a14791f97772ff4cd317770 5388
python-requests-mock_1.12.1-5.debian.tar.xz
7e6c6d1efc717463da7d21f8df58390cb16ad8b1 8967
python-requests-mock_1.12.1-5_amd64.buildinfo
Checksums-Sha256:
41bab0e88c7d39b377aed26a91f96f68922cfd2c9cd6632eaf7e96dbdd0e1c6e 2630
python-requests-mock_1.12.1-5.dsc
e09b9a44b36c8ddd585d85d7237442b3daf3e85a99eca3c4a64fccff6a46ae4e 5388
python-requests-mock_1.12.1-5.debian.tar.xz
9cfda51bcb82fd6722470828d9f7ca26a4da944f04317f8bb9a7cbdd53bbd8ec 8967
python-requests-mock_1.12.1-5_amd64.buildinfo
Files:
533838388328f84c8941cfe540d8cd4e 2630 python optional
python-requests-mock_1.12.1-5.dsc
c07de517e465be52e0767708f6020c6d 5388 python optional
python-requests-mock_1.12.1-5.debian.tar.xz
a58692a13de5899a747ee2e73af50fc0 8967 python optional
python-requests-mock_1.12.1-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmmKBDMACgkQ1BatFaxr
Q/4cxg//SQCw7k0D4OYZusQU+oww0qHtUPRydmsJDQH52JKHdpjjpsYD+h8Nmrpd
4zvqzYccK/cLHnFdMJQ/bVWXP8B+61UQv8YNsxkil0ph0jc2TG1+sHawMkbCnppU
w4mmNkV0/rJFPPhdd2StNdilTxVRYnGsJpPK/dktvzwbytqDaMkWXK9isSRF3bMh
l1P8LmQQfVqKMbyR0y34benrgr14OLECRYotYfXpIBaWrbSWLcFscxokdZuGfgdO
aA8WlJMsGNEc00q8WdPNncZ22EGoS5nqBeO14JYiwK6FLSnS8kzFXHfr9FQNrqML
wrEaM5YpYrE+8Uv+AVq143ZwuKfWN/uT5LMRgk+gV/PnnNId1dewRXaZuY8FrBMn
6yiqR04HjfaoHcqcMHn1WZGZVe0nn7VtwYvclybfhHmazT26PQ/hFBCcWNklb0Ou
i0/MMDPC1jKZHAUwhnWDHO3iNtTx1pChTxA5Fn5zl5pOMF5WpC3QthoN+Zw0Al8F
h8UEyeFaycNaKtsyW1S0RIZiZKMyR0gTtPdmUFhw1aptF/xjVd8iBmJmH5ONctOC
h0uo3mMvH23ZB96Zlw98kkMC2ezTeoT35UgHNznB35M7Arevy65PD1lYTQSKkmy7
3Gs8Lu0OuTI7vGZMVTDCgWvf9l68SW3klkQUB0yBlUNmsqxe/gA=
=doIo
-----END PGP SIGNATURE-----
pgpsAfMnSf9qv.pgp
Description: PGP signature
--- End Message ---