[MacPorts] #64429: Python poetry dependency issues with 'keyring'

MacPorts noreply at macports.org
Thu Jan 13 16:12:48 UTC 2022


#64429: Python poetry dependency issues with 'keyring'
------------------------------+--------------------
 Reporter:  danieljamesscott  |      Owner:  (none)
     Type:  defect            |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:
 Keywords:                    |       Port:  poetry
------------------------------+--------------------
 When running poetry, I receive the following error:

 pkg_resources.DistributionNotFound: The 'keyring<22.0.0,>=21.2.0'
 distribution was not found and is required by poetry

 This seems to be caused by the file
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/poetry-1.1.12-py3.9.egg-info/requires.txt which contains
 this restriction.

 I currently have poetry 1.1.12 installed, which only appears to set a
 lower bound on keyring https://github.com/python-
 poetry/poetry/blob/master/pyproject.toml#L46 so I'm not sure where the
 upper limit is being set.

 Should this limit be set? Is it possible to remove/increase the upper
 bound of the dependency?

-- 
Ticket URL: <https://trac.macports.org/ticket/64429>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list