From 558c9e2560b21af30776250b94eb1cf1c72c3531 Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Tue, 15 Nov 2022 16:00:25 +0000 Subject: [PATCH 1/2] Add pyproject.toml prevents warnings from pip, future pip will require this --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..fed528d --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" From 06a50a12b1d514586561ec2b59c516c738b47994 Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Tue, 15 Nov 2022 16:05:11 +0000 Subject: [PATCH 2/2] [ci] add python 3.11 to build matrix Fixes https://github.com/fonttools/py-zopfli/issues/18 --- .github/workflows/ci.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa1d6a5..9df7070 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,13 +57,20 @@ jobs: build: "cp{37,38,39}-*" CIBW_MANYLINUX_X86_64_IMAGE: manylinux1 CIBW_MANYLINUX_I686_IMAGE: manylinux1 - # the manylinux2010 image also contains python 3.10 + # the manylinux2010 image also contains python 3.10 and pypy3.7 and 3.8 - os: ubuntu-latest arch: auto type: manylinux2010 - build: "pp* cp310-*" + build: "pp{37,38}-* cp310-*" CIBW_MANYLINUX_X86_64_IMAGE: manylinux2010 CIBW_MANYLINUX_I686_IMAGE: manylinux2010 + # the manylinux2014 image also contains python 3.11 and pypy3.9 + - os: ubuntu-latest + arch: auto + type: manylinux2014 + build: "pp39-* cp311-*" + CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 + CIBW_MANYLINUX_I686_IMAGE: manylinux2014 - os: macos-latest arch: universal2 @@ -99,7 +106,7 @@ jobs: strategy: matrix: # aarch64 uses qemu so it's slow, build each py version in parallel jobs - python: [37, 38, 39, 310] + python: [37, 38, 39, 310, 311] arch: [aarch64] steps: - uses: actions/checkout@v2