Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618898 - app-crypt/certbot-0.14.1: missing dependency for dev-python/idna>=2.1
Summary: app-crypt/certbot-0.14.1: missing dependency for dev-python/idna>=2.1
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: zlg (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2017-05-19 06:49 UTC by Clemens Kaposi
Modified: 2017-11-06 22:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Working ebuild with missing dependency added (certbot-0.14.1-r1.ebuild,1.50 KB, text/plain)
2017-05-19 06:51 UTC, Clemens Kaposi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Clemens Kaposi 2017-05-19 06:49:56 UTC
Executing `certbot renew` with the latest app-crypt/certbot-0.14.1 results in an exception due to a missing dependency; see below.  Adding `>=dev-python/idna-2.1[${PYTHON_USEDEP}]` to the ebuilds `RDEPEND` solves the problem.

* * *

Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 654, in _build_master
    ws.require(__requires__)
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 968, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 859, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (idna 2.0 (/usr/lib64/python3.4/site-packages), Requirement.parse('idna>=2.1'), {'cryptography'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.4/certbot", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 3030, in <module>
    @_call_aside
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 3014, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 3043, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 656, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 669, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 854, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'idna>=2.1' distribution was not found and is required by cryptography


Reproducible: Always
Comment 1 Clemens Kaposi 2017-05-19 06:51:03 UTC
Created attachment 473196 [details]
Working ebuild with missing dependency added
Comment 2 Manuel Rüger (RETIRED) gentoo-dev 2017-06-13 18:34:57 UTC
This looks more like a missing dependency in dev-python/cryptography.
Comment 3 Pacho Ramos gentoo-dev 2017-07-24 09:11:22 UTC
Does installing dev-python/cryptography solve the issue?
Comment 4 zlg (RETIRED) gentoo-dev 2017-11-06 22:25:30 UTC
Added maintainers.

Clemens: ping wrt dev-python/cryptography?
Comment 5 zlg (RETIRED) gentoo-dev 2017-11-06 22:29:43 UTC
I just checked the ebuild for 0.19.0 (0.14.1 isn't in tree) and it depends on dev-python/cryptography.

Closing. Reopen if you experience the same problem.