-
-
Notifications
You must be signed in to change notification settings - Fork 39
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.13 and update build environment (#271)
* Officially support Python 3.13 and update build environment * Fix related test issues with latest lxml
- Loading branch information
1 parent
25631bd
commit 1a67e46
Showing
6 changed files
with
33 additions
and
24 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,7 +17,7 @@ jobs: | |
max-parallel: 4 | ||
matrix: | ||
platform: [ubuntu-latest, windows-latest] | ||
tox-env: [py38, py39, py310, py311, py312, nolxml, nohtml5lib] | ||
tox-env: [py38, py39, py310, py311, py312, py313, nolxml, nohtml5lib] | ||
include: | ||
- tox-env: py38 | ||
python-version: 3.8 | ||
|
@@ -34,34 +34,31 @@ jobs: | |
- tox-env: py312 | ||
python-version: '3.12' | ||
continue-on-error: false | ||
- tox-env: py313 | ||
python-version: '3.13' | ||
continue-on-error: false | ||
- tox-env: nolxml | ||
python-version: '3.11' | ||
continue-on-error: false | ||
- tox-env: nohtml5lib | ||
python-version: '3.10' | ||
python-version: '3.11' | ||
continue-on-error: false | ||
# exclude: | ||
# - platform: windows-latest | ||
# tox-env: py311 | ||
exclude: | ||
- platform: windows-latest | ||
tox-env: py313 | ||
|
||
env: | ||
TOXENV: ${{ matrix.tox-env }} | ||
|
||
runs-on: ${{ matrix.platform }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
if: "!endsWith(matrix.python-version, '-dev')" | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
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] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools build tox coverage | ||
|
@@ -71,7 +68,7 @@ jobs: | |
continue-on-error: ${{ matrix.continue-on-error }} | ||
- name: Upload Results | ||
if: success() | ||
uses: codecov/codecov-action@v3 | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
file: ./coverage.xml | ||
flags: unittests | ||
|
@@ -90,9 +87,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
|
@@ -114,9 +111,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
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
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