Opened 4 years ago

Closed 2 years ago

#61283 closed defect (fixed)

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'})

Reported by: riffraff (Gabriele Renzi) Owned by: macports@…
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: fava

Description

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

Change History (5)

comment:1 Changed 4 years ago by mf2k (Frank Schima)

In the future, please add the port maintainer(s) to Cc (port info --maintainers fava), if any.

comment:2 Changed 4 years ago by mf2k (Frank Schima)

Keywords: google-auth removed
Owner: set to mrdomino
Status: newassigned

comment:3 Changed 4 years ago by riffraff (Gabriele Renzi)

I will try to remember, thank you.

comment:4 Changed 3 years ago by l2dy (Zero King)

Owner: changed from mrdomino to macports@…

comment:5 Changed 2 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

In a6bcf4ac7a0bc647f6cef5c485022723c36018d0/macports-ports (master):

fava: update to 1.21, use Python 3.10

Closes: #61283

Note: See TracTickets for help on using tickets.