Skip to content

Commit

Permalink
MAINT: update lock files and dev environment
Browse files Browse the repository at this point in the history
* DX: switch to Python 3.10 in developer environment
  • Loading branch information
redeboer committed Oct 18, 2024
1 parent 2a2a2a3 commit 3c1791c
Show file tree
Hide file tree
Showing 7 changed files with 80 additions and 75 deletions.
2 changes: 1 addition & 1 deletion .binder/runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.12
python-3.10
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,12 @@ jobs:
id-token: write
with:
gh-pages: true
python-version: "3.10"
specific-pip-packages: ${{ inputs.specific-pip-packages }}
style:
if: inputs.specific-pip-packages == ''
secrets:
token: ${{ secrets.PAT }}
uses: ComPWA/actions/.github/workflows/pre-commit.yml@v2
with:
python-version: "3.10"
5 changes: 3 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ repos:
hooks:
- id: check-dev-files
args:
- --dev-python-version=3.10
- --github-pages
- --imports-on-top
- --no-cd
Expand Down Expand Up @@ -76,7 +77,7 @@ repos:
)$
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
rev: v0.7.0
hooks:
- id: ruff
args: [--fix]
Expand Down Expand Up @@ -165,6 +166,6 @@ repos:
- id: pyright

- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.4.22
rev: 0.4.24
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.12
3.10
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.12"
python: "3.10"
commands:
- |-
export PIXI_HOME=$READTHEDOCS_VIRTUALENV_PATH
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ dev = [
"compwa-report[sty]",
"compwa-report[test]",
"sphinx-autobuild",
"tox >=1.9", # for skip_install, use_develop
"tox",
]
doc = [
"Sphinx >=3",
"myst-nb >=0.14", # nb_ configuration prefixes
"sphinx-api-relink >=0.0.4",
"myst-nb",
"sphinx",
"sphinx-api-relink",
"sphinx-book-theme",
"sphinx-codeautolink[ipython]",
"sphinx-comments",
Expand Down Expand Up @@ -66,7 +66,7 @@ test = [
"nbmake",
]
types = [
"sphinx-api-relink >=0.0.4",
"sphinx-api-relink",
]

[project.readme]
Expand Down
131 changes: 66 additions & 65 deletions uv.lock

Large diffs are not rendered by default.

0 comments on commit 3c1791c

Please sign in to comment.