python-poetry / python-poetry/poetry
Display a message for packages that don't have PyPI requirements
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.3k
- Forks
- 2.5k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 30
Description
The FAQ says:
This is due to the fact that not all libraries on PyPI have properly declared their metadata and, as such, they are not available via the PyPI JSON API. At this point, Poetry has no choice but to download the packages and inspect them to get the necessary information. This is an expensive operation, both in bandwidth and time, which is why it seems this is a long process.
This makes perfect sense. However, would it be possible for Poetry to let us know when a library on PyPI has not properly declared its metadata? That might allow various Poetry users to submit pull requests to these packages to resolve the problem for all users.
Something like:
Downloading and inspecting the dependency
some_librarybecause it has no metadata.
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 tracing the PyPI JSON API fallback where Poetry downloads and inspects packages with missing metadata. Done means Poetry displays a message identifying the dependency when this slower inspection path is used; the issue does not name a file or test to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 43/100