Skip to content

Commit

Permalink
Aworkaround for aiohttp lacking a native 3.12 wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
1st1 committed Oct 8, 2023
1 parent f23f2ff commit ebd1448
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
# 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>=3.8.1',
'flake8~=5.0',
'psutil',
'pycodestyle~=2.9.0',
Expand All @@ -37,6 +36,15 @@
CYTHON_DEPENDENCY,
]

if vi < (3, 12):
# XXX Revert this change later.
#
# Python 3.12 is new and there's no aiohttp wheel for it yet.
# And pip helfully fails on building a wheel for it and I've
# no idea how to disable that.
TEST_DEPENDENCIES += ['aiohttp>=3.8.1']


# Dependencies required to build documentation.
DOC_DEPENDENCIES = [
'Sphinx~=4.1.2',
Expand Down

0 comments on commit ebd1448

Please sign in to comment.