python-poetry / python-poetry/poetry
Add a check after running poetry build
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.3k
- Forks
- 2.5k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 30
Description
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Feature
Add a way to ensure a built wheel or sdist file is actually resolvable by poetry. I'm unsure of the implementation detail, it could be:
poetry build --check-resolvable
Or
poetry check
Or it could be a default on poetry build that warns you when the built file is not resolvable.
Why
This bug caused me a lot of headaches when trying to understand why poetry version resolving was failing. Having this check/warning would be of great help.
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
Start by reading the linked issue #6519 and the existing poetry build and poetry check entry points. Define whether the check belongs in the build command, a separate command, or a warning, and verify that built wheel and sdist files are resolvable by Poetry when done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100