Skip to content

Commit

Permalink
Lock Python versions
Browse files Browse the repository at this point in the history
Lock Python versions down to patch versions 3.11.9 and 3.12.3 for mise
and the code_quality GitHub workflow.

Have nox use versions locked to minor versions 3.11 and 3.12 so that it
will use the latest matching version that is installed.

Close #138.
  • Loading branch information
rikardg committed Apr 16, 2024
1 parent 16bfddf commit 5d72a18
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
nox:
strategy:
matrix:
python_version: ["3.11.8", "3.12.2"]
python_version: ["3.11.9", "3.12.3"]
nox_session: [tests, basics, examples]
os: [ubuntu-latest, macos-latest, macos-14]
install_uv: [0, 1]
Expand All @@ -36,7 +36,7 @@ jobs:
pyright_and_ruff:
strategy:
matrix:
python_version: ["3.11.8", "3.12.2"]
python_version: ["3.11.9", "3.12.3"]
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
python_compile = true

[tools]
python = ["3.12.2", "3.11.8"]
python = ["3.12.3", "3.11.9"]
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
nox.options.error_on_external_run = True
nox.options.stop_on_first_error

python_versions = ["3.11.8", "3.12.2"]
python_versions = ["3.11", "3.12"]


@nox.session(python=python_versions)
Expand Down

0 comments on commit 5d72a18

Please sign in to comment.