Your message dated Wed, 09 Oct 2024 12:06:09 +0000
with message-id <[email protected]>
and subject line Bug#1082235: fixed in python-oauthlib 3.2.2-2
has caused the Debian Bug report #1082235,
regarding python-oauthlib 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 [email protected]
immediately.)
--
1082235: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082235
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-oauthlib
Version: 3.2.2-1
Severity: normal
User: [email protected]
Usertags: python3.13
Forwarded: https://github.com/oauthlib/oauthlib/pull/866
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
Log snippet:
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_oauthlib/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>>
plugins: typeguard-4.3.0
collected 654 items
tests/oauth1/rfc5849/endpoints/test_access_token.py ....... [ 1%]
tests/oauth1/rfc5849/endpoints/test_authorization.py ..... [ 1%]
tests/oauth1/rfc5849/endpoints/test_base.py ................... [ 4%]
tests/oauth1/rfc5849/endpoints/test_request_token.py ........ [ 5%]
tests/oauth1/rfc5849/endpoints/test_resource.py ....... [ 7%]
tests/oauth1/rfc5849/endpoints/test_signature_only.py .... [ 7%]
tests/oauth1/rfc5849/test_client.py ......................... [ 11%]
tests/oauth1/rfc5849/test_parameters.py ..... [ 12%]
tests/oauth1/rfc5849/test_request_validator.py ... [ 12%]
tests/oauth1/rfc5849/test_signatures.py ................ [ 15%]
tests/oauth1/rfc5849/test_utils.py ..F.. [ 15%]
tests/oauth2/rfc6749/clients/test_backend_application.py .. [ 16%]
tests/oauth2/rfc6749/clients/test_base.py ........... [ 17%]
tests/oauth2/rfc6749/clients/test_legacy_application.py ... [ 18%]
tests/oauth2/rfc6749/clients/test_mobile_application.py ... [ 18%]
tests/oauth2/rfc6749/clients/test_service_application.py ... [ 19%]
tests/oauth2/rfc6749/clients/test_web_application.py ....... [ 20%]
tests/oauth2/rfc6749/endpoints/test_base_endpoint.py .... [ 20%]
tests/oauth2/rfc6749/endpoints/test_client_authentication.py ....... [ 22%]
tests/oauth2/rfc6749/endpoints/test_credentials_preservation.py ..... [ 22%]
tests/oauth2/rfc6749/endpoints/test_error_responses.py ................. [ 25%]
..... [ 26%]
tests/oauth2/rfc6749/endpoints/test_extra_credentials.py .. [ 26%]
tests/oauth2/rfc6749/endpoints/test_introspect_endpoint.py ........... [ 28%]
tests/oauth2/rfc6749/endpoints/test_metadata.py ....... [ 29%]
tests/oauth2/rfc6749/endpoints/test_resource_owner_association.py .... [ 29%]
tests/oauth2/rfc6749/endpoints/test_revocation_endpoint.py ........ [ 31%]
tests/oauth2/rfc6749/endpoints/test_scope_handling.py .... [ 31%]
tests/oauth2/rfc6749/grant_types/test_authorization_code.py ............ [ 33%]
............................ [ 37%]
tests/oauth2/rfc6749/grant_types/test_client_credentials.py ..... [ 38%]
tests/oauth2/rfc6749/grant_types/test_implicit.py ... [ 38%]
tests/oauth2/rfc6749/grant_types/test_refresh_token.py ................. [ 41%]
. [ 41%]
tests/oauth2/rfc6749/grant_types/test_resource_owner_password.py ....... [ 42%]
..... [ 43%]
tests/oauth2/rfc6749/test_parameters.py ........ [ 44%]
tests/oauth2/rfc6749/test_request_validator.py . [ 44%]
tests/oauth2/rfc6749/test_server.py ................. [ 47%]
tests/oauth2/rfc6749/test_tokens.py ........ [ 48%]
tests/oauth2/rfc6749/test_utils.py ....... [ 49%]
tests/oauth2/rfc8628/clients/test_device.py .. [ 50%]
tests/openid/connect/core/endpoints/test_claims_handling.py .. [ 50%]
tests/openid/connect/core/endpoints/test_openid_connect_params_handling.py . [
50%]
.. [ 50%]
tests/openid/connect/core/endpoints/test_userinfo_endpoint.py ...... [ 51%]
tests/openid/connect/core/grant_types/test_authorization_code.py ....... [ 52%]
........................................................................ [ 63%]
...... [ 64%]
tests/openid/connect/core/grant_types/test_base.py ........ [ 66%]
tests/openid/connect/core/grant_types/test_dispatchers.py ....... [ 67%]
tests/openid/connect/core/grant_types/test_hybrid.py ................... [ 70%]
........................................................................ [ 81%]
............ [ 82%]
tests/openid/connect/core/grant_types/test_implicit.py .............. [ 85%]
tests/openid/connect/core/grant_types/test_refresh_token.py ............ [ 86%]
........................... [ 90%]
tests/openid/connect/core/test_request_validator.py . [ 91%]
tests/openid/connect/core/test_server.py ........ [ 92%]
tests/openid/connect/core/test_tokens.py ....... [ 93%]
tests/test_common.py ................................ [ 98%]
tests/test_uri_validate.py ......ss... [100%]
=================================== FAILURES ===================================
________________________ UtilsTests.test_filter_params _________________________
self = <tests.oauth1.rfc5849.test_utils.UtilsTests
testMethod=test_filter_params>
def test_filter_params(self):
# The following is an isolated test function used to test the
filter_params decorator.
@filter_params
def special_test_function(params, realm=None):
""" I am a special test function """
return 'OAuth ' + ','.join(['='.join([k, v]) for k, v in params])
# check that the docstring got through
> self.assertEqual(special_test_function.__doc__, " I am a special test
> function ")
E AssertionError: 'I am a special test function ' != ' I am a special
test function '
E - I am a special test function
E + I am a special test function
E ? +
tests/oauth1/rfc5849/test_utils.py:60: AssertionError
=============================== warnings summary ===============================
.pybuild/cpython3_3.13_oauthlib/build/tests/oauth2/rfc6749/clients/test_web_application.py::WebApplicationClientTest::test_prepare_request_body
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_oauthlib/build/oauthlib/oauth2/rfc6749/clients/web_application.py:163:
DeprecationWarning: `client_id` has been deprecated in favor of
`include_client_id`, a boolean value which will include the already configured
`self.client_id`.
warnings.warn("`client_id` has been deprecated in favor of "
.pybuild/cpython3_3.13_oauthlib/build/tests/oauth2/rfc6749/test_server.py::SignedTokenEndpointTest::test_authorization_grant
.pybuild/cpython3_3.13_oauthlib/build/tests/oauth2/rfc6749/test_server.py::SignedTokenEndpointTest::test_client_grant
.pybuild/cpython3_3.13_oauthlib/build/tests/oauth2/rfc6749/test_server.py::SignedTokenEndpointTest::test_password_grant
.pybuild/cpython3_3.13_oauthlib/build/tests/oauth2/rfc6749/test_server.py::SignedTokenEndpointTest::test_scopes_and_user_id_stored_in_access_token
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_oauthlib/build/oauthlib/common.py:203:
DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for
removal in a future version. Use timezone-aware objects to represent datetimes
in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.datetime.utcnow()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/oauth1/rfc5849/test_utils.py::UtilsTests::test_filter_params - A...
============= 1 failed, 651 passed, 2 skipped, 5 warnings in 3.90s =============
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_oauthlib/build; python3.13 -m pytest
tests
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oauthlib/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>>
plugins: typeguard-4.3.0
collected 654 items
tests/oauth1/rfc5849/endpoints/test_access_token.py ....... [ 1%]
tests/oauth1/rfc5849/endpoints/test_authorization.py ..... [ 1%]
tests/oauth1/rfc5849/endpoints/test_base.py ................... [ 4%]
tests/oauth1/rfc5849/endpoints/test_request_token.py ........ [ 5%]
tests/oauth1/rfc5849/endpoints/test_resource.py ....... [ 7%]
tests/oauth1/rfc5849/endpoints/test_signature_only.py .... [ 7%]
tests/oauth1/rfc5849/test_client.py ......................... [ 11%]
tests/oauth1/rfc5849/test_parameters.py ..... [ 12%]
tests/oauth1/rfc5849/test_request_validator.py ... [ 12%]
tests/oauth1/rfc5849/test_signatures.py ................ [ 15%]
tests/oauth1/rfc5849/test_utils.py ..... [ 15%]
tests/oauth2/rfc6749/clients/test_backend_application.py .. [ 16%]
tests/oauth2/rfc6749/clients/test_base.py ........... [ 17%]
tests/oauth2/rfc6749/clients/test_legacy_application.py ... [ 18%]
tests/oauth2/rfc6749/clients/test_mobile_application.py ... [ 18%]
tests/oauth2/rfc6749/clients/test_service_application.py ... [ 19%]
tests/oauth2/rfc6749/clients/test_web_application.py ....... [ 20%]
tests/oauth2/rfc6749/endpoints/test_base_endpoint.py .... [ 20%]
tests/oauth2/rfc6749/endpoints/test_client_authentication.py ....... [ 22%]
tests/oauth2/rfc6749/endpoints/test_credentials_preservation.py ..... [ 22%]
tests/oauth2/rfc6749/endpoints/test_error_responses.py ................. [ 25%]
..... [ 26%]
tests/oauth2/rfc6749/endpoints/test_extra_credentials.py .. [ 26%]
tests/oauth2/rfc6749/endpoints/test_introspect_endpoint.py ........... [ 28%]
tests/oauth2/rfc6749/endpoints/test_metadata.py ....... [ 29%]
tests/oauth2/rfc6749/endpoints/test_resource_owner_association.py .... [ 29%]
tests/oauth2/rfc6749/endpoints/test_revocation_endpoint.py ........ [ 31%]
tests/oauth2/rfc6749/endpoints/test_scope_handling.py .... [ 31%]
tests/oauth2/rfc6749/grant_types/test_authorization_code.py ............ [ 33%]
............................ [ 37%]
tests/oauth2/rfc6749/grant_types/test_client_credentials.py ..... [ 38%]
tests/oauth2/rfc6749/grant_types/test_implicit.py ... [ 38%]
tests/oauth2/rfc6749/grant_types/test_refresh_token.py ................. [ 41%]
. [ 41%]
tests/oauth2/rfc6749/grant_types/test_resource_owner_password.py ....... [ 42%]
..... [ 43%]
tests/oauth2/rfc6749/test_parameters.py ........ [ 44%]
tests/oauth2/rfc6749/test_request_validator.py . [ 44%]
tests/oauth2/rfc6749/test_server.py ................. [ 47%]
tests/oauth2/rfc6749/test_tokens.py ........ [ 48%]
tests/oauth2/rfc6749/test_utils.py ....... [ 49%]
tests/oauth2/rfc8628/clients/test_device.py .. [ 50%]
tests/openid/connect/core/endpoints/test_claims_handling.py .. [ 50%]
tests/openid/connect/core/endpoints/test_openid_connect_params_handling.py . [
50%]
.. [ 50%]
tests/openid/connect/core/endpoints/test_userinfo_endpoint.py ...... [ 51%]
tests/openid/connect/core/grant_types/test_authorization_code.py ....... [ 52%]
........................................................................ [ 63%]
...... [ 64%]
tests/openid/connect/core/grant_types/test_base.py ........ [ 66%]
tests/openid/connect/core/grant_types/test_dispatchers.py ....... [ 67%]
tests/openid/connect/core/grant_types/test_hybrid.py ................... [ 70%]
........................................................................ [ 81%]
............ [ 82%]
tests/openid/connect/core/grant_types/test_implicit.py .............. [ 85%]
tests/openid/connect/core/grant_types/test_refresh_token.py ............ [ 86%]
........................... [ 90%]
tests/openid/connect/core/test_request_validator.py . [ 91%]
tests/openid/connect/core/test_server.py ........ [ 92%]
tests/openid/connect/core/test_tokens.py ....... [ 93%]
tests/test_common.py ................................ [ 98%]
tests/test_uri_validate.py ......ss... [100%]
=============================== warnings summary ===============================
.pybuild/cpython3_3.12_oauthlib/build/tests/oauth2/rfc6749/clients/test_web_application.py::WebApplicationClientTest::test_prepare_request_body
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oauthlib/build/oauthlib/oauth2/rfc6749/clients/web_application.py:163:
DeprecationWarning: `client_id` has been deprecated in favor of
`include_client_id`, a boolean value which will include the already configured
`self.client_id`.
warnings.warn("`client_id` has been deprecated in favor of "
.pybuild/cpython3_3.12_oauthlib/build/tests/oauth2/rfc6749/test_server.py::SignedTokenEndpointTest::test_authorization_grant
.pybuild/cpython3_3.12_oauthlib/build/tests/oauth2/rfc6749/test_server.py::SignedTokenEndpointTest::test_client_grant
.pybuild/cpython3_3.12_oauthlib/build/tests/oauth2/rfc6749/test_server.py::SignedTokenEndpointTest::test_password_grant
.pybuild/cpython3_3.12_oauthlib/build/tests/oauth2/rfc6749/test_server.py::SignedTokenEndpointTest::test_scopes_and_user_id_stored_in_access_token
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_oauthlib/build/oauthlib/common.py:203:
DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for
removal in a future version. Use timezone-aware objects to represent datetimes
in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.datetime.utcnow()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================== 652 passed, 2 skipped, 5 warnings in 3.99s ==================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13
3.12" returned exit code 13
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-19T04:46:47Z
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/786499/
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-oauthlib
Source-Version: 3.2.2-2
Done: Colin Watson <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-oauthlib, 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.
Colin Watson <[email protected]> (supplier of updated python-oauthlib 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: Wed, 09 Oct 2024 12:39:58 +0100
Source: python-oauthlib
Architecture: source
Version: 3.2.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1082235
Changes:
python-oauthlib (3.2.2-2) unstable; urgency=medium
.
* Team upload.
* Make UtilsTests.test_filter_params Python 3.13+ compatible (closes:
#1082235).
Checksums-Sha1:
dc349f5e8ed915ed410552da0ad050a5db910ca1 2353 python-oauthlib_3.2.2-2.dsc
d7c25ccae73d01a96d49759b4fafdf9cfafa4830 5556
python-oauthlib_3.2.2-2.debian.tar.xz
Checksums-Sha256:
eb8bda2fc6c9f62bf04198ddc9e253c4c2671a3747763e8c3ba18b8bae07ee3f 2353
python-oauthlib_3.2.2-2.dsc
6eab1c4bd6f734278274117a7ce216cee0364a6afd34621854af5d8c7a952ae1 5556
python-oauthlib_3.2.2-2.debian.tar.xz
Files:
7012193943eba694ba154ee12801a5fd 2353 python optional
python-oauthlib_3.2.2-2.dsc
c3b188078e2792cad00c410a0a94fe18 5556 python optional
python-oauthlib_3.2.2-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmcGa98ACgkQOTWH2X2G
UAuP9w/8C7SmaH5xBBGhZxXtf3JmlmbF4zx9uvD8d6tEK/Dhf5vvUcOqnjJmfXtU
zkA+zqZyZVl/EVl5AyDqxWHH6hzDI3JHmn5sIub9yG0lcT1scfcrbz4tkfQCGgq8
RKjmscPcvUKDh5PIaZKTtwV7Siw4HQM2vs7zxQkVLlhy7CrnIAsJZzX54DXzB4Qa
vg92XKj8mu7MaPGIY1m8PJcMcafBpuAJsvzZRXF2WThwOkT2y+6yYE07bj4UUIia
FDOnxD6TPfBeAiM+K5OwmrnhDVhHYoEoV1+lv2uC8KpYUIi4N0cxXBTMG5mkBLPT
p8BGuiSlMDn7MGSPQxMoWhAG2PmzRJYl4Tr+Ec+bD97/kHNoE0x/X/pMhyByLvOT
NVgJxui9kz1XVRrLvvMBYWm5hONOjx+7vL9tXotKZoM7UamyGCkOjPB7+AnJ5+4S
O+i8t2q0oBOitHtty9Hh9n1CYtqHKxskyz99t81w7ZAmeGwi+TCfOXuOiCqcyIx2
inRSvG+7lWD+omhhe2gEZIlJrhDEIje+3vAeTCRZhQKfI5i5rjFBhSZa6or2r+xu
q0TwBSfo70D8ZMLjEtyKPcd/570GD1+KoaCUkNJy3INBxN/zAVtCSTDrDzzzOFml
XNzz5ALmH/b35/tf7/1GkTlafkWQSc/QvUpX2bHKWsCEcz/8IW4=
=cn+i
-----END PGP SIGNATURE-----
pgpmzE0nvWWUD.pgp
Description: PGP signature
--- End Message ---