Skip to content

Commit

Permalink
Add Python 3.12 support (#1761)
Browse files Browse the repository at this point in the history
* Add python 3.12 beta to PR tests and testing schedule

* Remove -dev suffix from 3.12 version in test runner and allow pre-releases
Reference: https://github.com/actions/setup-python/releases/tag/v4.6.0

* Run poetry lock to get sub-dependencies to update
  • Loading branch information
micahellison authored Oct 29, 2023
1 parent 75f97ce commit a8f5f54
Show file tree
Hide file tree
Showing 4 changed files with 446 additions and 442 deletions.
1 change: 1 addition & 0 deletions .github/actions/run_tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ runs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Capture full Python version in env
run: echo "PYTHON_FULL_VERSION=$(python --version)" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing_prs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ '3.10', '3.11' ]
python-version: [ '3.10', '3.11', '3.12' ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
steps:
- run: git config --global core.autocrlf false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing_schedule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ '3.10', '3.11' ]
python-version: [ '3.10', '3.11', '3.12' ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
steps:
- run: git config --global core.autocrlf false
Expand Down
Loading

0 comments on commit a8f5f54

Please sign in to comment.