feat: add python 3.12 and pypy 3.10 support

This commit is contained in:
Rémi Alvergnat
2023-12-13 09:11:14 +01:00
parent 3113f3e2b5
commit 401bcc566b
2 changed files with 16 additions and 12 deletions

View File

@@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.8", "pypy-3.9" ]
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.8", "pypy-3.9", "pypy-3.10" ]
regex: [ "0", "1" ]
exclude:
# regex module doesn't play well with pypy and unicode.
@@ -19,6 +19,8 @@ jobs:
regex: "1"
- python-version: "pypy-3.9"
regex: "1"
- python-version: "pypy-3.10"
regex: "1"
# test regex module only with Python 3.9.
- python-version: "3.7"
regex: "1"
@@ -28,6 +30,8 @@ jobs:
regex: "1"
- python-version: "3.11"
regex: "1"
- python-version: "3.12"
regex: "1"
steps:
- name: Checkout
@@ -83,10 +87,10 @@ jobs:
with:
fetch-depth: 0
- name: Setup python 3.9
- name: Setup python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.12
- name: Install Dependencies
run: |
@@ -120,10 +124,10 @@ jobs:
with:
fetch-depth: 0
- name: Setup python 3.9
- name: Setup python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.12
- name: Install Dependencies
run: |
@@ -161,10 +165,10 @@ jobs:
with:
fetch-depth: 0
- name: Setup python 3.9
- name: Setup python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.12
- name: Install Dependencies
run: |
@@ -201,10 +205,10 @@ jobs:
with:
fetch-depth: 0
- name: Setup python 3.9
- name: Setup python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.12
- name: Install Dependencies
run: |
@@ -241,10 +245,10 @@ jobs:
with:
fetch-depth: 0
- name: Setup python 3.9
- name: Setup python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.12
- uses: actions/download-artifact@v3
with:

View File

@@ -1,5 +1,5 @@
[tox]
envlist = py37,py38,py39,py310,py311,pypy3.8,pypy3.9
envlist = py37,py38,py39,py310,py311,py312,pypy3.8,pypy3.9,pypy3.10
[testenv]
commands =