certbot now requires py-cryptography 1.9 or above (see also: bug #222519). The port should probably explicitly depend on py-cryptography>=1.9. Command output: % certbot Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 657, in _build_master ws.require(__requires__) File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 971, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 862, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (cryptography 1.7.2 (/usr/local/lib/python3.6/site-packages), Requirement.parse('cryptography>=1.9'), {'PyOpenSSL'}) File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3051, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 659, in _build_master return cls._build_from_requirements(__requires__) File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 672, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 862, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (cryptography 1.7.2 (/usr/local/lib/python3.6/site-packages), Requirement.parse('cryptography>=1.9'), {'PyOpenSSL'})
(In reply to Kamigishi Rei from comment #0) This it not bug of security/py-certbot. It happens because of security/py-openssl update. See bug #222520.
There's an update to 0.18.2 in progress for a separately reported issue. Will take a look. Thank you for your report Kamigishi
Apologies, meant to cc Carlos (acme maintainer)
The root cause is the recent py-openssl update [1], which shouldn't have landed before cryptography was updated to >= 1.9.0 as specified in requirements. Original committer is CC'd. I have a cryptography update in progress [1] http://svnweb.freebsd.org/changeset/ports/450350
Track both dependencies correctly
(In reply to Kubilay Kocak from comment #2) I created a new review to update py-{acme,certbot} to 0.18.2
Thanks @Carlos. Per comment 2 I already have the changes in progress (locally) for a separately reported issue. Would you like a review on acme changes (portversion/distinfo diff only) or would you like to provide implicit approval? Technically this issue has already been resolved after cryptography was updated to 2.0.3 (bug 222519).
(In reply to Kubilay Kocak from comment #7) Nice! I provide my implicit approval. Thanks Kubilay
Both dependent issues have now been resolved, which resolves this issue. Thank for your repoert Kamigishi
MARKED AS SPAM