-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Officially support Python 3.12 and update dev environment (#183)
* Officially support Python 3.12 and update dev environment * Remove PY37 build reference
- Loading branch information
1 parent
d50b51a
commit 9d00b18
Showing
21 changed files
with
271 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,10 +17,8 @@ jobs: | |
max-parallel: 4 | ||
matrix: | ||
platform: [ubuntu-latest, windows-latest] | ||
python-version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12-dev'] | ||
python-version: [3.8, 3.9, '3.10', '3.11', '3.12'] | ||
include: | ||
- python-version: 3.7 | ||
tox-env: py37 | ||
- python-version: 3.8 | ||
tox-env: py38 | ||
- python-version: 3.9 | ||
|
@@ -29,24 +27,25 @@ jobs: | |
tox-env: py310 | ||
- python-version: '3.11' | ||
tox-env: py311 | ||
- python-version: '3.12-dev' | ||
- python-version: '3.12' | ||
tox-env: py312 | ||
exclude: | ||
- platform: windows-latest | ||
python-version: '3.12-dev' | ||
# exclude: | ||
# - platform: windows-latest | ||
# python-version: '3.12-dev' | ||
|
||
env: | ||
TOXENV: ${{ matrix.tox-env }} | ||
|
||
runs-on: ${{ matrix.platform }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
if: "!endsWith(matrix.python-version, '-dev')" | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
allow-prereleases: true | ||
- name: Set up development Python ${{ matrix.python-version }} | ||
if: endsWith(matrix.python-version, '-dev') | ||
uses: deadsnakes/[email protected] | ||
|
@@ -79,9 +78,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
|
@@ -103,9 +102,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.