Skip to content

Commit 767fe95

Browse files
committed
Merge branch 'feature/drop-py-37-38-39' into develop
2 parents cb013ee + a3ac41f commit 767fe95

3 files changed

Lines changed: 17 additions & 16 deletions

File tree

.github/workflows/test_and_publish.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ on:
44
push:
55

66
pull_request:
7-
branches: [ 'develop' ]
7+
branches: ["develop"]
88

99
jobs:
1010
is-duplicate:
1111
name: Is Duplicate
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
1313
outputs:
1414
should_skip: ${{ steps.skip-check.outputs.should_skip }}
1515
permissions:
@@ -30,8 +30,13 @@ jobs:
3030
if: needs.is-duplicate.outputs.should_skip != 'true'
3131
strategy:
3232
matrix:
33-
os: [ubuntu-latest, macos-latest, windows-latest]
34-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
33+
# List of runner versions:
34+
# https://docs.github.com/en/actions/reference/runners/github-hosted-runners
35+
os: [ubuntu-24.04, macos-26-intel, windows-2025]
36+
37+
# List of Python versions:
38+
# https://devguide.python.org/versions/
39+
python-version: ["3.10", "3.11", "3.12", "3.13"]
3540

3641
steps:
3742
- name: Check out code
@@ -50,7 +55,7 @@ jobs:
5055
pip install tox
5156
5257
- name: Test with Tox
53-
run: tox
58+
run: tox -e ${{ matrix.python-version }},lint
5459

5560
build-wheels:
5661
name: Build wheels
@@ -67,7 +72,9 @@ jobs:
6772
)
6873
strategy:
6974
matrix:
70-
os: [ubuntu-latest, macos-latest, windows-latest]
75+
# List of runner versions:
76+
# https://docs.github.com/en/actions/reference/runners/github-hosted-runners
77+
os: [ubuntu-24.04, macos-26-intel, windows-2025]
7178

7279
steps:
7380
- name: Check out code
@@ -86,7 +93,7 @@ jobs:
8693

8794
build-sdist:
8895
name: Build source distribution
89-
runs-on: ubuntu-latest
96+
runs-on: ubuntu-24.04
9097
needs: test-code
9198
if: |
9299
!failure() &&
@@ -118,7 +125,7 @@ jobs:
118125
publish-to-test-pypi:
119126
name: Publish to TestPyPI
120127
environment: staging
121-
runs-on: ubuntu-latest
128+
runs-on: ubuntu-24.04
122129
needs: [build-sdist, build-wheels]
123130
if: |
124131
!failure() &&
@@ -143,7 +150,7 @@ jobs:
143150
publish-to-pypi:
144151
name: Publish to PyPI
145152
environment: production
146-
runs-on: ubuntu-latest
153+
runs-on: ubuntu-24.04
147154
needs: [publish-to-test-pypi]
148155
if: |
149156
!failure() &&

setup.cfg

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,14 @@ classifiers =
2020
Natural Language :: English
2121
Programming Language :: C
2222
Programming Language :: Python :: 3 :: Only
23-
Programming Language :: Python :: 3.7
24-
Programming Language :: Python :: 3.8
25-
Programming Language :: Python :: 3.9
2623
Programming Language :: Python :: 3.10
2724
Programming Language :: Python :: 3.11
2825
Programming Language :: Python :: 3.12
2926
Programming Language :: Python :: 3.13
3027
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
3128

3229
[options]
33-
python_requires = >=3.7, <4
30+
python_requires = >=3.10, <4
3431

3532
[options.extras_require]
3633
examples =

tox.ini

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ isolated_build = true
99
skip_missing_interpreters = true
1010

1111
envlist =
12-
py37
13-
py38
14-
py39
1512
py310
1613
py311
1714
py312

0 commit comments

Comments
 (0)