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.