[MacPorts] #61283: fava @1.14_0 pkg_resources.ContextualVersionConflict: (rsa 4.6 (/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages), Requirement.parse('rsa<4.1, >=3.1.4'), {'google-auth'})
MacPorts
noreply at macports.org
Wed Oct 7 12:31:06 UTC 2020
#61283: fava @1.14_0 pkg_resources.ContextualVersionConflict: (rsa 4.6
(/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages), Requirement.parse('rsa<4.1,>=3.1.4'), {'google-auth'})
-------------------------+--------------------
Reporter: riffraff | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Keywords: google-auth | Port: fava
-------------------------+--------------------
I just attempted installing fava and hit this when running it, apparently
due to some google-auth incompatibility.
The full stack trace is
{{{
$ fava
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/pkg_resources/__init__.py", line 567, in _build_master
ws.require(__requires__)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/pkg_resources/__init__.py", line 884, in require
needed = self.resolve(parse_requirements(requirements))
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/pkg_resources/__init__.py", line 775, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (rsa 4.6
(/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages), Requirement.parse('rsa<4.1,>=3.1.4'), {'google-auth'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/local/bin/fava", line 6, in <module>
from pkg_resources import load_entry_point
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/pkg_resources/__init__.py", line 3239, in <module>
def _initialize_master_working_set():
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/pkg_resources/__init__.py", line 3222, in _call_aside
f(*args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/pkg_resources/__init__.py", line 3251, in
_initialize_master_working_set
working_set = WorkingSet._build_master()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/pkg_resources/__init__.py", line 569, in _build_master
return cls._build_from_requirements(__requires__)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/pkg_resources/__init__.py", line 582, in
_build_from_requirements
dists = ws.resolve(reqs, Environment())
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/pkg_resources/__init__.py", line 770, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'rsa<4.1,>=3.1.4' distribution was
not found and is required by google-auth
}}}
I ran selfupdate + upgrade outdated but I don't see a change.
Running on a macbook pro, recent macOS
{{{
$ uname -a
Darwin gabrieles-mbp-2 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18
20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61283>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list