-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Use
just
to update dependencies (#1238)
- Loading branch information
1 parent
7e246f2
commit a143c5b
Showing
13 changed files
with
99 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Updating dependencies | ||
|
||
The easiest way to update dependencies is to use the the [`just`][just] command. This command will update all dependencies to the latest version. | ||
|
||
Along with the `just` command line tool, you'll need to have [`uv`][uv] installed. | ||
|
||
[just]: https://just.systems/man/en/prerequisites.html | ||
[uv]: https://docs.astral.sh/uv/getting-started/installation/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Justfile | ||
|
||
default_python := '3.13' | ||
|
||
# Command to update all dependencies | ||
update-all py=default_python: (update-github-actions py) (update-pre-commit-hooks py) refresh-uv-lock (update-lock-files py) | ||
|
||
# Command to update GitHub actions using gha-update | ||
update-github-actions py=default_python: | ||
-uvx --python={{py}} gha-update | ||
|
||
# Command to update pre-commit hooks | ||
update-pre-commit-hooks py=default_python: | ||
-uvx --python={{py}} pre-commit autoupdate | ||
|
||
# Command to refresh uv.lock | ||
refresh-uv-lock: | ||
-uv lock --upgrade | ||
|
||
# Update lock files | ||
update-lock-files py=default_python: | ||
-uvx --python={{py}} pre-commit run uv-export | ||
-uvx --python={{py}} pre-commit run pip-compile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
# This file was autogenerated by uv via the following command: | ||
# uv pip compile pyproject.toml --universal --resolution highest -o requirements/requirements-highest.txt | ||
# uv export --frozen --output-file=requirements/requirements-highest.txt --no-dev --no-hashes --no-emit-project | ||
certifi==2024.12.14 | ||
# via requests | ||
charset-normalizer==3.4.0 | ||
# via requests | ||
idna==3.10 | ||
# via requests | ||
requests==2.32.3 | ||
# via citric (pyproject.toml) | ||
urllib3==2.2.3 | ||
# via requests | ||
urllib3==2.2.3 ; python_full_version < '3.9' | ||
urllib3==2.3.0 ; python_full_version >= '3.9' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.