Skip to main content

finds packages that prevent upgrading a transitive dependency

Project description

pip-blame

finds packages that prevent upgrading a transitive dependency

pip-blame

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

pip_blame-0.2.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

pip_blame-0.2.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file pip_blame-0.2.2.tar.gz.

File metadata

  • Download URL: pip_blame-0.2.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for pip_blame-0.2.2.tar.gz
Algorithm Hash digest
SHA256 b4d7f59fe0996b84fdcfe31293c07f1179505e488d4cc9b4b4034b8f003b1955
MD5 84444325f1fa2cee7877f91ebaae3870
BLAKE2b-256 b9f904b100b4e52c7a071d6e00c51bbda80a166bc3203289065a085cbd5f1c8d

See more details on using hashes here.

File details

Details for the file pip_blame-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: pip_blame-0.2.2-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

Hashes for pip_blame-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2cd1a6e84364600a076bcc25b13ef0fa3065ccef2646bf0f82c1d6fc417b7fed
MD5 448330caa75537ca764ddbf026a15301
BLAKE2b-256 c75c277f3fa8ee01a59e5f4ff206f95cdf14abf0cf6b5a48916a31de6a8acdcd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page