andrewthetechie/pydantic-aioredis

Add 3.11 to testing

Closed this issue · 2 comments

Describe the solution you'd like
Add python 3.11 to nox to test pydantic-aioredis against 3.11. Update the github workflow to also test against 3.11

Failure while trying to install aiohttp under 3.11

      clang -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Users/andrew/Documents/code/pydantic-aioredis/.nox/tests-3-11/include -I/Users/andrew/.pyenv/versions/3.11.0rc2/include/python3.11 -c aiohttp/_websocket.c -o build/temp.macosx-12.5-arm64-cpython-311/aiohttp/_websocket.o
      aiohttp/_websocket.c:198:12: fatal error: 'longintrepr.h' file not found
        #include "longintrepr.h"
                 ^~~~~~~~~~~~~~~
      1 error generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for aiohttp