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.

Interactive CLI runs use Rich colors and dependency tables. Add --plain for unstyled logs, or configure plain = true. The GitHub Action defaults to plain output; JSON remains unchanged.

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 .
go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.12
uv build
uv run python .github/scripts/verify_dist.py

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.

Start a release from Actions → Release → Run workflow on the default branch. Choose patch (default), minor, or major. After validation, automation opens a version PR. After you merge it and default-branch CI passes, automation tags the tested merged commit, publishes through the protected pypi environment, then creates the GitHub release. See release setup for GitHub permissions, approval, and retry steps.

Metadata

Release files for update-dependencies 0.1.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 update-dependencies 0.1.2
File Size Uploaded Provenance Actions
update_dependencies-0.1.2.tar.gz 85.3 kB With provenance Details for update_dependencies-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 127.8 kB

Release files / update_dependencies-0.1.2.tar.gz

Download URL update_dependencies-0.1.2.tar.gz
Size 85.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c4faf229be833ae549bf4bb0ef3e93d55dbc1b44db8e2714cf665e9c260878c0
BLAKE2b-256 checksum
How to use checksums
1d1b9d919feddfb939cb37a1cc2ec0f1acfb083a673438cfb2bcea50d511c2e4
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 Nov 1, 2026.

Transparency log

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

Download URL update_dependencies-0.1.2-py3-none-any.whl
Size 42.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c752a249f9c6486805bce99b6349909c5206c523f8f9baa73c0ed40e6ad0df1
BLAKE2b-256 checksum
How to use checksums
eddf61865bcf296d191ffd5094a862978f986eee69886ee56e28e93de61cf67f
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 Nov 1, 2026.

Transparency log

Security for update-dependencies 0.1.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

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

Select from 2 files

Attestation for update_dependencies-0.1.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 Nov 1, 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