Skip to content

Commit

Permalink
MAINT: update lock files (#536)
Browse files Browse the repository at this point in the history
* DX: outsource cron job to pre-commit.ci
* DX: switch to Python 3.12 in developer environment

---------

Co-authored-by: GitHub <[email protected]>
  • Loading branch information
redeboer and web-flow authored Nov 7, 2024
1 parent 010faa3 commit 5943fcc
Show file tree
Hide file tree
Showing 7 changed files with 154 additions and 161 deletions.
2 changes: 1 addition & 1 deletion .binder/runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.10
python-3.12
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
id-token: write
with:
apt-packages: graphviz
python-version: "3.10"
specific-pip-packages: ${{ inputs.specific-pip-packages }}
pytest:
uses: ComPWA/actions/.github/workflows/[email protected]
Expand All @@ -48,5 +47,3 @@ jobs:
secrets:
token: ${{ secrets.PAT }}
uses: ComPWA/actions/.github/workflows/[email protected]
with:
python-version: "3.10"
2 changes: 0 additions & 2 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ on:
paths:
- .pre-commit-config.yaml
- uv.lock
schedule:
- cron: "0 3 7 */1 *"
workflow_dispatch:

jobs:
Expand Down
15 changes: 7 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,15 @@ repos:
- id: check-useless-excludes

- repo: https://github.com/ComPWA/policy
rev: 0.5.5
rev: 0.5.6
hooks:
- id: check-dev-files
args:
- --dev-python-version=3.10
- --doc-apt-packages=graphviz
- --environment-variables=PYTHONHASHSEED=0
- --repo-name=tensorwaves
- --repo-title=TensorWaves
- --update-lock-files=monthly
- --update-lock-files=outsource
- id: colab-toc-visible
- id: fix-nbformat-version
- id: remove-empty-tags
Expand All @@ -34,7 +33,7 @@ repos:
- --extras-require=doc,jax,pwa,viz

- repo: https://github.com/kynan/nbstripout
rev: 0.7.1
rev: 0.8.0
hooks:
- id: nbstripout
args:
Expand Down Expand Up @@ -62,7 +61,7 @@ repos:
metadata.vscode
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.1
rev: v0.7.2
hooks:
- id: ruff
args: [--fix]
Expand Down Expand Up @@ -128,7 +127,7 @@ repos:
pass_filenames: false

- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v8.15.2
rev: v8.15.3
hooks:
- id: cspell

Expand All @@ -154,11 +153,11 @@ repos:
- python

- repo: https://github.com/ComPWA/pyright-pre-commit
rev: v1.1.386
rev: v1.1.388
hooks:
- id: pyright

- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.4.28
rev: 0.4.30
hooks:
- id: uv-lock
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10
3.12
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-24.04
tools:
python: "3.10"
python: "3.12"
commands:
- |-
export PIXI_HOME=$READTHEDOCS_VIRTUALENV_PATH
Expand Down
289 changes: 144 additions & 145 deletions uv.lock

Large diffs are not rendered by default.

0 comments on commit 5943fcc

Please sign in to comment.