From 391322a35ee50083c49fe87c4826fc1079b5b57c Mon Sep 17 00:00:00 2001 From: Stefan Tatschner Date: Wed, 31 Aug 2022 14:05:07 +0200 Subject: [PATCH] ci: Add python 3.11 in tests --- .github/workflows/linters.yml | 2 +- .github/workflows/tests.yml | 2 +- poetry.lock | 9 ++++++--- pyproject.toml | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 394892707..2241c0a99 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -23,7 +23,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.10'] + python-version: ['3.10', '3.11-dev'] runs-on: ubuntu-latest diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 65bd81563..851feed3a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.10'] + python-version: ['3.10', '3.11-dev'] runs-on: ubuntu-latest diff --git a/poetry.lock b/poetry.lock index d82b5245f..57b06fc31 100644 --- a/poetry.lock +++ b/poetry.lock @@ -77,7 +77,10 @@ python-versions = ">=3.7.2" [package.dependencies] lazy-object-proxy = ">=1.4.0" -wrapt = {version = ">=1.11,<2", markers = "python_version < \"3.11\""} +wrapt = [ + {version = ">=1.11,<2", markers = "python_version < \"3.11\""}, + {version = ">=1.14,<2", markers = "python_version >= \"3.11\""}, +] [[package]] name = "async-timeout" @@ -1217,8 +1220,8 @@ cffi = ["cffi (>=1.11)"] [metadata] lock-version = "1.1" -python-versions = ">=3.10,<3.11" -content-hash = "28747bd8e2a9d17972ed37014fc033a87e3a7efa0dd7680e59c0eecdb1e698a5" +python-versions = ">=3.10,<3.12" +content-hash = "70cf1b15845aceb31dcc9411ff8b9c86adc1a937887bb0616ddf0720e6353e82" [metadata.files] aiofiles = [ diff --git a/pyproject.toml b/pyproject.toml index 0934484a5..0babdf895 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ packages = [ ] [tool.poetry.dependencies] -python = ">=3.10,<3.11" +python = ">=3.10,<3.12" aiohttp = "^3.8" aiofiles = ">=0.8,<22.2" aiosqlite = "^0.17"