From 5a9021c417654f5e24eed6a0bc0851f90c64b3b2 Mon Sep 17 00:00:00 2001 From: Jon Parise Date: Sat, 9 Dec 2023 13:15:15 -0800 Subject: [PATCH] Add support for Python 3.12 --- .github/workflows/ci.yml | 4 ++-- setup.cfg | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 984a2bf..8f26ce5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.9, '3.10', '3.11', 'pypy-3.8', 'pypy-3.9'] + python-version: [3.8, 3.9, '3.10', '3.11', '3.12', 'pypy-3.8', 'pypy-3.9'] steps: - uses: actions/checkout@v4 @@ -26,7 +26,7 @@ jobs: cache-dependency-path: 'tests/requirements.txt' - name: Install dependencies run: | - python -m pip install --upgrade pip + python -m pip install --upgrade pip setuptools python -m pip install -r tests/requirements.txt pip install -e . - name: Lint diff --git a/setup.cfg b/setup.cfg index e369b2a..6ff32f5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,6 +20,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 License :: OSI Approved :: MIT License [options]