X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/062e644aae4299a320aeac59085df4c020ba6c81..55db05519ebfc502680aa55d289b7e47f6b2c6af:/pyproject.toml diff --git a/pyproject.toml b/pyproject.toml index 849891f..122a49e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,14 +55,15 @@ MYPYC_DEBUG_LEVEL = "0" # The dependencies required to build wheels with mypyc aren't specified in # [build-system].requires so we'll have to manage the build environment ourselves. PIP_NO_BUILD_ISOLATION = "no" +# CPython 3.11 wheels aren't available for aiohttp and building a Cython extension +# from source also doesn't work. +AIOHTTP_NO_EXTENSIONS = "1" [tool.cibuildwheel.linux] before-build = [ "pip install -r .github/mypyc-requirements.txt", - "yum install -y clang", + "yum install -y clang gcc", ] -# Newer images break the builds, not sure why. We'll need to investigate more later. -manylinux-x86_64-image = "quay.io/pypa/manylinux2014_x86_64:2021-11-20-f410d11" [tool.cibuildwheel.linux.environment] BLACK_USE_MYPYC = "1" @@ -71,6 +72,7 @@ MYPYC_DEBUG_LEVEL = "0" PIP_NO_BUILD_ISOLATION = "no" # Black needs Clang to compile successfully on Linux. CC = "clang" +AIOHTTP_NO_EXTENSIONS = "1" [tool.cibuildwheel.windows] # For some reason, (compiled) mypyc is failing to start up with "ImportError: DLL load @@ -111,4 +113,7 @@ filterwarnings = [ # this is mitigated by https://github.com/python/cpython/issues/79071 in python 3.8+ # this ignore can be removed when support for 3.7 is dropped. '''ignore:Bare functions are deprecated, use async ones:DeprecationWarning''', + # aiohttp is using deprecated cgi modules - Safe to remove when fixed: + # https://github.com/aio-libs/aiohttp/issues/6905 + '''ignore:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning''', ]