[Bug 253935] py37-openssl-0.20.1: requires py37-cryptography >= 3.2
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Mar 1 14:39:49 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253935
Bug ID: 253935
Summary: py37-openssl-0.20.1: requires py37-cryptography >= 3.2
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: yom at iaelu.net
py37-certbot and py37-certbot-dns-rfc2136 requires py37-openssl.
packages are set to latest.
upgraded today, and it installed py37-openssl-0.20.1.
It seems that python package requires py-cryptography >= 3.2, and only 2.9.2 is
installed.
Then running certbot exits on a trackback:
```
Traceback (most recent call last):
File
"/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583,
in _build_master
ws.require(__requires__)
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 900, in require
needed =
self.resolve(parse_requirements(requirements))
File
"/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 791,
in resolve
raise VersionConflict(dist,
req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (cryptography 2.9.2
(/usr/local/lib/python3.7/site-packages),
Requirement.parse('cryptography>=3.2'), {'PyOpenSSL'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/usr/local/bin/certbot", line 6, in <module>
from pkg_resources import
load_entry_point
File
"/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3251,
in <module>
@_call_aside
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 3235, in _call_aside
f(*args, **kwargs)
File
"/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3264,
in _initialize_master_working_set
working_set =
WorkingSet._build_master()
File
"/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 585,
in _build_master
return
cls._build_from_requirements(__requires__)
File
"/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 598,
in _build_from_requirements
dists = ws.resolve(reqs,
Environment())
File
"/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 791,
in resolve
raise VersionConflict(dist,
req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (cryptography 2.9.2
(/usr/local/lib/python3.7/site-packages),
Requirement.parse('cryptography>=3.2'), {'PyOpenSSL'})
```
To fix, I had to deinstall py37-openssl-0.20.1 and reinstall
py37-openssl-0.19.1 from package cache on my server.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list