Skip to content

Resolve GCC14 compiler warnings, add python 3.12/3.13 support, remove python 3.7 #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.13"
- name: Check style with `black`
uses: psf/black@stable
- name: Install dependencies
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand Down
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ sdist := dist/$(NAME)-$(VERSION).tar.gz
wheels := \
dist/$(NAME)-$(VERSION)-cp27-cp27m-$(ARCH).whl \
dist/$(NAME)-$(VERSION)-cp27-cp27mu-$(ARCH).whl \
dist/$(NAME)-$(VERSION)-cp37-cp37m-$(ARCH).whl \
dist/$(NAME)-$(VERSION)-cp38-cp38-$(ARCH).whl \
dist/$(NAME)-$(VERSION)-cp39-cp39-$(ARCH).whl \
dist/$(NAME)-$(VERSION)-cp310-cp310-$(ARCH).whl \
dist/$(NAME)-$(VERSION)-cp311-cp311-$(ARCH).whl
dist/$(NAME)-$(VERSION)-cp311-cp311-$(ARCH).whl \
dist/$(NAME)-$(VERSION)-cp312-cp312-$(ARCH).whl \
dist/$(NAME)-$(VERSION)-cp313-cp313-$(ARCH).whl

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

.PHONY: sdist
sdist: $(sdist)
Expand All @@ -49,7 +50,7 @@ install: build
python3 setup.py install

.PHONY: test
test: install
test:
pytest

.PHONY: upload
Expand Down
6 changes: 2 additions & 4 deletions bin/build-manylinux-wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ fi
function get-variants() {
local version="$1"

if [[ "${version}" = '38' || "${version}" = '39' || "${version}" = '310' || "${version}" = '311' ]] ; then
echo /
elif [[ "${version}" = '27' ]] ; then
if [[ "${version}" = '27' ]] ; then
echo m mu
else
echo m
echo /
fi
}

Expand Down
Loading