Source: python-josepy
Version: 1.13.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230726 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/josepy
> copying src/josepy/util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/josepy
> copying src/josepy/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/josepy
> copying src/josepy/interfaces.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/josepy
> copying src/josepy/jwk.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/josepy
> copying src/josepy/errors.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/josepy
> copying src/josepy/jwa.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/josepy
> copying src/josepy/b64.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/josepy
> copying src/josepy/json_util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/josepy
> copying src/josepy/jws.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/josepy
> copying src/josepy/magic_typing.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/josepy
> running egg_info
> writing src/josepy.egg-info/PKG-INFO
> writing dependency_links to src/josepy.egg-info/dependency_links.txt
> writing entry points to src/josepy.egg-info/entry_points.txt
> writing requirements to src/josepy.egg-info/requires.txt
> writing top-level names to src/josepy.egg-info/top_level.txt
> reading manifest file 'src/josepy.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE.txt'
> writing manifest file 'src/josepy.egg-info/SOURCES.txt'
> copying src/josepy/py.typed -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/josepy
> 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 v5.3.0
> WARNING: Invalid configuration value found: 'language = None'. Update your 
> configuration to a valid language code. Falling back to 'en' (English).
> making output directory... done
> loading intersphinx inventory from https://docs.python.org/objects.inv...
> loading intersphinx inventory from 
> https://cryptography.io/en/latest/objects.inv...
> 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('Cannot connect to proxy.', 
> NewConnectionError('<urllib3.connection.HTTPSConnection object at 
> 0x7f4fa8f149d0>: 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://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('Cannot connect to 
> proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 
> 0x7f4fa8f15750>: Failed to establish a new connection: [Errno 111] Connection 
> refused')))
> building [mo]: targets for 0 po files that are out of date
> 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... [ 54%] api/jwk
> reading sources... [ 63%] api/jws
> reading sources... [ 72%] api/util
> reading sources... [ 81%] changelog
> reading sources... [ 90%] index
> reading sources... [100%] man/jws
> 
> /<<PKGBUILDDIR>>/src/josepy/json_util.py:docstring of 
> josepy.json_util.field:7: ERROR: Unexpected indentation.
> CHANGELOG.rst:27: 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
> 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... [ 54%] api/jwk
> writing output... [ 63%] api/jws
> writing output... [ 72%] api/util
> writing output... [ 81%] changelog
> writing output... [ 90%] 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... [ 37%] josepy.interfaces
> highlighting module code... [ 50%] josepy.json_util
> highlighting module code... [ 62%] josepy.jwa
> highlighting module code... [ 75%] josepy.jwk
> highlighting module code... [ 87%] josepy.jws
> highlighting module code... [100%] josepy.util
> 
> writing additional pages... search done
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 6 warnings.
> 
> The HTML pages are in build/html.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; 
> python3.11 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0 -- 
> /usr/bin/python3.11
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>
> configfile: pytest.ini
> collecting ... collected 23 items / 6 errors
> 
> ==================================== ERRORS 
> ====================================
> ____ ERROR collecting .pybuild/cpython3_3.11/build/tests/json_util_test.py 
> _____
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in 
> _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:565: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1204: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:178: in 
> exec_module
>     exec(co, module.__dict__)
> tests/json_util_test.py:6: in <module>
>     import test_util
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:178: in 
> exec_module
>     exec(co, module.__dict__)
> tests/test_util.py:5: in <module>
>     import pkg_resources
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:118: in <module>
>     warnings.warn(
> E   DeprecationWarning: pkg_resources is deprecated as an API. See 
> https://setuptools.pypa.io/en/latest/pkg_resources.html
> _______ ERROR collecting .pybuild/cpython3_3.11/build/tests/jwa_test.py 
> ________
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in 
> _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:565: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1204: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:178: in 
> exec_module
>     exec(co, module.__dict__)
> tests/jwa_test.py:5: in <module>
>     import test_util
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:178: in 
> exec_module
>     exec(co, module.__dict__)
> tests/test_util.py:5: in <module>
>     import pkg_resources
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:118: in <module>
>     warnings.warn(
> E   DeprecationWarning: pkg_resources is deprecated as an API. See 
> https://setuptools.pypa.io/en/latest/pkg_resources.html
> _______ ERROR collecting .pybuild/cpython3_3.11/build/tests/jwk_test.py 
> ________
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in 
> _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:565: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1204: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:178: in 
> exec_module
>     exec(co, module.__dict__)
> tests/jwk_test.py:5: in <module>
>     import test_util
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:178: in 
> exec_module
>     exec(co, module.__dict__)
> tests/test_util.py:5: in <module>
>     import pkg_resources
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:118: in <module>
>     warnings.warn(
> E   DeprecationWarning: pkg_resources is deprecated as an API. See 
> https://setuptools.pypa.io/en/latest/pkg_resources.html
> _______ ERROR collecting .pybuild/cpython3_3.11/build/tests/jws_test.py 
> ________
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in 
> _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:565: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1204: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:178: in 
> exec_module
>     exec(co, module.__dict__)
> tests/jws_test.py:7: in <module>
>     import test_util
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:178: in 
> exec_module
>     exec(co, module.__dict__)
> tests/test_util.py:5: in <module>
>     import pkg_resources
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:118: in <module>
>     warnings.warn(
> E   DeprecationWarning: pkg_resources is deprecated as an API. See 
> https://setuptools.pypa.io/en/latest/pkg_resources.html
> _______ ERROR collecting .pybuild/cpython3_3.11/build/tests/test_util.py 
> _______
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in 
> _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:565: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1204: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:178: in 
> exec_module
>     exec(co, module.__dict__)
> tests/test_util.py:5: in <module>
>     import pkg_resources
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:118: in <module>
>     warnings.warn(
> E   DeprecationWarning: pkg_resources is deprecated as an API. See 
> https://setuptools.pypa.io/en/latest/pkg_resources.html
> _______ ERROR collecting .pybuild/cpython3_3.11/build/tests/util_test.py 
> _______
> /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
>     result: Optional[TResult] = func()
> /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
>     call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
> /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
>     self._inject_setup_module_fixture()
> /usr/lib/python3/dist-packages/_pytest/python.py:545: in 
> _inject_setup_module_fixture
>     self.obj, ("setUpModule", "setup_module")
> /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
>     self._obj = obj = self._getobj()
> /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
>     return self._importtestmodule()
> /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule
>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:565: in import_path
>     importlib.import_module(module_name)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1204: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:178: in 
> exec_module
>     exec(co, module.__dict__)
> tests/util_test.py:5: in <module>
>     import test_util
> <frozen importlib._bootstrap>:1176: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:690: in _load_unlocked
>     ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:178: in 
> exec_module
>     exec(co, module.__dict__)
> tests/test_util.py:5: in <module>
>     import pkg_resources
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:118: in <module>
>     warnings.warn(
> E   DeprecationWarning: pkg_resources is deprecated as an API. See 
> https://setuptools.pypa.io/en/latest/pkg_resources.html
> =========================== short test summary info 
> ============================
> ERROR tests/json_util_test.py - DeprecationWarning: pkg_resources is 
> deprecat...
> ERROR tests/jwa_test.py - DeprecationWarning: pkg_resources is deprecated as 
> ...
> ERROR tests/jwk_test.py - DeprecationWarning: pkg_resources is deprecated as 
> ...
> ERROR tests/jws_test.py - DeprecationWarning: pkg_resources is deprecated as 
> ...
> ERROR tests/test_util.py - DeprecationWarning: pkg_resources is deprecated 
> as...
> ERROR tests/util_test.py - DeprecationWarning: pkg_resources is deprecated 
> as...
> !!!!!!!!!!!!!!!!!!! Interrupted: 6 errors during collection 
> !!!!!!!!!!!!!!!!!!!!
> ============================== 6 errors in 1.12s 
> ===============================
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=2: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/07/26/python-josepy_1.13.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to