Skip to content

Commit

Permalink
Lock Python patch versions to 3.11.8 and 3.12.2
Browse files Browse the repository at this point in the history
Changes to argparse in Python 3.11.9 and 3.12.3 (as well as 3.13.0a5)
causes problems for argcomplete. This causes the Bygg completion
functionality to not work and the relevant tests to fail.

For now, lock the Python versions to 3.11.8 and 3.12.2 in the code
quality workflow, for Nox and in .tool-versions.

Workaround for #138.
  • Loading branch information
rikardg committed Apr 14, 2024
1 parent 3fb9707 commit b92fa65
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", "3.12"]
python_version: ["3.11.8", "3.12.2"]
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", "3.12"]
python_version: ["3.11.8", "3.12.2"]
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python 3.12 3.11
python 3.12.2 3.11.8
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", "3.12"]
python_versions = ["3.11.8", "3.12.2"]


@nox.session(python=python_versions)
Expand Down

0 comments on commit b92fa65

Please sign in to comment.