Your message dated Sat, 24 May 2025 21:34:02 +0000
with message-id <e1uiwvg-001gic...@fasolo.debian.org>
and subject line Bug#1080132: fixed in python-josepy 2.0.0-1
has caused the Debian Bug report #1080132,
regarding python-josepy: FTBFS: E DeprecationWarning: CSR support in pyOpenSSL 
is deprecated. You should use the APIs in cryptography.
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.)


-- 
1080132: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1080132
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-josepy
Version: 1.14.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 python3,sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
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 josepy-1.14.0-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with 
"installer" module
PYTHONPATH=/<<PKGBUILDDIR>>/src \
        http_proxy='127.0.0.1:9' \
        https_proxy='127.0.0.1:9' \
        sphinx-build -N -bhtml docs/ build/html
Running Sphinx v7.4.7
WARNING: Invalid configuration value found: 'language = None'. Update your 
configuration to a valid language code. Falling back to 'en' (English).
loading translations [en]... done
making output directory... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 
'restructuredtext'}`.
WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and will be 
removed in Sphinx 8. Update to the current format as described in the documentation. 
Hint: `intersphinx_mapping = {'<name>': ('https://docs.python.org/', 
None)}`.https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping
WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and will be 
removed in Sphinx 8. Update to the current format as described in the documentation. 
Hint: `intersphinx_mapping = {'<name>': ('https://cryptography.io/en/latest/', 
None)}`.https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping
loading intersphinx inventory 'main_inventory' from 
https://docs.python.org/objects.inv...
loading intersphinx inventory 'main_inventory' from 
https://cryptography.io/en/latest/objects.inv...
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 'https://cryptography.io/en/latest/objects.inv' not fetchable due to 
<class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='cryptography.io', 
port=443): Max retries exceeded with url: /en/latest/objects.inv (Caused by 
ProxyError('Unable to connect to proxy', 
NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f52bda62cf0>: 
Failed to establish a new connection: [Errno 111] Connection refused')))
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 'https://docs.python.org/objects.inv' not fetchable due to <class 
'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='docs.python.org', 
port=443): Max retries exceeded with url: /objects.inv (Caused by ProxyError('Unable to 
connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 
0x7f52be10f470>: Failed to establish a new connection: [Errno 111] Connection refused')))
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 11 source files that are out of date
updating environment: [new config] 11 added, 0 changed, 0 removed
reading sources... [  9%] api/base64
reading sources... [ 18%] api/errors
reading sources... [ 27%] api/interfaces
reading sources... [ 36%] api/json_util
reading sources... [ 45%] api/jwa
reading sources... [ 55%] api/jwk
reading sources... [ 64%] api/jws
reading sources... [ 73%] api/util
reading sources... [ 82%] changelog
reading sources... [ 91%] index
reading sources... [100%] man/jws

/<<PKGBUILDDIR>>/src/josepy/json_util.py:docstring of josepy.json_util.field:7: 
ERROR: Unexpected indentation.
CHANGELOG.rst:37: ERROR: Unexpected indentation.
looking for now-outdated files... none found
pickling environment... done
checking consistency... /<<PKGBUILDDIR>>/docs/man/jws.rst: WARNING: document 
isn't included in any toctree
done
preparing documents... done
copying assets...
copying static files... done
copying extra files... done
copying assets: done
writing output... [  9%] api/base64
writing output... [ 18%] api/errors
writing output... [ 27%] api/interfaces
writing output... [ 36%] api/json_util
writing output... [ 45%] api/jwa
writing output... [ 55%] api/jwk
writing output... [ 64%] api/jws
writing output... [ 73%] api/util
writing output... [ 82%] changelog
writing output... [ 91%] index
writing output... [100%] man/jws

generating indices... genindex py-modindex done
highlighting module code... [ 12%] josepy.b64
highlighting module code... [ 25%] josepy.errors
highlighting module code... [ 38%] josepy.interfaces
highlighting module code... [ 50%] josepy.json_util
highlighting module code... [ 62%] josepy.jwa
highlighting module code... [ 75%] josepy.jwk
highlighting module code... [ 88%] josepy.jws
highlighting module code... [100%] josepy.util

writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 8 warnings.

The HTML pages are in build/html.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; 
python3.12 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.12.5, pytest-8.3.2, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
plugins: typeguard-4.3.0
collected 13 items / 7 errors

==================================== ERRORS ====================================
_______ ERROR collecting .pybuild/cpython3_3.12/build/tests/init_test.py _______
tests/init_test.py:8: in <module>
    import josepy
josepy/__init__.py:40: in <module>
    from josepy.json_util import (
josepy/json_util.py:26: in <module>
    from josepy import b64, errors, interfaces, util
josepy/util.py:18: in <module>
    class ComparableX509:
josepy/util.py:26: in ComparableX509
    def __init__(self, wrapped: Union[crypto.X509, crypto.X509Req]) -> None:
/usr/lib/python3/dist-packages/cryptography/utils.py:74: in __getattr__
    warnings.warn(obj.message, obj.warning_class, stacklevel=2)
E   DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use 
the APIs in cryptography.
____ ERROR collecting .pybuild/cpython3_3.12/build/tests/json_util_test.py _____
tests/json_util_test.py:9: in <module>
    import test_util
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:174: in exec_module
    exec(co, module.__dict__)
tests/test_util.py:12: in <module>
    import josepy.util
josepy/__init__.py:40: in <module>
    from josepy.json_util import (
josepy/json_util.py:26: in <module>
    from josepy import b64, errors, interfaces, util
josepy/util.py:18: in <module>
    class ComparableX509:
josepy/util.py:26: in ComparableX509
    def __init__(self, wrapped: Union[crypto.X509, crypto.X509Req]) -> None:
/usr/lib/python3/dist-packages/cryptography/utils.py:74: in __getattr__
    warnings.warn(obj.message, obj.warning_class, stacklevel=2)
E   DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use 
the APIs in cryptography.
_______ ERROR collecting .pybuild/cpython3_3.12/build/tests/jwa_test.py ________
tests/jwa_test.py:8: in <module>
    import test_util
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:174: in exec_module
    exec(co, module.__dict__)
tests/test_util.py:12: in <module>
    import josepy.util
josepy/__init__.py:40: in <module>
    from josepy.json_util import (
josepy/json_util.py:26: in <module>
    from josepy import b64, errors, interfaces, util
josepy/util.py:18: in <module>
    class ComparableX509:
josepy/util.py:26: in ComparableX509
    def __init__(self, wrapped: Union[crypto.X509, crypto.X509Req]) -> None:
/usr/lib/python3/dist-packages/cryptography/utils.py:74: in __getattr__
    warnings.warn(obj.message, obj.warning_class, stacklevel=2)
E   DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use 
the APIs in cryptography.
_______ ERROR collecting .pybuild/cpython3_3.12/build/tests/jwk_test.py ________
tests/jwk_test.py:8: in <module>
    import test_util
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:174: in exec_module
    exec(co, module.__dict__)
tests/test_util.py:12: in <module>
    import josepy.util
josepy/__init__.py:40: in <module>
    from josepy.json_util import (
josepy/json_util.py:26: in <module>
    from josepy import b64, errors, interfaces, util
josepy/util.py:18: in <module>
    class ComparableX509:
josepy/util.py:26: in ComparableX509
    def __init__(self, wrapped: Union[crypto.X509, crypto.X509Req]) -> None:
/usr/lib/python3/dist-packages/cryptography/utils.py:74: in __getattr__
    warnings.warn(obj.message, obj.warning_class, stacklevel=2)
E   DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use 
the APIs in cryptography.
_______ ERROR collecting .pybuild/cpython3_3.12/build/tests/jws_test.py ________
tests/jws_test.py:9: in <module>
    import test_util
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:174: in exec_module
    exec(co, module.__dict__)
tests/test_util.py:12: in <module>
    import josepy.util
josepy/__init__.py:40: in <module>
    from josepy.json_util import (
josepy/json_util.py:26: in <module>
    from josepy import b64, errors, interfaces, util
josepy/util.py:18: in <module>
    class ComparableX509:
josepy/util.py:26: in ComparableX509
    def __init__(self, wrapped: Union[crypto.X509, crypto.X509Req]) -> None:
/usr/lib/python3/dist-packages/cryptography/utils.py:74: in __getattr__
    warnings.warn(obj.message, obj.warning_class, stacklevel=2)
E   DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use 
the APIs in cryptography.
_______ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_util.py _______
tests/test_util.py:12: in <module>
    import josepy.util
josepy/__init__.py:40: in <module>
    from josepy.json_util import (
josepy/json_util.py:26: in <module>
    from josepy import b64, errors, interfaces, util
josepy/util.py:18: in <module>
    class ComparableX509:
josepy/util.py:26: in ComparableX509
    def __init__(self, wrapped: Union[crypto.X509, crypto.X509Req]) -> None:
/usr/lib/python3/dist-packages/cryptography/utils.py:74: in __getattr__
    warnings.warn(obj.message, obj.warning_class, stacklevel=2)
E   DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use 
the APIs in cryptography.
_______ ERROR collecting .pybuild/cpython3_3.12/build/tests/util_test.py _______
tests/util_test.py:7: in <module>
    import test_util
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:174: in exec_module
    exec(co, module.__dict__)
tests/test_util.py:12: in <module>
    import josepy.util
josepy/__init__.py:40: in <module>
    from josepy.json_util import (
josepy/json_util.py:26: in <module>
    from josepy import b64, errors, interfaces, util
josepy/util.py:18: in <module>
    class ComparableX509:
josepy/util.py:26: in ComparableX509
    def __init__(self, wrapped: Union[crypto.X509, crypto.X509Req]) -> None:
/usr/lib/python3/dist-packages/cryptography/utils.py:74: in __getattr__
    warnings.warn(obj.message, obj.warning_class, stacklevel=2)
E   DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use 
the APIs in cryptography.
=========================== short test summary info ============================
ERROR tests/init_test.py - DeprecationWarning: CSR support in pyOpenSSL is de...
ERROR tests/json_util_test.py - DeprecationWarning: CSR support in pyOpenSSL ...
ERROR tests/jwa_test.py - DeprecationWarning: CSR support in pyOpenSSL is dep...
ERROR tests/jwk_test.py - DeprecationWarning: CSR support in pyOpenSSL is dep...
ERROR tests/jws_test.py - DeprecationWarning: CSR support in pyOpenSSL is dep...
ERROR tests/test_util.py - DeprecationWarning: CSR support in pyOpenSSL is de...
ERROR tests/util_test.py - DeprecationWarning: CSR support in pyOpenSSL is de...
!!!!!!!!!!!!!!!!!!! Interrupted: 7 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 7 errors in 0.44s ===============================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12 
returned exit code 13
make: *** [debian/rules:6: 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/202408/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large 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-josepy
Source-Version: 2.0.0-1
Done: Harlan Lieberman-Berg <hlieber...@debian.org>

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

Debian distribution maintenance software
pp.
Harlan Lieberman-Berg <hlieber...@debian.org> (supplier of updated 
python-josepy 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: Sat, 24 May 2025 14:47:42 -0400
Source: python-josepy
Architecture: source
Version: 2.0.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Let's Encrypt <team+letsencr...@tracker.debian.org>
Changed-By: Harlan Lieberman-Berg <hlieber...@debian.org>
Closes: 1080132 1104684 1106463
Changes:
 python-josepy (2.0.0-1) unstable; urgency=medium
 .
   * New upstream version 2.0.0 (Closes: #1106463)
   * Drop patches applied upstream; refresh remaining
   * Drop dependency on openssl, following upstream (Closes: #1080132)
   * Drop dependency on importlib.resources (Closes: #1104684)
   * Bump S-V; no changes needed
   * Touch all files at build time
Checksums-Sha1:
 d5713afd42b4b972149ee6b9b7e32d220da481d1 2402 python-josepy_2.0.0-1.dsc
 66736b907b32133d0ce346ed48a91abeb0da3a2f 55767 python-josepy_2.0.0.orig.tar.gz
 31d254459ccdd3e07e8bf62580850dda5fa546e6 14392 
python-josepy_2.0.0-1.debian.tar.xz
 664cc5988b7548879d01e227c514520af1ba7a79 9309 
python-josepy_2.0.0-1_source.buildinfo
Checksums-Sha256:
 8eb8afd40cd1e0085546d71b588a512c005020a8f46dd217b16f6a9db7e8b9d0 2402 
python-josepy_2.0.0-1.dsc
 e7d7acd2fe77435cda76092abe4950bb47b597243a8fb733088615fa6de9ec40 55767 
python-josepy_2.0.0.orig.tar.gz
 2dc15bdcc293560d53c568dd91f261d76045ebb676f075724ee178f02e76a618 14392 
python-josepy_2.0.0-1.debian.tar.xz
 ccec925589f5fe149341a5c00489e2443323d9de913b5503507192a9e5c44091 9309 
python-josepy_2.0.0-1_source.buildinfo
Files:
 ab15d1d90905f7a2be7aaf757262bac2 2402 python optional python-josepy_2.0.0-1.dsc
 dd79ee5377afe136643fc6f7cda6e5f8 55767 python optional 
python-josepy_2.0.0.orig.tar.gz
 48fe62c1ba610a35be9173cbcb971070 14392 python optional 
python-josepy_2.0.0-1.debian.tar.xz
 516dabcaf58a88e44a38ee7250d7b75c 9309 python optional 
python-josepy_2.0.0-1_source.buildinfo

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

iQKqBAEBCgCUFiEEkJuOyk/uboEDRScmmz8iVE6a9FEFAmgyMXhfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkw
OUI4RUNBNEZFRTZFODEwMzQ1MjcyNjlCM0YyMjU0NEU5QUY0NTEWHGhsaWViZXJt
YW5AZGViaWFuLm9yZwAKCRCbPyJUTpr0UUP/D/0VMQ8gnUAMpjQTy5QjUKm2+VTh
Im7ze+wnbT1W9JQSDWcVR2omrbldNbnCWk1s3oNTBAJB1sibZiOXOg3e0FSb4Fl7
i19fcqMl4YfBGx35vCawT+3mIF4YmToXKhWF1MaIiR0p+GZ+o4OJR69ZVF/u8jTS
MO/Tl5kRuG7PTpLjzlfBq8g+PZIuTrAGVq7InMU4VYpuwdmzRbMEhT1l3/k9JyRe
iIPJGWajhpDzwSu0tsJpQKbU/Uz5Iedzb21g2u4V1NFNnhZ+NXNRQta7Anvw0wET
SixxcY2bYdIF3ApIGGxq0bqwwH/QQU1MJ6pfmQbmEX196iDSYjK1Kh7yiScjSNBo
aPvLKFONElTQ6Z+rWy51/sjqXuRx/G0v81Qm+Rgd0voZ4IdnsWBXz+8E5RRi3+hL
t4NYilq+0547r2DLlMPME/afpg3bE9wmV7q8QOlJ5vh5TA2CzvRDTxpWAkKClLLd
7MZLBstBn2I23KKmBDgORcr3fSVAw2NTl9Z6suidR7B0zn0TpEkImpJi/+JwyRxz
0oQR1sZDxeCi58Sl/+7hYUT4dWK6Ehd7NRda7O001+AibLu4yMInQYoe++LZmED0
cFQEKCU5sknVNSsWyfvsk18iOeg+NJRPu+93rpbLvX/Uc3mF4tqda/bzx/RQVmFz
h2T/td2d1CHl5BA9NA==
=NVyI
-----END PGP SIGNATURE-----

Attachment: pgpCtnQ35zW79.pgp
Description: PGP signature


--- End Message ---

Reply via email to