Skip to content

Commit

Permalink
Update coverage to 6.3.1 (#724)
Browse files Browse the repository at this point in the history
* Update coverage from 6.3 to 6.3.1

* re-enable python 3.11 tests

uvloop is disabled on python 3.11 for now due to cython incompatibility.
a new cython version has since been released but uvloop needs to be built against this new cython version.
see MagicStack/uvloop#450 and MagicStack/uvloop#459

Co-authored-by: Richard Schwab <gitrichardschwab-7a2qxq42kj@central-intelligence.agency>
  • Loading branch information
pyup.io bot and Nothing4You authored Feb 2, 2022
1 parent e33f429 commit 00d0932
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- '3.8'
- '3.9'
- '3.10'
# - '3.11.0-alpha.4'
- '3.11-dev'
db:
- [mysql, '5.7']
- [mysql, '8.0']
Expand Down
4 changes: 2 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
coverage==6.3
coverage==6.3.1
flake8==4.0.1
ipdb==0.13.9
pytest==6.2.5
Expand All @@ -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
uvloop==0.16.0; python_version < '3.11'
pyroma==3.2
12 changes: 11 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,21 @@
import os
import re
import ssl
import sys

import aiomysql
import pymysql
import pytest
import uvloop


# 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


@pytest.fixture
Expand Down

0 comments on commit 00d0932

Please sign in to comment.