From defad28771d99434a1fdb3b46994b21b14c36cc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 3 Aug 2023 13:00:12 +0200 Subject: [PATCH] Disable C extension in aiohttp to fix Python 3.12 install Disable the C extension in aiohttp that's incompatible with Python 3.12 as of 3.8.5, in order to make it possible to install it (in pure Python version) for testing. --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index b209bd9..e147690 100644 --- a/tox.ini +++ b/tox.ini @@ -81,3 +81,7 @@ passenv = AWS_ACCESS_KEY_ID AWS_DEFAULT_REGION AWS_SECRET_ACCESS_KEY +setenv = + # workaround for broken C extension in aiohttp + # see: https://github.com/aio-libs/aiohttp/issues/7229 + py312: AIOHTTP_NO_EXTENSIONS=1