Your message dated Mon, 26 May 2025 12:34:01 +0000
with message-id <e1ujx1l-008ufg...@fasolo.debian.org>
and subject line Bug#1106440: fixed in python-mechanize 1:0.4.10+ds-4
has caused the Debian Bug report #1106440,
regarding python-mechanize: FTBFS: FAIL: test_missing_name
(test.test_cookies.CookieTests.test_missing_name)
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 ow...@bugs.debian.org
immediately.)
--
1106440: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1106440
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-mechanize
Version: 1:0.4.10+ds-3
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
pybuild --clean -i python{version} -p 3.13
I: pybuild base:311: python3.13 setup.py clean
/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 :: BSD License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build' (and
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
rm -rf .pybuild/
find . -name \*.pyc -exec rm {} \;
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
rm -f debian/debhelper-build-stamp
rm -rf debian/.debhelper/
rm -f -- debian/python3-mechanize.substvars debian/files
rm -fr -- debian/python3-mechanize/ debian/tmp/
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path
.\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o
-type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a \( -name autom4te.cache -o -name __pycache__ \)
-prune -exec rm -rf {} + \) \)
debian/rules binary
dh binary --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
pybuild --configure -i python{version} -p 3.13
I: pybuild base:311: python3.13 setup.py config
/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 :: BSD License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
self._finalize_license_expression()
running config
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
pybuild --build -i python{version} -p 3.13
I: pybuild base:311: /usr/bin/python3 setup.py build
/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 :: BSD License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
self._finalize_license_expression()
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_http.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_urllib2_fork.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_form_controls.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_clientcookie.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_auth.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_util.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_form.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_response.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_version.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_html.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_rfc3986.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_gzip.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_debug.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_headersutil.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_urllib2.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_equiv.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_opener.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/polyglot.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_entities.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_useragent.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_sockettimeout.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_mechanize.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_testcase.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
copying mechanize/_request.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
rm -f debian/python3-mechanize.debhelper.log
debian/rules override_dh_auto_test-indep
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# several points here:
# - pybuild sets proxy server which breaks locally started server, disable it
# - we need to explicitly change to the build dir, otherwise the test
# uses the main files
# Thanks to Dmitry Shachnev for finding all that!
http_proxy= no_proxy= dh_auto_test -- --system custom --test-args "cd
{build_dir}; {interpreter} run_tests.py"
pybuild --test -i python{version} -p 3.13 --system custom --test-args
"cd {build_dir}; {interpreter} run_tests.py"
I: pybuild base:311: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build; python3.13 run_tests.py
................................................F.../<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize/_headersutil.py:237:
DeprecationWarning: 'maxsplit' is passed as positional argument
k, v = re.split(r"\s*=\s*", param, 1)
......................................................................................................................./<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize/_opener.py:85:
ResourceWarning: unclosed <socket.socket fd=6, family=2, type=1, proto=6,
laddr=('127.0.0.1', 34410), raddr=('127.0.0.1', 2121)>
for meth in dir(handler):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize/_opener.py:85:
ResourceWarning: unclosed <socket.socket [closed] fd=8, family=2, type=1,
proto=6>
for meth in dir(handler):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize/_opener.py:85:
ResourceWarning: unclosed <socket.socket [closed] fd=9, family=2, type=1,
proto=6>
for meth in dir(handler):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
........./<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize/_opener.py:123:
ResourceWarning: unclosed <socket.socket [closed] fd=6, family=2, type=1,
proto=6>
lookup.setdefault(kind, set()).add(handler)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize/_opener.py:123:
ResourceWarning: unclosed <socket.socket [closed] fd=7, family=2, type=1,
proto=6>
lookup.setdefault(kind, set()).add(handler)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize/_opener.py:123:
ResourceWarning: unclosed <socket.socket [closed] fd=8, family=2, type=1,
proto=6>
lookup.setdefault(kind, set()).add(handler)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize/_opener.py:123:
ResourceWarning: unclosed <socket.socket [closed] fd=9, family=2, type=1,
proto=6>
lookup.setdefault(kind, set()).add(handler)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
................./<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize/_headersutil.py:237:
DeprecationWarning: 'maxsplit' is passed as positional argument
k, v = re.split(r"\s*=\s*", param, 1)
..................................................................................../<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize/_opener.py:99:
ResourceWarning: unclosed <socket.socket [closed] fd=8, family=2, type=1,
proto=6>
ii = meth.find("_")
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/mechanize/_opener.py:99:
ResourceWarning: unclosed <socket.socket [closed] fd=9, family=2, type=1,
proto=6>
ii = meth.find("_")
ResourceWarning: Enable tracemalloc to get the object allocation traceback
.........................
======================================================================
FAIL: test_missing_name (test.test_cookies.CookieTests.test_missing_name)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build/test/test_cookies.py",
line 335, in test_missing_name
assert lwp_cookie_str(cookie) == (
^^^^^^^^^^^^^^^^^^^^^^^^^^^
r'"spam"; path="/foo/"; domain="www.acme.com"; '
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
'path_spec; discard; version=0')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
----------------------------------------------------------------------
Ran 306 tests in 5.560s
FAILED (failures=1)
E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mechanize/build; python3.13 run_tests.py
rm -fr -- /tmp/dh-xdg-rundir-Ie0U9EWB
dh_auto_test: error: pybuild --test -i python{version} -p 3.13 --system custom
--test-args "cd {build_dir}; {interpreter} run_tests.py" returned exit code 13
make[1]: *** [debian/rules:23: override_dh_auto_test-indep] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202505/
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 could not 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-mechanize, so that this is still
visible in the BTS web page for this package.
Thanks.
--- End Message ---
--- Begin Message ---
Source: python-mechanize
Source-Version: 1:0.4.10+ds-4
Done: Colin Watson <cjwat...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-mechanize, 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 1106...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <cjwat...@debian.org> (supplier of updated python-mechanize
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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 26 May 2025 13:08:17 +0100
Source: python-mechanize
Architecture: source
Version: 1:0.4.10+ds-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Colin Watson <cjwat...@debian.org>
Closes: 1106440
Changes:
python-mechanize (1:0.4.10+ds-4) unstable; urgency=medium
.
* Team upload.
* Fix CookieTests following fix for CPython #130631 (closes: #1106440).
Checksums-Sha1:
002f880d6768b32445d5a136c2ea7c3fc4b38c85 2395 python-mechanize_0.4.10+ds-4.dsc
7e3a9c51545262c69f6a7fe8e28995b3543afe43 9932
python-mechanize_0.4.10+ds-4.debian.tar.xz
Checksums-Sha256:
3d2f8ad1514d7f4e917765b85975b9bea8d7843ee02932ad2f0676027ccb1f7c 2395
python-mechanize_0.4.10+ds-4.dsc
d8c8fe13d3b7ca398ab6305713d925a50d73353cd503b5693396a185f131e97e 9932
python-mechanize_0.4.10+ds-4.debian.tar.xz
Files:
80d11c3a35552dc3646ad2249a991bb7 2395 python optional
python-mechanize_0.4.10+ds-4.dsc
8340d2953acde441e8cdf02bf6f7b19e 9932 python optional
python-mechanize_0.4.10+ds-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmg0WfsACgkQOTWH2X2G
UAtbYA//RP7eLXRogQmRIK+/yjq3mVOb+z1mV1QWbCIXJzgxy5TP7YJ/R8orxmvh
zC3Le6RYbWtT5QRG3+e3Mqnf19KMj8kl9YMdTpPtxK4JLL05sLmSEK5xAWi990mJ
25K32Ak8r4ZYS04swfJk0qaLReNbswjImpesgQYFOiA4WEvTx5UJvbYbPDeVvKMV
/1skebDEPFYiZBhPHGPmIKKj6REAQV+IfdL1KFQA5PEm556kZ2+EpVzFLm+T2Pjs
zxCa598vqRYT1avbgjiVK0YakueFYRO57ES4f2UVGBA7akIpu8g2WkqeXzv0P/Z5
aEpv0jo+wHJl6cotXY4n1ZvFdDQ6ObKTWp8UuXxxkVVHJSrVKi+rgqLCmzV0RYLP
UuJEqRhQJCXn5fhWYQj+vFlTrOsMTL8Y8PRKMicBplCB3tkAg5HpnOKWe/EjzA9F
30syhZ8rIJSRurPIg4rMmbuPEgv5zCopGcVsmmuSh2lJx5OTs29oevDcTXAfP9Zx
ru6sAGhDIKvGKpT5rUYuxuwRTN/g+PY5Ol2VsHSXyAMglrm2TWLqhlS1oj6By2Tn
dhvtWANW5HEEvZhEQ4JKK5banBuPR2PNExq0ggPi5+WdZis3dc5/Yv/govAX92j3
fY6tsAfrIYVOycqk3VkKtmoHl8dPz4zWAdOYN9eHt70mYg2xUas=
=IwOY
-----END PGP SIGNATURE-----
pgpUMVJO1CJDT.pgp
Description: PGP signature
--- End Message ---