From d631b5cea1b688d896765f494a42d0c7ef343535 Mon Sep 17 00:00:00 2001 From: David Hoese Date: Wed, 11 Oct 2023 11:05:57 -0500 Subject: [PATCH] Add Python 3.12 to CI testing --- .github/workflows/ci.yml | 1 + setup.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f43c64..a3d4b5b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,7 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] BUILDMODE: [CIBUILDWHEEL, UNITTEST] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v2 diff --git a/setup.py b/setup.py index 8805d12..be2c84e 100644 --- a/setup.py +++ b/setup.py @@ -160,7 +160,6 @@ def _get_freetype_with_pkgconfig(): download_url="http://www.effbot.org/downloads#aggdraw", license="Python (MIT style)", long_description=DESCRIPTION.strip(), - platforms="Python 2.7 and later.", url="https://github.com/pytroll/aggdraw", ext_modules=[ Extension("aggdraw", ["aggdraw.cxx"] + sources, @@ -169,6 +168,6 @@ def _get_freetype_with_pkgconfig(): library_dirs=library_dirs, libraries=libraries ) ], - python_requires='>=3.7', + python_requires='>=3.9', tests_require=['pillow', 'pytest'], )