Skip to content

Commit 9de8593

Browse files
committed
Update CI and makefile for python 3.13 support
1 parent 477cd0e commit 9de8593

4 files changed

Lines changed: 9 additions & 11 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16-
- name: Set up Python 3.11
16+
- name: Set up Python 3.13
1717
uses: actions/setup-python@v5
1818
with:
19-
python-version: "3.11"
19+
python-version: "3.13"
2020
- name: Check style with `black`
2121
uses: psf/black@stable
2222
- name: Install dependencies
@@ -48,7 +48,7 @@ jobs:
4848
strategy:
4949
fail-fast: false
5050
matrix:
51-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
51+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
5252
os: [ubuntu-latest]
5353
steps:
5454
- uses: actions/checkout@v4

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ sdist := dist/$(NAME)-$(VERSION).tar.gz
66
wheels := \
77
dist/$(NAME)-$(VERSION)-cp27-cp27m-$(ARCH).whl \
88
dist/$(NAME)-$(VERSION)-cp27-cp27mu-$(ARCH).whl \
9-
dist/$(NAME)-$(VERSION)-cp37-cp37m-$(ARCH).whl \
109
dist/$(NAME)-$(VERSION)-cp38-cp38-$(ARCH).whl \
1110
dist/$(NAME)-$(VERSION)-cp39-cp39-$(ARCH).whl \
1211
dist/$(NAME)-$(VERSION)-cp310-cp310-$(ARCH).whl \
13-
dist/$(NAME)-$(VERSION)-cp311-cp311-$(ARCH).whl
12+
dist/$(NAME)-$(VERSION)-cp311-cp311-$(ARCH).whl \
13+
dist/$(NAME)-$(VERSION)-cp312-cp312-$(ARCH).whl \
14+
dist/$(NAME)-$(VERSION)-cp313-cp313-$(ARCH).whl
1415

1516
.PHONY: help
1617
help:
@@ -36,7 +37,7 @@ $(wheels): $(src)
3637
/io/bin/build-manylinux-wheel.sh 27
3738
docker run --user $(shell id -u):$(shell id -g) -v $(shell pwd):/io \
3839
quay.io/pypa/manylinux_2_28_x86_64:latest \
39-
/io/bin/build-manylinux-wheel.sh 37 38 39 310 311
40+
/io/bin/build-manylinux-wheel.sh 38 39 310 311 312 313
4041

4142
.PHONY: sdist
4243
sdist: $(sdist)

bin/build-manylinux-wheel.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ fi
1818
function get-variants() {
1919
local version="$1"
2020

21-
if [[ "${version}" = '38' || "${version}" = '39' || "${version}" = '310' || "${version}" = '311' ]] ; then
22-
echo /
23-
elif [[ "${version}" = '27' ]] ; then
21+
if [[ "${version}" = '27' ]] ; then
2422
echo m mu
2523
else
26-
echo m
24+
echo /
2725
fi
2826
}
2927

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
classifiers=[
2222
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
2323
"Programming Language :: Python :: 2.7",
24-
"Programming Language :: Python :: 3.7",
2524
"Programming Language :: Python :: 3.8",
2625
"Programming Language :: Python :: 3.9",
2726
"Programming Language :: Python :: 3.10",

0 commit comments

Comments
 (0)