Skip to main content

update-dependencies

Update Python dependencies and PEP 723 scripts, pin GitHub Actions to commit SHAs, refresh Docker image digests, and freeze pre-commit hook revisions.

Requires Python 3.14 (>=3.14,<3.15). Development and GitHub Actions also use 3.14. Managed repositories may target other Python versions; resolution follows their own metadata.

uv tool install update-dependencies
update-dependencies --directory /path/to/repository --dry-run
update-dependencies --ecosystems python,actions --no-allow-major

Before the first PyPI release, install from this checkout with uv tool install .. For interactive prompts, install uv tool install 'update-dependencies[tui]' and run update-dependencies --tui.

All ecosystems are selected by default. Major updates remain enabled for compatibility; set allow-major = false for a conservative policy. NO_AUTO_UPDATE in a same-line or immediately preceding comment preserves individual exclusions. Docker latest tags are left alone unless explicitly enabled.

Progress on stderr shows the current ecosystem, files/lookups, and elapsed times. Use --progress plain for logs or --progress off for quiet runs; JSON output stays on stdout.

Updates are prepared in a temporary copy before applying changes. Dry runs and checks leave target files untouched. Environment installation is opt-in (--sync). Python updates currently support uv projects/lockfiles and PEP 723 scripts; requirements.txt, Poetry, and Pipenv lockfiles are not supported.

GitHub Action

permissions:
  contents: read

steps:
  - uses: actions/checkout@v7
  - uses: jessegoodier/update-dependencies@v0.1.0
    with:
      config: update-dependencies.toml
      dry-run: 'true'
    env:
      GH_TOKEN: ${{ github.token }}

The release reference above becomes usable after the first release is pushed. Pin actions to full commit SHAs in production. The Action supports Linux hosted runners initially; it installs its own isolated Python tool environment and uses the package from the Action revision. It does not commit or open pull requests. See Action usage and configuration.

Development and releases

Ruff formats Python code with a line length of 110 characters.

uv sync --locked --all-extras
uv run pytest
uv run ruff check .
uv run ruff format --check .
uv build

scripts/update_dependencies.py is a compatibility launcher for an installed checkout. Run it with uv run python scripts/update_dependencies.py --help. The old root filename was moved to avoid shadowing the installed Python package.

Release by updating project.version, regenerating uv.lock, and pushing a matching vX.Y.Z tag. The release workflow builds, checks, installs, and smoke-tests both distribution formats before publishing through PyPI Trusted Publishing. Configure the PyPI trusted publisher for this repository, release.yml, and the pypi GitHub environment before publishing. No stored PyPI API token is needed. PyPI project-name availability/ownership must be confirmed by the publisher.

Metadata

Release files for update-dependencies 0.1.0

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

Source distribution (sdist)

Source distribution for update-dependencies 0.1.0
File Size Uploaded Provenance Actions
update_dependencies-0.1.0.tar.gz 47.6 kB With provenance Details for update_dependencies-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for update-dependencies 0.1.0
File Interpreter ABI Platform Actions
update_dependencies-0.1.0-py3-none-any.whl Python 3 none any Details for update_dependencies-0.1.0-py3-none-any.whl

Total release size: 88.6 kB

Release files / update_dependencies-0.1.0.tar.gz

Download URL update_dependencies-0.1.0.tar.gz
Size 47.6 kB
Tags Source
SHA-256 checksum
How to use checksums
68fd8a62be92d1b87c3863267ee457814ce951524c7ae0e3ade7667d2c7f75ed
BLAKE2b-256 checksum
How to use checksums
c98e2fa51fcc4b0ee62d148b980eb544c15584070e7ca1a4baf88f830f05a1b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 30, 2026.

Transparency log

Release files / update_dependencies-0.1.0-py3-none-any.whl

Download URL update_dependencies-0.1.0-py3-none-any.whl
Size 41.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c7870dfacafd74ee736527273f363034f25de865bd01c98a17cd8f46c625a65a
BLAKE2b-256 checksum
How to use checksums
34d07bf629168f823841ab5ba4efbad72664398a360f29ddb3b73404649ad247
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 30, 2026.

Transparency log

Security for update-dependencies 0.1.0

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for update_dependencies-0.1.0.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 30, 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.

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