Skip to content

How does one specify a dependency with a dash (or any non-canonical character) in its name? #7062

Discussion options

You must be logged in to vote

This is a solved bug and you're on an ancient version of Poetry. Please update to a supported version (e.g. the 1.2 branch) and try again.

$ docker run --rm -it --entrypoint bash python:3.10
# pip install poetry==1.2.2
# poetry new repro && cd repro
# poetry add scikit-learn
[...]
  • Installing numpy (1.23.4)
  • Installing joblib (1.2.0)
  • Installing scipy (1.9.3)
  • Installing threadpoolctl (3.1.0)
  • Installing scikit-learn (1.1.3)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by neersighted
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants