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.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pip_blame-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 3587c25883bb22152dc745ab366420f7b10494efbcb7857f7e676674625c8812
MD5 05c4e41a8e0f54935e90c0cc6610d9a9
BLAKE2b-256 20af180398f93ff963c012dca62698c6446f2749e17c22e53d40be606c81a4f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pip_blame-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ed9b93265269695c3467a0c09aa547c24fa7b94a31f64eeac11608428e85cc8
MD5 e65f5f51b0980b49de6ec1d0281faa95
BLAKE2b-256 8a27469542ce7ef4080ba3bafb04475e110114e5e7c681a89a2f2f5a23b0fd35

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