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. Declared Python upper bounds are always kept. 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.3

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.3
File Size Uploaded Provenance Actions
update_dependencies-0.1.3.tar.gz 85.8 kB With provenance Details for update_dependencies-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 128.3 kB

Release files / update_dependencies-0.1.3.tar.gz

Download URL update_dependencies-0.1.3.tar.gz
Size 85.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1469d3811923a0d10e67f4b2bc2f11645dfa15a01f6d544b775512dbd4940ec1
BLAKE2b-256 checksum
How to use checksums
7c6565312f0e29486cb4549b65846f600d47ce301d23826810adfbc9fbb0c276
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 4, 2026.

Transparency log

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

Download URL update_dependencies-0.1.3-py3-none-any.whl
Size 42.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96e626e12217c66db949683790fa0a6a62eb5e45664d21b8e166d1de34ea93ba
BLAKE2b-256 checksum
How to use checksums
eae1d011ef1089bd9927d8fc6738acb08f6bc64074acbea27fa88dedf220d730
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 4, 2026.

Transparency log

Security for update-dependencies 0.1.3

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.3.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 4, 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