Skip to main content

bump-deps-index

PyPI Supported Python versions check Documentation Status Downloads

Update pinned Python and JavaScript dependencies against their package indexes while preserving each file's layout.

Install

pipx install bump-deps-index

Use

Run the command in a project root to update every supported file it finds:

bump-deps-index

Pass package specifications to inspect them without editing files:

bump-deps-index 'httpx>=0.27' prettier@3.0.0

Use --file to limit updates. Supported inputs include pyproject.toml, tox.toml, tox.ini, setup.cfg, package.json, .pre-commit-config.yaml, Python scripts with PEP 723 metadata, and requirements files. Without --file you get the files whose names start with requirements or constraints and end in .txt or .in; with --file you can name any such file, such as dev-requirements.txt. You get a non-zero exit code when you have no file to update.

Without --index-url you get the index from PIP_INDEX_URL, UV_DEFAULT_INDEX or UV_INDEX_URL, then the default index of the nearest uv.toml or [tool.uv] table, then index-url from your pip configuration, then your user uv.toml. With an --index-url or -i line in a requirements file, or in a file it includes with -r, you get updates from that index. For a named uv index you send the credentials from UV_INDEX_<NAME>_USERNAME and UV_INDEX_<NAME>_PASSWORD.

For the pyproject.toml of a project, with the settings of its workspace root, and for a PEP 723 script with its own [tool.uv] table, you follow uv and take a package from the first index that has it: the indexes of UV_INDEX and UV_EXTRA_INDEX_URL, then the [[tool.uv.index]] entries that are neither default nor explicit, then the default index. For a package [tool.uv.sources] pins to an index, you query that index alone; for one from git, a path or a URL, you keep the spec.

For the other Python files you follow pip and merge the releases of the default index with those of the extra indexes from PIP_EXTRA_INDEX_URL, extra-index-url in your pip configuration and --extra-index-url lines.

Without --npm-registry you get NPM_CONFIG_REGISTRY, then registry from the .npmrc in the working directory, then from your user .npmrc. From those files you get the @scope:registry of a scoped package and the _authToken, _auth or username and _password credentials of each registry. As npm does, you get ${NAME} from the environment, and keep it as written when NAME is unset; you read ${NAME?} as empty then.

Set [project].requires-python in a pyproject.toml and you get Python updates from distributions that support the oldest interpreter you allow there, for files in that directory and its subdirectories. For a PEP 723 script with its own requires-python, you get updates for that range. Without either field, you get the newest release on the index.

For a package you name on the command line, you get the requires-python floor and the [tool.uv.sources] index pins of the project in the working directory. By default you accept pre-releases in .pre-commit-config.yaml and stable releases in the other files; -p yes or -p no sets one rule for all of them.

For an == pin you move to the highest release the other specifiers allow, or leave the pin as written, and you keep wildcards at their depth, so you go from ==1.* to ==2.*. You move a pin with a local label, such as ==1.0+cpu, only to a release with the same label. On ~= bounds you keep the precision you wrote, so you go from ~=1.4 to ~=1.9. You keep hashed requirements as you wrote them, since you would need new hashes for a new version.

On npm ranges you stay inside the range, so ^1.2.0 goes to the newest 1.x release and ~1.2.0 to the newest 1.2.x. You get the newest release for >=1.2.0 and for a full or partial version, and you leave ranges such as 1 || 2, latest or an empty one untouched. As npm does, you get the latest dist-tag over a newer release when it fits the range. In package.json you get updates for dependencies, devDependencies and optionalDependencies.

In .pre-commit-config.yaml, you get PyPI updates for python hooks and npm updates for node hooks, and no updates for hooks in other languages. For a remote hook without a language, you get the language from the .pre-commit-hooks.yaml of its GitHub or GitLab repository at rev; when that file is out of reach, you get a guess from the shape of the dependency. You see changes on disk for files with a new version, with their line endings intact.

See the documentation for all options.

Metadata

Release files for bump-deps-index 1.17.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bump-deps-index 1.17.2
File Size Uploaded Provenance
bump_deps_index-1.17.2.tar.gz 93.8 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bump-deps-index 1.17.2
File Interpreter ABI Platform
bump_deps_index-1.17.2-py3-none-any.whl Python 3 none any Details

Total release size: 137.3 kB

Release files / bump_deps_index-1.17.2.tar.gz

Download URL bump_deps_index-1.17.2.tar.gz
Size 93.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3705c20f209bb4e3a28f6e9d36d1b322ff0ec07db3d3c3527f8f0f8c83afdfcb
BLAKE2b-256 checksum
How to use checksums
7382986f0c6351b65023b887ae47918976284e9b9c208c1980adbae7be84c67d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Release files / bump_deps_index-1.17.2-py3-none-any.whl

Download URL bump_deps_index-1.17.2-py3-none-any.whl
Size 43.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3474917af392abc0a6ad027adb3fa36ef916443d13446da6a4214be7127033cb
BLAKE2b-256 checksum
How to use checksums
9a49e0f85e2f05accd98ec61b31faedb9ee9450011eaa4afa6dc2f8d79629723
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Security for bump-deps-index 1.17.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bump_deps_index-1.17.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.17.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page