Bug#1026537: python-certbot: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 returned exit code 13
Hi Harlan (2022.12.20_14:24:23_-0400) > This error stems from the .egg-info file being shipped as part of > python3-cffi, but the python3-cryptography lib only having Depends on the > cffi backend lib. I suspect the best thing to do here is to patch out that dependency. It doesn't need python3-cffi at runtime (I assume). This is just pkg_resources being annoying. SR -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272
Bug#1026537: python-certbot: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 returned exit code 13
reassign 1026537 python-cryptography 38.0.4-1 retitle 1026537 python-cryptography fails to depend on python3-cffi affects 1026537 python-certbot thanks On Tue, Dec 20, 2022 at 12:12 Lucas Nussbaum wrote: > > I: pybuild base:240: cd > /<>/.pybuild/cpython3_3.10_certbot/build; python3.10 -m pytest > tests > > = test session starts > == > > platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack > > rootdir: /<> > > collected 967 items / 1 error > > > > ERRORS > > > ___ ERROR collecting > .pybuild/cpython3_3.10_certbot/build/tests/cli_test.py > > tests/cli_test.py:21: in > > PLUGINS = disco.PluginsRegistry.find_all() > > certbot/_internal/plugins/disco.py:192: in find_all > > cls._load_entry_point(entry_point, plugins) > > certbot/_internal/plugins/disco.py:199: in _load_entry_point > > plugin_ep = PluginEntryPoint(entry_point) > > certbot/_internal/plugins/disco.py:40: in __init__ > > self.plugin_cls: Type[interfaces.Plugin] = entry_point.load() > > /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2470: in load > > self.require(*args, **kwargs) > > /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2493: in require > > items = working_set.resolve(reqs, env, installer, extras=self.extras) > > /usr/lib/python3/dist-packages/pkg_resources/__init__.py:795: in resolve > > raise DistributionNotFound(req, requirers) > > E pkg_resources.DistributionNotFound: The 'cffi>=1.12' distribution > was not found and is required by cryptography > > === short test summary info > > > ERROR tests/cli_test.py - pkg_resources.DistributionNotFound: The > 'cffi>=1.12... > > Interrupted: 1 error during collection > > > === 1 error in 1.43s > === This error stems from the .egg-info file being shipped as part of python3-cffi, but the python3-cryptography lib only having Depends on the cffi backend lib. Morph, can you take a peek at this? Thanks! Sincerely, — Harlan Lieberman-Berg ~hlieberman > -- Harlan Lieberman-Berg ~hlieberman
Bug#1026537: python-certbot: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 returned exit code 13
Source: python-certbot Version: 2.1.0-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20221220 ftbfs-bookworm Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<>' > mkdir -p debian/certbot/usr/bin debian/certbot/etc/letsencrypt > mv debian/python3-certbot/usr/bin/* debian/certbot/usr/bin > rm -rf debian/python3-certbot/usr/bin > mv debian/cli.ini debian/certbot/etc/letsencrypt/cli.ini > 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 > making output directory... done > loading intersphinx inventory from https://docs.python.org/objects.inv... > loading intersphinx inventory from > https://acme-python.readthedocs.org/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 : > HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded > with url: /objects.inv (Caused by ProxyError('Cannot connect to proxy.', > NewConnectionError(' 0x7f40b159bfa0>: 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://acme-python.readthedocs.org/en/latest/objects.inv' not fetchable due > to : > HTTPSConnectionPool(host='acme-python.readthedocs.org', port=443): Max > retries exceeded with url: /en/latest/objects.inv (Caused by > ProxyError('Cannot connect to proxy.', > NewConnectionError(' 0x7f40b159ba60>: 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 40 source files that are out of date > updating environment: [new config] 40 added, 0 changed, 0 removed > reading sources... [ 2%] api > reading sources... [ 5%] api/certbot > reading sources... [ 7%] api/certbot.achallenges > reading sources... [ 10%] api/certbot.compat > reading sources... [ 12%] api/certbot.compat.filesystem > reading sources... [ 15%] api/certbot.compat.misc > reading sources... [ 17%] api/certbot.compat.os > reading sources... [ 20%] api/certbot.crypto_util > reading sources... [ 22%] api/certbot.display > reading sources... [ 25%] api/certbot.display.ops > reading sources... [ 27%] api/certbot.display.util > reading sources... [ 30%] api/certbot.errors > reading sources... [ 32%] api/certbot.interfaces > reading sources... [ 35%] api/certbot.main > reading sources... [ 37%] api/certbot.ocsp > reading sources... [ 40%] api/certbot.plugins > reading sources... [ 42%] api/certbot.plugins.common > reading sources... [ 45%] api/certbot.plugins.dns_common > reading sources... [ 47%] api/certbot.plugins.dns_common_lexicon > reading sources... [ 50%] api/certbot.plugins.dns_test_common > reading sources... [ 52%] api/certbot.plugins.dns_test_common_lexicon > reading sources... [ 55%] api/certbot.plugins.enhancements > reading sources... [ 57%] api/certbot.plugins.storage > reading sources... [ 60%] api/certbot.plugins.util > reading sources... [ 62%] api/certbot.reverter > reading sources... [ 65%] api/certbot.tests > reading sources... [ 67%] api/certbot.tests.acme_util > reading sources... [ 70%] api/certbot.tests.util > reading sources... [ 72%] api/certbot.util > reading sources... [ 75%] ciphers > reading sources... [ 77%] compatibility > reading sources... [ 80%] contributing > reading sources... [ 82%] index > reading sources... [ 85%] install > reading sources... [ 87%] intro > reading sources... [ 90%] man/certbot > reading sources... [ 92%] packaging > reading sources... [ 95%] resources > reading sources... [ 97%] using > reading sources... [100%] what > > looking for now-outdated files... none found > pickling environment... done > checking consistency... done > preparing documents... done > writing output... [ 2%] api > writing output... [ 5%] api/certbot > writing output... [ 7%] api/certbot.achallenges > writing output... [ 10%] api/certbot.compat > writing output... [ 12%] api/certbot.compat.filesystem > writing output... [ 15%] api/certbot.compat.misc > writing output... [ 17%] api/certbot.compat.os > writing output... [ 20%] api/certbot.crypto_util > writing output... [ 22%] api/certbot.display > writing output... [ 25%] api/certbot.display.ops > writing output... [ 27%] api/certbot.display.util > writing output... [ 30%] api/certbot.errors > writing output... [ 32%] api/certbot.interfaces > writing output... [ 35%] api/certbot.main > writing output... [ 37%] api/certbot.ocsp > writing output... [ 40%] api/certbot.plugins > writing output... [ 42%] api/certbot.plugins.common > writing output... [ 45%] api/certbot.plugins.dns_common > writing output... [ 47%]