Skip to content

Commit 383b228

Browse files
cooperleesCooper Ry Leesichard26
authored
Move 3.11 tests to install aiohttp without C extensions (#3258)
* Move 311 tests to install aiohttp without C extensions - Configure tox to install aiohttp without extensions - i.e. use `AIOHTTP_NO_EXTENSIONS=1` for pip install - This allows us to reenable blackd tests that use aiohttp testing helpers etc. - Had to ignore `cgi` module deprecation warning - Filed issue for aiohttp to fix: aio-libs/aiohttp#6905 Test: - `/tmp/tb/bin/tox -e 311` * Fix formatting + linting * Add latest aiohttp for loop fix + Try to exempt deprecation warning but failed - will ask for help * Remove unnecessary warning ignore Co-authored-by: Cooper Ry Lees <me@wcooperlees.com> Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
1 parent 062e644 commit 383b228

4 files changed

Lines changed: 203 additions & 199 deletions

File tree

.github/workflows/test-311.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Partially test 3.11 dev
1+
name: Test 3.11 without aiohttp extensions
22

33
on:
44
push:

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,7 @@ filterwarnings = [
111111
# this is mitigated by https://github.com/python/cpython/issues/79071 in python 3.8+
112112
# this ignore can be removed when support for 3.7 is dropped.
113113
'''ignore:Bare functions are deprecated, use async ones:DeprecationWarning''',
114+
# aiohttp is using deprecated cgi modules - Safe to remove when fixed:
115+
# https://github.com/aio-libs/aiohttp/issues/6905
116+
'''ignore:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning''',
114117
]

0 commit comments

Comments
 (0)