From 1dd40f17f3b0d37e3779b6ad5041bab335142337 Mon Sep 17 00:00:00 2001 From: Dulmandakh Date: Sat, 12 Aug 2023 01:25:03 +0800 Subject: [PATCH] CI: python 3.11 stable (#553) * CI: Python 3.11 stable * test with latest aiohttp with Python 3.11 support --- .github/workflows/tests.yml | 2 +- setup.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 76e82e0..0fdcb62 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11.0-rc.1"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] os: [ubuntu-latest, macos-latest] env: diff --git a/setup.py b/setup.py index 01073aa..15604cd 100644 --- a/setup.py +++ b/setup.py @@ -28,9 +28,7 @@ TEST_DEPENDENCIES = [ # pycodestyle is a dependency of flake8, but it must be frozen because # their combination breaks too often # (example breakage: https://gitlab.com/pycqa/flake8/issues/427) - # aiohttp doesn't support 3.11 yet, - # see https://github.com/aio-libs/aiohttp/issues/6600 - 'aiohttp ; python_version < "3.11"', + 'aiohttp>=3.8.1', 'flake8~=5.0', 'psutil', 'pycodestyle~=2.9.0',