Skip to content

Commit

Permalink
MAINT: update lock files (#302)
Browse files Browse the repository at this point in the history
* DX: outsource cron job to pre-commit.ci
* DX: set `PYTHONHASHSEED=0`
* 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 846d4ad commit 4f5c801
Show file tree
Hide file tree
Showing 8 changed files with 157 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.9
python-3.12
2 changes: 2 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
uv sync --all-extras --quiet
source .venv/bin/activate

export PYTHONHASHSEED=0
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.9"
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.9"
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
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +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.9
- --doc-apt-packages=graphviz
- --environment-variables=PYTHONHASHSEED=0
- --repo-name=qrules
- --repo-title=QRules
- --update-lock-files=monthly
- --update-lock-files=outsource
- id: colab-toc-visible
- id: fix-nbformat-version
- id: remove-empty-tags
Expand All @@ -33,7 +33,7 @@ repos:
- --extras-require=doc,viz

- repo: https://github.com/kynan/nbstripout
rev: 0.7.1
rev: 0.8.0
hooks:
- id: nbstripout
args:
Expand Down Expand Up @@ -61,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 @@ -123,7 +123,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 @@ -149,11 +149,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.9
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.9"
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 4f5c801

Please sign in to comment.