Your message dated Wed, 13 Nov 2024 22:11:25 +0000
with message-id <e1tbla9-00cymm...@fasolo.debian.org>
and subject line Bug#1084646: fixed in python-test-server 0.0.43-1
has caused the Debian Bug report #1084646,
regarding python-test-server FTBFS with Python 3.13
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.)


-- 
1084646: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1084646
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-test-server
Version: 0.0.40-1
Severity: normal
Tags: fixed-upstream
User: debian-pyt...@lists.debian.org
Usertags: python3.13
Forwarded: 
https://github.com/lorien/test_server/commit/4c57f9ffc93197a1297e0066ffdff2ad041da432

This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html
The cgi module was removed in 3.13, upstream seems to have fixed this in
>= 0.41.

Log snippet:

   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_test-server/build; python3.13 -m pytest 
tests
============================= test session starts ==============================
platform linux -- Python 3.13.0rc2, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_test-server/build
configfile: pytest.ini
plugins: typeguard-4.3.0, cov-5.0.0
collected 2 items / 3 errors

==================================== ERRORS ====================================
_______________ ERROR collecting tests/test_httpheaderstorage.py _______________
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_test-server/build/tests/test_httpheaderstorage.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_httpheaderstorage.py:3: in <module>
    from test_server.structure import HttpHeaderStorage
test_server/__init__.py:1: in <module>
    from test_server.server import *  # noqa pylint: disable=wildcard-import
test_server/server.py:6: in <module>
    import cgi
E   ModuleNotFoundError: No module named 'cgi'
____________________ ERROR collecting tests/test_server.py _____________________
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_test-server/build/tests/test_server.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_server.py:12: in <module>
    from test_server import (
test_server/__init__.py:1: in <module>
    from test_server.server import *  # noqa pylint: disable=wildcard-import
test_server/server.py:6: in <module>
    import cgi
E   ModuleNotFoundError: No module named 'cgi'
________________________ ERROR collecting tests/util.py ________________________
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_test-server/build/tests/util.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/util.py:3: in <module>
    from test_server import TestServer
test_server/__init__.py:1: in <module>
    from test_server.server import *  # noqa pylint: disable=wildcard-import
test_server/server.py:6: in <module>
    import cgi
E   ModuleNotFoundError: No module named 'cgi'
=========================== short test summary info ============================
ERROR tests/test_httpheaderstorage.py
ERROR tests/test_server.py
ERROR tests/util.py
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 3 errors in 0.35s ===============================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_test-server/build; python3.13 -m pytest 
tests
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_test-server/build; python3.12 -m pytest 
tests
============================= test session starts ==============================
platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_test-server/build
configfile: pytest.ini
plugins: typeguard-4.3.0, cov-5.0.0
collected 53 items

tests/test_httpheaderstorage.py ..........                               [ 18%]
tests/test_server.py .........................................           [ 96%]
tests/test_types.py ..                                                   [100%]

=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:184
  /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:184: 
DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
    exec(co, module.__dict__)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 53 passed, 1 warning in 7.20s =========================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 
3.12" returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-19T08:46:06Z


If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/789587/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano

--- End Message ---
--- Begin Message ---
Source: python-test-server
Source-Version: 0.0.43-1
Done: Alexandre Detiste <tc...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-test-server, 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 1084...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tc...@debian.org> (supplier of updated python-test-server 
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: Wed, 13 Nov 2024 18:46:00 +0100
Source: python-test-server
Architecture: source
Version: 0.0.43-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Alexandre Detiste <tc...@debian.org>
Closes: 1082271 1084646
Changes:
 python-test-server (0.0.43-1) unstable; urgency=medium
 .
   * Team Upload
   * Use dh-sequence-python3
   * Add d/gbp.conf
   * Tweak watch file
   * New upstream version 0.0.43 (Closes: #1082271, #1084646)
   * Add build-dep on pybuild-plugin-pyproject
Checksums-Sha1:
 1a7d23b4ec6a0a7d60522c08cea81ced7feeb766 2263 python-test-server_0.0.43-1.dsc
 a4823ccfd23f0f008ff97fe4da04f620869e5316 13513 
python-test-server_0.0.43.orig.tar.gz
 133e2452d4daeaeed8f83f03c0eadabffaf44f53 11896 
python-test-server_0.0.43-1.debian.tar.xz
 a17928f09e6eea448523502847d49e0873e6802f 8671 
python-test-server_0.0.43-1_source.buildinfo
Checksums-Sha256:
 8aaf72f0a133cc8fa264957d7a200a53a4e045a428b1d9ffc5e6afe81c1046da 2263 
python-test-server_0.0.43-1.dsc
 49adbdd8d1153129c8e6300380df0f6232ade6ab4caa30016b3c3d17996e1850 13513 
python-test-server_0.0.43.orig.tar.gz
 dbb1d80637390752c8b9a4c6d0cfe279b25b3e2e41766d974965b86f64229a57 11896 
python-test-server_0.0.43-1.debian.tar.xz
 791c602e5903845476894a513006adbee4ae1c9f53793e0ba915e9736c2165f9 8671 
python-test-server_0.0.43-1_source.buildinfo
Files:
 4f2d8112742868e7aba46fe1e5654335 2263 python optional 
python-test-server_0.0.43-1.dsc
 d366f8975b3fcde0a577e6821a42fb2e 13513 python optional 
python-test-server_0.0.43.orig.tar.gz
 2e74806cc673cddb3a2fe58563b0422a 11896 python optional 
python-test-server_0.0.43-1.debian.tar.xz
 5642e72811d3fe28d40f0c217184441e 8671 python optional 
python-test-server_0.0.43-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmc1HJ8RHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBoH4Q//UJfFKUtlJlCLKAy+yQRjq0luIM9xr/pd
VLRyO3lUkTu3TDEFKnBXEnkVvdn6H31wZShQZZIpv4WA/KClqhZDIZv5iujuBcUX
faS/GJzBDdOKxhi7L0j6QFlL6gEDnkF8twoU4fP0pC5YLEutFLcfkA7kiLcgtbFO
Jf6nqpSuZIgB0kIcI4qrAe2WToS5+3Ni/3MB3IMb2fe8w+dYRHikCOzxwlpX2f+q
DVkXV28WDeq4kv8rR1rc7FTRIhGkLhIULAya0IedQ/Jt7tCN3uzqwc1EUSIgOGBi
HIW7u+RU3zVAd7w5mivogpXQG28NvY68ZxK/coPFqSQSflxp0fiFOkSogx2jvMSb
G3ddMQ/y+1H3RNenit91qu0SZ9dosg6DsRDubsQswe7EGDqkaJwHCess29Vp3KE5
qAULJbEBp2Ojh5BHUJsxrDg84JB72dbUs0sIHY+tw9FSzWUI0jTxldsh/IXbn+FR
u/UUni+p8n4xQ8nfpUu4C4BH1TW7NvuzXgAoaC1lx7Ipi1ct5WqZJ73ZT9lL7gRx
kri9yDvvUQgP+15RcRoC8kcNfriZtAiYi5gQL6j0jrrFAiF5XXNmSrpDZYCf6sDi
vze/dMxCLImOlSprnB//J5R82oT5MYcYs+Tt6Q1QKg23vVeZg5TiISANMyQWmclh
qyPHcw1bhtc=
=zIdF
-----END PGP SIGNATURE-----

Attachment: pgp0LPGDVtbV6.pgp
Description: PGP signature


--- End Message ---

Reply via email to