Poetry is taking first wheel metadata only and thus fails to find package #8531
-
Hi everyone, I didn't know where I should be posting this question, we have a python library packaged and uploaded on an internal repository (Artifactory). With poetry using the first wheel it finds to extract the metadata, it fails to find the package version compatible with Python 3.6/numpy 1.17 Here is an example :
Here is my poetry env info
The first package in the list is the package for Python 3.10 and poetry reports a version solving failed due to numpy requirement not satisfied. Am I not using correctly ? How am I supposed to handle this, any suggestions are welcome. Best, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
All your wheels should have the same requirements using environment markers like
|
Beta Was this translation helpful? Give feedback.
-
I do have similar problem with my packages. I have a two package that requires specific CPython version (Actually 4, two per specific OS): In the main pyproject:
executing poetry lock:
Why isn’t Poetry aware about the cp311 wheel there? Should both wheels have requires-python >=3.10,< 3.12? |
Beta Was this translation helpful? Give feedback.
All your wheels should have the same requirements using environment markers like