Skip to content

Commit

Permalink
Merge pull request #20 from fonttools/py312
Browse files Browse the repository at this point in the history
drop python 3.7, add support for 3.12
  • Loading branch information
anthrotype authored Sep 8, 2023
2 parents 70ea411 + d26dc9b commit 6c1c07a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,25 +50,25 @@ jobs:
arch: [auto64]
build: ["*"]
include:
# the manylinux1 docker images only contain from python3.7 to 3.9
# the manylinux1 docker images only contain python3.8 and 3.9
- os: ubuntu-latest
type: manylinux1
arch: auto
build: "cp{37,38,39}-*"
build: "cp{38,39}-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
CIBW_MANYLINUX_I686_IMAGE: manylinux1
# the manylinux2010 image also contains python 3.10 and pypy3.7 and 3.8
# the manylinux2010 image also contains python 3.10 and pypy3.8
- os: ubuntu-latest
arch: auto
type: manylinux2010
build: "pp{37,38}-* cp310-*"
build: "pp{38}-* cp310-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2010
CIBW_MANYLINUX_I686_IMAGE: manylinux2010
# the manylinux2014 image also contains python 3.11 and pypy3.9
# the manylinux2014 image also contains python 3.11, 3.12 and pypy3.9 and 3.10
- os: ubuntu-latest
arch: auto
type: manylinux2014
build: "pp39-* cp311-*"
build: "pp39-* pp310-* cp311-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_I686_IMAGE: manylinux2014

Expand Down Expand Up @@ -106,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, 311]
python: [38, 39, 310, 311, 312]
arch: [aarch64]
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PYZOPFLI
cPython bindings for
`zopfli <http://googledevelopers.blogspot.com/2013/02/compress-data-more-densely-with-zopfli.html>`__.

It requires Python 3.7 or greater.
It requires Python 3.8 or greater.

USAGE
=====
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,5 @@ def build_extensions(self):
},
setup_requires=["setuptools_scm"],
extras_require={"test": ["pytest"]},
python_requires=">=3.7",
python_requires=">=3.8",
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py3{7,8,9,10}
envlist = py3{8,9,10,11,12}

[testenv]
extras = test
Expand Down

0 comments on commit 6c1c07a

Please sign in to comment.