From e2b4bcbcd6eb9f2fbe6dbc84a28697259775176f Mon Sep 17 00:00:00 2001 From: Rehan Khwaja Date: Tue, 19 Sep 2023 08:55:05 -0700 Subject: [PATCH] Support python 3.12 --- .github/workflows/ci.yml | 4 ++-- pyproject.toml | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3abc964..ac7b381 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,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 @@ -38,7 +38,7 @@ jobs: RTM_TOKEN: ${{ secrets.RTM_TOKEN }} if: ${{needs.secrets.outputs.valid}} == 'true' run: | - if python --version | grep -q 'Python 3.11' ; then + if python --version | grep -q 'Python 3.12' ; then poe test-with-coverage fi - name: Coverage diff --git a/pyproject.toml b/pyproject.toml index 9527f06..55e0777 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "rtmilk" -version = "1.0.0" +version = "1.0.1" description = "RTM API wrapper" authors = ["Rehan Khwaja "] license = "MIT" @@ -13,7 +13,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" ] [tool.poetry.dependencies] @@ -23,7 +24,7 @@ urllib3 = [ { version = ">=1.26", python = ">=3.10,<4" } ] pydantic = ">=2.4.2" -aiohttp = ">=3.8.1" +aiohttp = ">=3.9" listdiff = ">=1.0.2" [tool.poetry.group.dev.dependencies]