diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9e149f4..0e3f2c76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: - '3.8' - '3.9' - '3.10' - - '3.11-dev' + # - '3.11.0-alpha.4' db: - [mysql, '5.7'] - [mysql, '8.0'] diff --git a/requirements-dev.txt b/requirements-dev.txt index ae330477..82305e95 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -8,5 +8,5 @@ PyMySQL>=1.0.0,<=1.0.2 sphinx>=1.8.1, <4.4.1 sphinxcontrib-asyncio==0.3.0 sqlalchemy>1.2.12,<=1.3.16 -uvloop==0.16.0; python_version < '3.11' +uvloop==0.16.0 pyroma==3.2 diff --git a/tests/conftest.py b/tests/conftest.py index 5420b456..9d0114e3 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -3,21 +3,11 @@ import os import re import ssl -import sys import aiomysql import pymysql import pytest - - -# version gate can be removed once uvloop supports python 3.11 -# https://github.com/MagicStack/uvloop/issues/450 -# https://github.com/MagicStack/uvloop/pull/459 -PY_311 = sys.version_info >= (3, 11) -if PY_311: - uvloop = None -else: - import uvloop +import uvloop @pytest.fixture