Creates PRs for dependency updates in python projects
Project description
upgrade-dependencies
CLI tool to check for dependency updates in your python project. Automatically creates GitHub pull requests for dependencies you wish to update!
Usage
If you have uv installed, you can install upgrade-dependencies with
uv tool install upgrade-dependencies
You can then navigate to your project directory and execute:
uvx upgrade-dependencies [OPTIONS] COMMAND [ARGS]...
See the CLI documentation for information about how each command works.
Requirements
All python requirements are installed by default. To successfully use the update
command the following executables must be installed into your shell:
gitgh, i.e. GitHub CLI - ensure you have already rungh auth loginand added appropriate permissions
GitHub API Rate Limit
The GitHub API is used to fetch data for GitHub actions and pre-commit repos.
Unauthenticated users have a rate limit of 60 requests per hour, whereas authenticated
users have a rate limit of 5,000 requests per hour. You can use a GitHub personal access
token to utilise this higher rate limit by setting the GH_PAT environment variable:
export GH_PAT=github_pat_xxx
Limitations
- Currently only supports a single specifier, e.g.
numpy~=2.0.2, notnumpy>=2,<2.1 - The project file structure is fixed and assumed, see Project File Structure.
- GH actions must only use major version, e.g.
actions/checkout@v4notactions/checkout@v4.2.2 - It is recommended to have a clean git before running
update(a warning will be printed to the terminal if this is not the case).
Project File Structure
The following project file structure is assumed:
project
├── .github
│ └── workflows
│ └── *.yml
├── .pre-commit-config.yml
└── pyproject.toml
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file upgrade_dependencies-0.2.1.tar.gz.
File metadata
- Download URL: upgrade_dependencies-0.2.1.tar.gz
- Upload date:
- Size: 51.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32400ea1bdc9a4f9ee888ee071833e7cd4019b20c7498546b08424ff094eee82
|
|
| MD5 |
e88f2c1fec49680e0f13ac364a31dd65
|
|
| BLAKE2b-256 |
851021a2303347c988f3a53ad0be5b067448f5039a308ad14fa1200326009dd1
|
Provenance
The following attestation bundles were made for upgrade_dependencies-0.2.1.tar.gz:
Publisher:
release.yml on robbievanleeuwen/upgrade-dependencies
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
upgrade_dependencies-0.2.1.tar.gz -
Subject digest:
32400ea1bdc9a4f9ee888ee071833e7cd4019b20c7498546b08424ff094eee82 - Sigstore transparency entry: 177864449
- Sigstore integration time:
-
Permalink:
robbievanleeuwen/upgrade-dependencies@eb4e0a9b069c6754778be77c52ebfb584bca2dc9 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/robbievanleeuwen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@eb4e0a9b069c6754778be77c52ebfb584bca2dc9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file upgrade_dependencies-0.2.1-py3-none-any.whl.
File metadata
- Download URL: upgrade_dependencies-0.2.1-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e14545e63d487cbe272c054f0bbd1a8d9b7e59724391e2bbedf7a003cdd1c6b
|
|
| MD5 |
9b7a69e69797c309d2ab3927f544d449
|
|
| BLAKE2b-256 |
cf956d0281ea125fb0898091161e8e7a9e1577cd96a124274e2f12a610715c02
|
Provenance
The following attestation bundles were made for upgrade_dependencies-0.2.1-py3-none-any.whl:
Publisher:
release.yml on robbievanleeuwen/upgrade-dependencies
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
upgrade_dependencies-0.2.1-py3-none-any.whl -
Subject digest:
4e14545e63d487cbe272c054f0bbd1a8d9b7e59724391e2bbedf7a003cdd1c6b - Sigstore transparency entry: 177864465
- Sigstore integration time:
-
Permalink:
robbievanleeuwen/upgrade-dependencies@eb4e0a9b069c6754778be77c52ebfb584bca2dc9 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/robbievanleeuwen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@eb4e0a9b069c6754778be77c52ebfb584bca2dc9 -
Trigger Event:
push
-
Statement type: