Opened 2 years ago

Closed 2 years ago

#66109 closed defect (fixed)

pipenv fails on Monterey (arm64) due to broken py-distlib dependency

Reported by: noname-macports Owned by: Ludvig Holtze <ludvig.holtze@…>
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: python39 pipenv py-distlib Cc: fossils.mashers.0l@…, rdbisme (Ruben Di Battista), danchr (Dan Villiom Podlaski Christiansen)
Port: py-distlib

Description

Steps to reproduce from a clean install of MacPorts-2.8.0-12-Monterey.pkg on an M1 MacBook Pro:

$ sudo port install python39
$ sudo port select --set python python39
$ sudo port select --set python3 python39
$ sudo port install pipenv
$ pipenv --help

Output:

Traceback (most recent call last):
...
    raise VersionConflict(dist, req).with_context(dependent_req)
pipenv.patched.pip._vendor.pkg_resources.ContextualVersionConflict: (distlib 0.3.5 (/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages), Requirement.parse('distlib<1,>=0.3.6'), {'virtualenv'})

See attached file for the full stderr output from pipenv --help.

Attachments (1)

pipenv_help-output.txt (4.6 KB) - added by noname-macports 2 years ago.
Error output from pipenv --help

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by noname-macports

Attachment: pipenv_help-output.txt added

Error output from pipenv --help

comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: rdbisme danchr added
Priority: HighNormal

comment:2 Changed 2 years ago by Ludvig Holtze <ludvig.holtze@…>

Owner: set to Ludvig Holtze <ludvig.holtze@…>
Resolution: fixed
Status: newclosed

In 74233458ec85226db89d114fd8531eb09e09795b/macports-ports (master):

py-distlib: update to 0.3.6

Closes: #66109

Note: See TracTickets for help on using tickets.