finds packages that prevent upgrading a transitive dependency
Project description
pip-blame
finds packages that prevent upgrading a transitive dependency
install
pip install pip-blame
usage
pip-blame NAME
it will fetch the latest version of the package from pypi and compare it against the requirement specifiers declared by the installed packages.
then it will highlight the dependencies that need relaxing their requirements, as well as provide links to open new issues where repo links can be found in the metadata.
philosophy
when making a library, prefer >=
specifiers for requirements.
capping dependencies scales poorly when you build a project with dependencies by multiple maintainers. everyone has been through the dependency hell.
every person has a different understanding of semver.
you simply cannot predict that your library breaks with a patch release from a change so small it didn't make it to the changelog, or that it would still function with the next major release.
swim upstream to freshness.
not capping requirements allows you to find out when things break earlier and keep the requirements fresh. people who rely on your work as a building block will be thankful as they spend less time pulling their hair.
overrides as a last resort.
if you struggle with a transitive dependency, use depencency overrides feature of uv
. it allows you to lie to the resolver and install the version you know that works.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pip_blame-0.2.1.tar.gz
.
File metadata
- Download URL: pip_blame-0.2.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77da2011087116e51ef8552b4cdf9d796c68c09834637eb5282db3e7b563173e |
|
MD5 | 4e33d8bfba88636f0648fea3a334fbc0 |
|
BLAKE2b-256 | 732caae2295059e1b0362ac1dab79f62d4b129a630de1cd753d90f66addc05b7 |
File details
Details for the file pip_blame-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: pip_blame-0.2.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5670e02c44f1ed1612861060d1a933cd6e7efbc64840144eb2cdfaac1d062bb |
|
MD5 | 8d7a89551a2a43a9f53a0b0c690897d8 |
|
BLAKE2b-256 | 84c21510580ad80c1443c9e13cfbfa87dfedb21baf8100771a9d97695269dd55 |