From fea769b08fcc4ef8009d30985714ba9cc3737ae3 Mon Sep 17 00:00:00 2001 From: Rehan Khwaja Date: Tue, 12 Sep 2023 22:52:32 -0700 Subject: [PATCH] Support python 3.12 --- .github/workflows/ci.yml | 4 ++-- pyproject.toml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70c0983..d908929 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.9, "3.10", "3.11"] + python-version: [3.9, "3.10", "3.11", "3.12.0"] steps: - uses: actions/checkout@v3 @@ -36,7 +36,7 @@ jobs: poe lint - name: Tests run: | - if python --version | grep -q 'Python 3.11' ; then + if python --version | grep -q 'Python 3.12' ; then poe test fi - name: Coverage diff --git a/pyproject.toml b/pyproject.toml index 565445a..f4cbdb0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,8 @@ classifiers = [ "Intended Audience :: Developers", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11" + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12" ] packages = [ { include = "wccls", from = "src" } @@ -29,7 +30,7 @@ requests = ">=2.25.1" urllib3 = [ { version = ">=1.26", python = ">=3.10,<4" } ] -aiohttp = ">=3.8.1" +aiohttp = { version = ">=3.9" } [tool.poetry.group.dev.dependencies] pytest = ">=7.1"