Your message dated Mon, 09 Dec 2024 22:50:34 +0000
with message-id <[email protected]>
and subject line Bug#1088725: fixed in python-uvicorn 0.32.0-2
has caused the Debian Bug report #1088725,
regarding python-uvicorn: FTBFS: E DeprecationWarning: websockets.legacy is 
deprecated
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.)


-- 
1088725: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088725
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-uvicorn
Version: 0.32.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --with mkdocs,python3 --buildsystem=pybuild
   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:129: Building wheel for python3.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel 
--outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13
* Building wheel...
Successfully built uvicorn-0.32.0-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" 
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel 
--outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12
* Building wheel...
Successfully built uvicorn-0.32.0-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with 
"installer" module
   debian/rules execute_after_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
LC_ALL=C.UTF-8 LANG=C.UTF-8 mkdocs build && mv /<<PKGBUILDDIR>>/site 
/<<PKGBUILDDIR>>/html
INFO    -  Cleaning site directory
INFO    -  Building documentation to directory: /<<PKGBUILDDIR>>/site
INFO    -  Documentation built in 0.18 seconds
rm -rf /<<PKGBUILDDIR>>/html/plugins/__pycache__
rm -f /<<PKGBUILDDIR>>/html/sitemap.xml.gz
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest -s --verbose -k 'not test_run and not test_invalid_upgrade and not 
test_default_headers and not test_trace_logging and not test_websocket_auto and not 
test_socket_bind and not test_access_logging and not test_default_logging and not 
test_server_interrupt and not test_unknown_status_code and not test_sigint_finish_req and 
not test_sigint_abort_req and not test_request_than_limit_max_requests_warn_log[h11] and 
not test_request_than_limit_max_requests_warn_log[httptools]' 
--ignore=tests/protocols/test_websocket.py
/usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: 
The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will 
default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to 
avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", 
"module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
============================= test session starts ==============================
platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 -- 
/usr/bin/python3.13
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: asyncio-0.24.0a1, mock-3.14.0, typeguard-4.4.1, anyio-4.6.2
asyncio: mode=Mode.STRICT, default_loop_scope=None
collecting ... collected 621 items / 1 error / 40 deselected / 581 selected

==================================== ERRORS ====================================
________________ ERROR collecting tests/test_auto_detection.py _________________
tests/test_auto_detection.py:10: in <module>
    from uvicorn.protocols.websockets.auto import AutoWebSocketsProtocol
uvicorn/protocols/websockets/auto.py:19: in <module>
    from uvicorn.protocols.websockets.websockets_impl import WebSocketProtocol
uvicorn/protocols/websockets/websockets_impl.py:10: in <module>
    import websockets.legacy.handshake
/usr/lib/python3/dist-packages/websockets/legacy/__init__.py:6: in <module>
    warnings.warn(  # deprecated in 14.0 - 2024-11-09
E   DeprecationWarning: websockets.legacy is deprecated; see 
https://websockets.readthedocs.io/en/stable/howto/upgrade.html for upgrade 
instructions
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
======================= 40 deselected, 1 error in 0.44s ========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest -s 
--verbose -k 'not test_run and not test_invalid_upgrade and not test_default_headers and 
not test_trace_logging and not test_websocket_auto and not test_socket_bind and not 
test_access_logging and not test_default_logging and not test_server_interrupt and not 
test_unknown_status_code and not test_sigint_finish_req and not test_sigint_abort_req and 
not test_request_than_limit_max_requests_warn_log[h11] and not 
test_request_than_limit_max_requests_warn_log[httptools]' 
--ignore=tests/protocols/test_websocket.py
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; 
python3.12 -m pytest -s --verbose -k 'not test_run and not test_invalid_upgrade and not 
test_default_headers and not test_trace_logging and not test_websocket_auto and not 
test_socket_bind and not test_access_logging and not test_default_logging and not 
test_server_interrupt and not test_unknown_status_code and not test_sigint_finish_req and 
not test_sigint_abort_req and not test_request_than_limit_max_requests_warn_log[h11] and 
not test_request_than_limit_max_requests_warn_log[httptools]' 
--ignore=tests/protocols/test_websocket.py
/usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: 
The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will 
default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to 
avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", 
"module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- 
/usr/bin/python3.12
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build
configfile: pyproject.toml
plugins: asyncio-0.24.0a1, mock-3.14.0, typeguard-4.4.1, anyio-4.6.2
asyncio: mode=Mode.STRICT, default_loop_scope=None
collecting ... collected 621 items / 1 error / 40 deselected / 581 selected

==================================== ERRORS ====================================
________________ ERROR collecting tests/test_auto_detection.py _________________
tests/test_auto_detection.py:10: in <module>
    from uvicorn.protocols.websockets.auto import AutoWebSocketsProtocol
uvicorn/protocols/websockets/auto.py:19: in <module>
    from uvicorn.protocols.websockets.websockets_impl import WebSocketProtocol
uvicorn/protocols/websockets/websockets_impl.py:10: in <module>
    import websockets.legacy.handshake
/usr/lib/python3/dist-packages/websockets/legacy/__init__.py:6: in <module>
    warnings.warn(  # deprecated in 14.0 - 2024-11-09
E   DeprecationWarning: websockets.legacy is deprecated; see 
https://websockets.readthedocs.io/en/stable/howto/upgrade.html for upgrade 
instructions
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
======================= 40 deselected, 1 error in 0.45s ========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest -s 
--verbose -k 'not test_run and not test_invalid_upgrade and not test_default_headers and 
not test_trace_logging and not test_websocket_auto and not test_socket_bind and not 
test_access_logging and not test_default_logging and not test_server_interrupt and not 
test_unknown_status_code and not test_sigint_finish_req and not test_sigint_abort_req and 
not test_request_than_limit_max_requests_warn_log[h11] and not 
test_request_than_limit_max_requests_warn_log[httptools]' 
--ignore=tests/protocols/test_websocket.py
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 
3.12" returned exit code 13
make: *** [debian/rules:10: binary] Error 25
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/202411/

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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: python-uvicorn
Source-Version: 0.32.0-2
Done: Julian Gilbey <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-uvicorn, 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.
Julian Gilbey <[email protected]> (supplier of updated python-uvicorn 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: SHA256

Format: 1.8
Date: Mon, 09 Dec 2024 20:53:12 +0000
Source: python-uvicorn
Architecture: source
Version: 0.32.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Julian Gilbey <[email protected]>
Closes: 1088725
Changes:
 python-uvicorn (0.32.0-2) unstable; urgency=medium
 .
   * Team upload.
   * Ignore websockets DeprecationWarnings during tests (closes: #1088725)
Checksums-Sha1:
 93aa66ce0d25822bbf32809748b97a371adbcd79 2682 python-uvicorn_0.32.0-2.dsc
 6892ea8278b60e14b1f7d633915d48bf8c39948f 7840 
python-uvicorn_0.32.0-2.debian.tar.xz
 bd4703221b5e79c5c81cc717d21d2670c601449b 10052 
python-uvicorn_0.32.0-2_amd64.buildinfo
Checksums-Sha256:
 44d87fdd9655103d999ed2564b225bb4fee4878726cbe7869886257edcd97f9e 2682 
python-uvicorn_0.32.0-2.dsc
 0d10ce3aa63b57b7fb3fe144ce95d60148cc5904fd6c9ae78af14af604bd270f 7840 
python-uvicorn_0.32.0-2.debian.tar.xz
 d5da9e7c6c9b522c74eeb11a016e86aa8b80621867726c481d66c621096c5525 10052 
python-uvicorn_0.32.0-2_amd64.buildinfo
Files:
 2758c7963efbcc4f1a74ca1bdfbcc415 2682 python optional 
python-uvicorn_0.32.0-2.dsc
 d730ff17a7421b2351478fa9a56d73fa 7840 python optional 
python-uvicorn_0.32.0-2.debian.tar.xz
 f81d9bf7fe35a3ea8c300fb49438b567 10052 python optional 
python-uvicorn_0.32.0-2_amd64.buildinfo

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

iQIzBAEBCAAdFiEEfhrD+iemSShMMj72aVxCkxbAe/4FAmdXcXEACgkQaVxCkxbA
e/63XQ/9EBjMsOBeZnw5n2gVctFE9UAWSAU0YxFtbtzdG8zP27CcrnZju4B5tQ7+
Sv7AIY9vlkxNDP7jXP71HbH5jZaWJp33BuvxlvzP7lBR8EJh6WfXcIUEJ+WD7RUG
gWN+8Yb5QOYcDPfqlVHlcDXgVXTB+ssRy1ncemyqfZBaH683i5wbJW7k1KyatLO0
c+mnTfYwndF4DixrFSD7AHV5To7ITI3Zl9/9HR2QxfULpZ4KyTK5Ambc4CfjHJFE
g07cVvXc5gOoClmAzfQsS6rBIDge0V8Ac5C4cqQEorkgErluEBniOaXXWsIdkn2r
rhl/cHYUGXbN9OKLaJ+NzF86U1fblqcJIqy2qGCtfQS7E+hRrIVzCUXtsQHhWnw6
gx9wLz88XV7Cxi3GDbsO55rDOKzSeQg+SLdnQ1psDAvd0X7AVOH19/LeV2adMiYH
ItiXR1LVdaVtPFu1eBRrRzESTcb/QarghJr/GvpVoZOkZcEoi5mPys/zK/ZU/SF0
h81x4hHBseoUw5Xx/h10lYa8qLoKrShEr/JzfcHuYAuU2G1gSDxiq32GeDl8H40R
+fAbkU6NXp1AHyW9t87d+suXr1vAJ9bv/0VQTOQZSEi5KgBoCjZ+/nHoq+YB9qP6
iaGiix/8X8ELIsJXcS/Fcuqn+1dopBDTW3d2piu91wIu8Bdgp5Q=
=wj5j
-----END PGP SIGNATURE-----

Attachment: pgp9gtfZxQqxJ.pgp
Description: PGP signature


--- End Message ---

Reply via email to