maintainer-feedback requested: [Bug 262804] security/py-certbot fails to build after py-idna upgrade to 3.3

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 25 Mar 2022 16:48:31 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python (Nobody)
<python@FreeBSD.org> for maintainer-feedback:
Bug 262804: security/py-certbot fails to build after py-idna upgrade to 3.3
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262804



--- Description ---
copying certbot/tests/testdata/sample-archive-ec/fullchain1.pem ->
build/lib/certbot/tests/testdata/sample-archive-ec
copying certbot/tests/testdata/sample-archive-ec/privkey1.pem ->
build/lib/certbot/tests/testdata/sample-archive-ec
(cd /wrkdirs/usr/ports/security/py-certbot/work-py38/certbot-1.22.0/docs && 
sphinx-build-3.8 -N -b man . _build/man)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line
568, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line
886, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line
777, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (idna 3.3
(/usr/local/lib/python3.8/site-packages), Requirement.parse('idna<3,>=2.5'),
{'requests'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/sphinx-build-3.8", line 33, in <module>
    sys.exit(load_entry_point('Sphinx==4.3.1', 'console_scripts',
'sphinx-build')())
  File "/usr/local/bin/sphinx-build-3.8", line 25, in
importlib_load_entry_point
    return next(matches).load()
  File "/usr/local/lib/python3.8/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/local/lib/python3.8/site-packages/sphinx/cmd/build.py", line 25,
in <module>
    from sphinx.application import Sphinx
  File "/usr/local/lib/python3.8/site-packages/sphinx/application.py", line 43,
in <module>
    from sphinx.registry import SphinxComponentRegistry
  File "/usr/local/lib/python3.8/site-packages/sphinx/registry.py", line 24, in
<module>
    from pkg_resources import iter_entry_points
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line
3243, in <module>
    def _initialize_master_working_set():
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line
3226, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line
3255, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line
570, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line
583, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line
772, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'idna<3,>=2.5' distribution was not
found and is required by requests
*** Error code 1

Stop.
make: stopped in /usr/ports/security/py-certbot
=>> Cleaning up wrkdir
===>  Cleaning for py38-certbot-1.22.0,1
build of security/py-certbot@py38 | py38-certbot-1.22.0,1 ended at Fri Mar 25
17:33:18 CET 2022
build time: 00:01:14
!!! build failure encountered !!!