-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Python 3.12, drop support for Python 3.8 (#79)
- Loading branch information
1 parent
e8108b1
commit 9585bbe
Showing
28 changed files
with
444 additions
and
495 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
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 |
---|---|---|
|
@@ -12,8 +12,8 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
python-version: ['3.8', '3.9', '3.10', '3.11'] | ||
poetry-version: [1.6.1] | ||
python-version: ['3.9', '3.10', '3.11', '3.12'] | ||
poetry-version: [1.7.1] | ||
os: ["ubuntu-latest"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -29,19 +29,19 @@ jobs: | |
- name: Check shell scripts | ||
uses: ludeeus/[email protected] | ||
- name: Check Poetry lock file status | ||
run: poetry lock --check | ||
run: poetry check --lock | ||
- name: Install coverage tool | ||
run: | | ||
poetry run pip install coverage[toml] | ||
- name: Install examples dependencies (Py3.11) | ||
- name: Install examples dependencies (Python >= 3.11) | ||
run: | | ||
poetry install --only main --extras examples | ||
# tweedledum has no wheel for Python3.11 and the build errors | ||
if: matrix.python-version == '3.11' | ||
- name: Install examples dependencies (~Py3.11) | ||
# tweedledum has no wheel for Python >= 3.11 and the build errors | ||
if: matrix.python-version >= '3.11' | ||
- name: Install examples dependencies (Python < 3.11) | ||
run: | | ||
poetry install --only main --all-extras | ||
if: matrix.python-version != '3.11' | ||
if: matrix.python-version < '3.11' | ||
- name: Run examples | ||
run: | | ||
poetry run examples/run_all.sh -c | ||
|
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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.