Skip to content

Commit 95190ad

Browse files
authored
Merge pull request #53 from hugovk/add-3.13
Add support for Python 3.13-3.14 and drop support EOL 3.7-3.9
1 parent e4a54cf commit 95190ad

File tree

2 files changed

+23
-11
lines changed

2 files changed

+23
-11
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: CI
22

3-
on: [push, pull_request]
3+
on: [push, pull_request, workflow_dispatch]
44

55
jobs:
66
Windows:
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t']
12+
python: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.14t']
1313

1414
steps:
1515
- name: Checkout
@@ -35,7 +35,7 @@ jobs:
3535
strategy:
3636
fail-fast: false
3737
matrix:
38-
python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t']
38+
python: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.14t']
3939
check_formatting: ['0']
4040
extra_name: ['']
4141
include:
@@ -47,16 +47,11 @@ jobs:
4747
uses: actions/checkout@v6
4848
- name: Setup Python
4949
uses: actions/setup-python@v6
50-
if: "!endsWith(matrix.python, '-dev')"
5150
with:
5251
python-version: ${{ matrix.python }}
52+
allow-prereleases: true
5353
cache: pip
5454
cache-dependency-path: test-requirements.txt
55-
- name: Setup Python (dev)
56-
uses: deadsnakes/action@v3.0.1
57-
if: endsWith(matrix.python, '-dev')
58-
with:
59-
python-version: '${{ matrix.python }}'
6055
- name: Run tests
6156
run: ./ci.sh
6257
env:
@@ -71,7 +66,7 @@ jobs:
7166
strategy:
7267
fail-fast: false
7368
matrix:
74-
python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t']
69+
python: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.14t']
7570
steps:
7671
- name: Checkout
7772
uses: actions/checkout@v6
@@ -82,8 +77,25 @@ jobs:
8277
allow-prereleases: true
8378
cache: pip
8479
cache-dependency-path: test-requirements.txt
80+
- name: Set PYTHON_GIL
81+
if: endsWith(matrix.python-version, 't')
82+
run: |
83+
echo "PYTHON_GIL=0" >> "$GITHUB_ENV"
8584
- name: Run tests
8685
run: ./ci.sh
8786
env:
8887
# Should match 'name:' up above
8988
JOB_NAME: 'macOS (${{ matrix.python }})'
89+
90+
alls-green:
91+
if: always()
92+
needs:
93+
- Windows
94+
- Ubuntu
95+
- macOS
96+
runs-on: ubuntu-latest
97+
steps:
98+
- name: Decide whether all jobs succeeded or not
99+
uses: re-actors/alls-green@release/v1
100+
with:
101+
jobs: ${{ toJSON(needs) }}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ classifiers = [
2626
"Intended Audience :: Developers",
2727
"Development Status :: 5 - Production/Stable",
2828
]
29-
requires-python = ">= 3.7"
29+
requires-python = ">= 3.10"
3030
dynamic = ["version"]
3131

3232
[project.urls]

0 commit comments

Comments
 (0)