How does one specify a dependency with a dash (or any non-canonical character) in its name? #7062
-
Example: This is a result of running Attempting to install generates:
Presumably it's the So, how does one do that? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
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) |
Beta Was this translation helpful? Give feedback.
-
Alright, yep, that's on me. My mistake: that poetry-version was coming from Thanks! |
Beta Was this translation helpful? Give feedback.
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.