Skip to content

Commit

Permalink
DX: switch to Python 3.12 as developer version
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Aug 7, 2024
1 parent e224a44 commit 2c9445f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
with:
apt-packages: graphviz
gh-pages: true
python-version: "3.10"
python-version: "3.12"
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@v1
with:
python-version: "3.10"
python-version: "3.12"
4 changes: 2 additions & 2 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
tasks:
- init: pyenv local 3.10
- init: pip install -c .constraints/py3.10.txt -e .[dev]
- init: pyenv local 3.12
- init: pip install -c .constraints/py3.12.txt -e .[dev]

github:
prebuilds:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ repos:
- id: check-dev-files
args:
- --doc-apt-packages=graphviz
- --dev-python-version=3.10
- --dev-python-version=3.12
- --github-pages
- --no-prettierrc
- --pin-requirements=bimonthly
Expand Down
4 changes: 2 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ build:
apt_packages:
- graphviz
tools:
python: "3.10"
python: "3.12"
jobs:
pre_install:
- ./docs/install-julia-on-rtd.sh
post_install:
- python -m pip install 'uv>=0.2.0'
- python -m uv pip install -c .constraints/py3.10.txt -e .[doc]
- python -m uv pip install -c .constraints/py3.12.txt -e .[doc]
4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ dependencies:
- graphviz # for binder
- juliaup
- pip
- python==3.10.*
- python==3.12.*
- pip:
- -c .constraints/py3.10.txt -e .[dev]
- -c .constraints/py3.12.txt -e .[dev]
variables:
PRETTIER_LEGACY_CLI: 1
PYTHONHASHSEED: 0

0 comments on commit 2c9445f

Please sign in to comment.