CI: python 3.11 stable (#553)

* CI: Python 3.11 stable
* test with latest aiohttp with Python 3.11 support
This commit is contained in:
Dulmandakh 2023-08-12 01:25:03 +08:00 committed by GitHub
parent 7783f1c5d9
commit 1dd40f17f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: 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] os: [ubuntu-latest, macos-latest]
env: env:

View File

@ -28,9 +28,7 @@ TEST_DEPENDENCIES = [
# pycodestyle is a dependency of flake8, but it must be frozen because # pycodestyle is a dependency of flake8, but it must be frozen because
# their combination breaks too often # their combination breaks too often
# (example breakage: https://gitlab.com/pycqa/flake8/issues/427) # (example breakage: https://gitlab.com/pycqa/flake8/issues/427)
# aiohttp doesn't support 3.11 yet, 'aiohttp>=3.8.1',
# see https://github.com/aio-libs/aiohttp/issues/6600
'aiohttp ; python_version < "3.11"',
'flake8~=5.0', 'flake8~=5.0',
'psutil', 'psutil',
'pycodestyle~=2.9.0', 'pycodestyle~=2.9.0',