Skip to main content

Publish to PyPI - GitHub Actions

Purpose

Occasionally, a new pip release is incompatible with the latest existing pip-tools release.

The purpose of this package is to make it easy to ensure compatible installations of the two tools.

Approach

Once the incompatible pip release hits, there may be a span of time during which pip-tools is not yet ready for its own release.

Upon or in advance of these events, this package will be swiftly published to PyPI, and will depend on:

  • pip-tools>=LATEST

  • pip<INCOMPATIBLE

This package will have no real content of its own.

Once a pip-tools version is released that is compatible with the latest pip release, this package will be published again, depending on:

  • pip-tools>=LATEST

  • pip

The pip-tools package itself sets the minimum pip version.

Versioning

Since this has no real code to version, we will version each release with the corresponding latest version of pip-tools, for clarity.

If a new release is needed without a pip-tools version bump, an extra version segment will be added. This is done by setting version_overflow in vars.json. Otherwise, version_overflow should be the empty string.

Warnings

This package is currently maintained by me, some guy you don’t know.

I am not going to anything malicious with this package, but depending on it without verifying its content is a risk you should beware.

Usage

$ pip install -U pip pip-tools pip-and-pip-tools

Maintenance

If anyone wants to take over maintenance of the package, or adopt it into a trusted organization, please open an issue.

Keeping it updated:

  • Install and setup [mise](https://mise.jdx.dev/)

  • Edit vars.json, and a hook defined in mise.toml should rewrite pyproject.toml. vars.json has three keys:

    • bad_pip_version: INCOMPATIBLE in the Approach section above, it’s either a pip version string to block updating to (or beyond), or the empty string when the latest pip release is compatible with pip-tools

    • latest_pip_tools_version: LATEST in the Approach section above, it’s a pip-tools minimum version string

    • Leave version_overflow set to the empty string unless you need a second release against the same pip-tools version, in which case use an integer string like "1".

  • Commit, tag, and push, with the tag being the release version, for example:

$ git commit vars.json pyproject.toml -m "block pip 26.1"
$ git tag 7.6.0
$ git push && git push --tags

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pip_and_pip_tools-7.6.0.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pip_and_pip_tools-7.6.0.1-py2.py3-none-any.whl (3.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pip_and_pip_tools-7.6.0.1.tar.gz.

File metadata

  • Download URL: pip_and_pip_tools-7.6.0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pip_and_pip_tools-7.6.0.1.tar.gz
Algorithm Hash digest
SHA256 3344b5cfb7b5a819b4bbba78322c142299bf9f47b5ee98f828509fc9765ac551
MD5 04a3b03190b540e51ea12172478a4626
BLAKE2b-256 d3458a21d825c529069493a0725cf796b0a6d2c1fdc1a45c9489e951ad40f071

See more details on using hashes here.

File details

Details for the file pip_and_pip_tools-7.6.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: pip_and_pip_tools-7.6.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pip_and_pip_tools-7.6.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f63599440d58cd7c6cabc33eca541be1d803d3c7bfc7c468378b5351d4de4326
MD5 fcd4f7b4326a17b56b9eb1f4db3f17fc
BLAKE2b-256 eff5d4d97ae815cd15f37d041b62def9f6318b91e002e40826a35ee5e142c05a

See more details on using hashes here.

Supported by

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