python-poetry / python-poetry/poetry
Wheel file installation with specific tags
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.3k
- Forks
- 2.5k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 30
Description
- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption).
- OS version and name: Ubuntu 20.04
- Poetry version: 1.12
Issue
I want to install a package from a private repository. It provides the following versions:
- <name>-pp38-none-any.wheel
- <name>-cp38-none-any.wheel
I am using CPython 3.8.12. When I try to install the package withpoetry add <name>, poetry reports an error:
Unable to find installation candidates for <name>
Doing the same with pip install <name> works fine. It downloads the cp38-none-any.wheel and installs it.
I cannot understand why poetry does not accept the same wheel file.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with poetry add <name> against a private repository containing the two listed wheels, using CPython 3.8.12 and Poetry 1.12. Compare the candidate-selection behavior with pip install <name> and trace the package-resolution entry point. Done means Poetry accepts the compatible wheel and installs the package.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100