auth0 / auth0-python

Auth0 SDK for Python
https://auth0-python.readthedocs.io
MIT License
506 stars 164 forks source link

Pip install fails in python 3.12.0 #535

Closed mfolker-sage closed 9 months ago

mfolker-sage commented 11 months ago

Checklist

Description

When doing a pip install with Python 3.12.0 I get the following error concerning the dependency aiohttp.

This does not happen in Python 3.11.5 and earlier.

Reproduction

  1. Use Python 3.12.0
  2. Use pip to install the Python SDK, i.e. pip install auth0-python

Additional context

pip install auth0-python ========================== Starting Command Output =========================== [command]/usr/bin/bash /home/vsts/work/_temp/b83feb4c-945c-4554-a3af-4434b25bbc87.sh Collecting auth0-python Obtaining dependency information for auth0-python from https://files.pythonhosted.org/packages/aa/d6/6aec055e515678b99eed44e2609d740227524462c614beaaa6f81f1e2e68/auth0_python-4.4.2-py3-none-any.whl.metadata Downloading auth0_python-4.4.2-py3-none-any.whl.metadata (8.9 kB) Collecting aiohttp<4.0.0,>=3.8.5 (from auth0-python) Downloading aiohttp-3.8.6.tar.gz (7.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.4/7.4 MB 87.0 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting cryptography<42.0.0,>=41.0.3 (from auth0-python) Obtaining dependency information for cryptography<42.0.0,>=41.0.3 from https://files.pythonhosted.org/packages/eb/4b/f86cc66c632cf0948ca1712aadd255f624deef1cd371ea3bfd30851e188d/cryptography-41.0.4-cp37-abi3-manylinux_2_28_x86_64.whl.metadata Downloading cryptography-41.0.4-cp37-abi3-manylinux_2_28_x86_64.whl.metadata (5.2 kB) Collecting pyjwt<3.0.0,>=2.8.0 (from auth0-python) Obtaining dependency information for pyjwt<3.0.0,>=2.8.0 from https://files.pythonhosted.org/packages/2b/4f/e04a8067c7c96c364cef7ef73906504e2f40d690811c021e1a1901473a19/PyJWT-2.8.0-py3-none-any.whl.metadata Downloading PyJWT-2.8.0-py3-none-any.whl.metadata (4.2 kB) Collecting pyopenssl<24.0.0,>=23.2.0 (from auth0-python) Obtaining dependency information for pyopenssl<24.0.0,>=23.2.0 from https://files.pythonhosted.org/packages/f0/e2/f8b4f1c67933a4907e52228241f4bd52169f3196b70af04403b29c63238a/pyOpenSSL-23.2.0-py3-none-any.whl.metadata Downloading pyOpenSSL-23.2.0-py3-none-any.whl.metadata (10 kB) Collecting requests<3.0.0,>=2.31.0 (from auth0-python) Obtaining dependency information for requests<3.0.0,>=2.31.0 from https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl.metadata Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB) Collecting attrs>=17.3.0 (from aiohttp<4.0.0,>=3.8.5->auth0-python) Downloading attrs-23.1.0-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 21.8 MB/s eta 0:00:00 Collecting charset-normalizer<4.0,>=2.0 (from aiohttp<4.0.0,>=3.8.5->auth0-python) Obtaining dependency information for charset-normalizer<4.0,>=2.0 from https://files.pythonhosted.org/packages/e1/ee/04bbbe050ac4d4ac92ca3fa4f9ada00ee7d2095a91ccadb9a2065943a1bf/charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata Downloading charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (32 kB) Collecting multidict<7.0,>=4.5 (from aiohttp<4.0.0,>=3.8.5->auth0-python) Downloading multidict-6.0.4.tar.gz (51 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.3/51.3 kB 18.7 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting async-timeout<5.0,>=4.0.0a3 (from aiohttp<4.0.0,>=3.8.5->auth0-python) Obtaining dependency information for async-timeout<5.0,>=4.0.0a3 from https://files.pythonhosted.org/packages/a7/fa/e01228c2938de91d47b307831c62ab9e4001e747789d0b05baf779a6488c/async_timeout-4.0.3-py3-none-any.whl.metadata Downloading async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB) Collecting yarl<2.0,>=1.0 (from aiohttp<4.0.0,>=3.8.5->auth0-python) Downloading yarl-1.9.2.tar.gz (184 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 184.7/184.7 kB 50.2 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting frozenlist>=1.1.1 (from aiohttp<4.0.0,>=3.8.5->auth0-python) Downloading frozenlist-1.4.0.tar.gz (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.7/90.7 kB 32.6 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting aiosignal>=1.1.2 (from aiohttp<4.0.0,>=3.8.5->auth0-python) Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Collecting cffi>=1.12 (from cryptography<42.0.0,>=41.0.3->auth0-python) Obtaining dependency information for cffi>=1.12 from https://files.pythonhosted.org/packages/09/d4/8759cc3b2222c159add8ce3af0089912203a31610f4be4c36f98e320b4c6/cffi-1.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata Downloading cffi-1.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB) Collecting idna<4,>=2.5 (from requests<3.0.0,>=2.31.0->auth0-python) Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 22.6 MB/s eta 0:00:00 Collecting urllib3<3,>=1.21.1 (from requests<3.0.0,>=2.31.0->auth0-python) Obtaining dependency information for urllib3<3,>=1.21.1 from https://files.pythonhosted.org/packages/26/40/9957270221b6d3e9a3b92fdfba80dd5c9661ff45a664b47edd5d00f707f5/urllib3-2.0.6-py3-none-any.whl.metadata Downloading urllib3-2.0.6-py3-none-any.whl.metadata (6.6 kB) Collecting certifi>=2017.4.17 (from requests<3.0.0,>=2.31.0->auth0-python) Obtaining dependency information for certifi>=2017.4.17 from https://files.pythonhosted.org/packages/4c/dd/2234eab22353ffc7d94e8d13177aaa050113286e93e7b40eae01fbf7c3d9/certifi-2023.7.22-py3-none-any.whl.metadata Downloading certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB) Collecting pycparser (from cffi>=1.12->cryptography<42.0.0,>=41.0.3->auth0-python) Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 40.1 MB/s eta 0:00:00 Downloading auth0_python-4.4.2-py3-none-any.whl (129 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 129.1/129.1 kB 40.5 MB/s eta 0:00:00 Downloading cryptography-41.0.4-cp37-abi3-manylinux_2_28_x86_64.whl (4.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 100.4 MB/s eta 0:00:00 Downloading PyJWT-2.8.0-py3-none-any.whl (22 kB) Downloading pyOpenSSL-23.2.0-py3-none-any.whl (59 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.0/59.0 kB 22.4 MB/s eta 0:00:00 Downloading requests-2.31.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 23.0 MB/s eta 0:00:00 Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB) Downloading certifi-2023.7.22-py3-none-any.whl (158 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 kB 53.2 MB/s eta 0:00:00 Downloading cffi-1.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (477 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 477.6/477.6 kB 85.1 MB/s eta 0:00:00 Downloading charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (138 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 138.7/138.7 kB 38.8 MB/s eta 0:00:00 Downloading urllib3-2.0.6-py3-none-any.whl (123 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.8/123.8 kB 44.8 MB/s eta 0:00:00 Building wheels for collected packages: aiohttp, frozenlist, multidict, yarl Building wheel for aiohttp (pyproject.toml): started Building wheel for aiohttp (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error

× Building wheel for aiohttp (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [173 lines of output]


  * Accelerated build *
  *********************
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-cpython-312
  creating build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/web_response.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/formdata.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/web_ws.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/web.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/worker.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/abc.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/client_exceptions.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/web_middlewares.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/log.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/client.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/pytest_plugin.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/locks.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/payload.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/web_log.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/multipart.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/cookiejar.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/tracing.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/web_routedef.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/web_app.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/web_exceptions.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/client_proto.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/web_urldispatcher.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/client_reqrep.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/http_writer.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/test_utils.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/streams.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/typedefs.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/web_server.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/web_request.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/web_runner.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/http_websocket.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/tcp_helpers.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/connector.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/http_parser.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/helpers.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/resolver.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/__init__.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/http.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/payload_streamer.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/base_protocol.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/hdrs.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/web_protocol.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/http_exceptions.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/web_fileresponse.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/client_ws.py -> build/lib.linux-x86_64-cpython-312/aiohttp
  running egg_info
  writing aiohttp.egg-info/PKG-INFO
  writing dependency_links to aiohttp.egg-info/dependency_links.txt
  writing requirements to aiohttp.egg-info/requires.txt
  writing top-level names to aiohttp.egg-info/top_level.txt
  reading manifest file 'aiohttp.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching 'aiohttp' anywhere in distribution
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '*.pyd' found anywhere in distribution
  warning: no previously-included files matching '*.so' found anywhere in distribution
  warning: no previously-included files matching '*.lib' found anywhere in distribution
  warning: no previously-included files matching '*.dll' found anywhere in distribution
  warning: no previously-included files matching '*.a' found anywhere in distribution
  warning: no previously-included files matching '*.obj' found anywhere in distribution
  warning: no previously-included files found matching 'aiohttp/*.html'
  no previously-included directories found matching 'docs/_build'
  adding license file 'LICENSE.txt'
  writing manifest file 'aiohttp.egg-info/SOURCES.txt'
  copying aiohttp/_cparser.pxd -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/_find_header.pxd -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/_headers.pxi -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/_helpers.pyi -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/_helpers.pyx -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/_http_parser.pyx -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/_http_writer.pyx -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/_websocket.pyx -> build/lib.linux-x86_64-cpython-312/aiohttp
  copying aiohttp/py.typed -> build/lib.linux-x86_64-cpython-312/aiohttp
  creating build/lib.linux-x86_64-cpython-312/aiohttp/.hash
  copying aiohttp/.hash/_cparser.pxd.hash -> build/lib.linux-x86_64-cpython-312/aiohttp/.hash
  copying aiohttp/.hash/_find_header.pxd.hash -> build/lib.linux-x86_64-cpython-312/aiohttp/.hash
  copying aiohttp/.hash/_helpers.pyi.hash -> build/lib.linux-x86_64-cpython-312/aiohttp/.hash
  copying aiohttp/.hash/_helpers.pyx.hash -> build/lib.linux-x86_64-cpython-312/aiohttp/.hash
  copying aiohttp/.hash/_http_parser.pyx.hash -> build/lib.linux-x86_64-cpython-312/aiohttp/.hash
  copying aiohttp/.hash/_http_writer.pyx.hash -> build/lib.linux-x86_64-cpython-312/aiohttp/.hash
  copying aiohttp/.hash/_websocket.pyx.hash -> build/lib.linux-x86_64-cpython-312/aiohttp/.hash
  copying aiohttp/.hash/hdrs.py.hash -> build/lib.linux-x86_64-cpython-312/aiohttp/.hash
  running build_ext
  building 'aiohttp._websocket' extension
  creating build/temp.linux-x86_64-cpython-312
  creating build/temp.linux-x86_64-cpython-312/aiohttp
  gcc -pthread -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/opt/hostedtoolcache/Python/3.12.0/x64/include/python3.12 -c aiohttp/_websocket.c -o build/temp.linux-x86_64-cpython-312/aiohttp/_websocket.o
  aiohttp/_websocket.c: In function ‘__pyx_pf_7aiohttp_10_websocket__websocket_mask_cython’:
  aiohttp/_websocket.c:1475:3: warning: ‘Py_OptimizeFlag’ is deprecated [-Wdeprecated-declarations]
   1475 |   if (unlikely(!Py_OptimizeFlag)) {
        |   ^~
  In file included from /opt/hostedtoolcache/Python/3.12.0/x64/include/python3.12/Python.h:48,
                   from aiohttp/_websocket.c:6:
  /opt/hostedtoolcache/Python/3.12.0/x64/include/python3.12/cpython/pydebug.h:13:37: note: declared here
     13 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_OptimizeFlag;
        |                                     ^~~~~~~~~~~~~~~
  aiohttp/_websocket.c: In function ‘__Pyx_get_tp_dict_version’:
  aiohttp/_websocket.c:2680:5: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations]
   2680 |     return likely(dict) ? __PYX_GET_DICT_VERSION(dict) : 0;
        |     ^~~~~~
  In file included from /opt/hostedtoolcache/Python/3.12.0/x64/include/python3.12/dictobject.h:90,
                   from /opt/hostedtoolcache/Python/3.12.0/x64/include/python3.12/Python.h:61,
                   from aiohttp/_websocket.c:6:
  /opt/hostedtoolcache/Python/3.12.0/x64/include/python3.12/cpython/dictobject.h:22:34: note: declared here
     22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
        |                                  ^~~~~~~~~~~~~~
  aiohttp/_websocket.c: In function ‘__Pyx_get_object_dict_version’:
  aiohttp/_websocket.c:2692:5: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations]
   2692 |     return (dictptr && *dictptr) ? __PYX_GET_DICT_VERSION(*dictptr) : 0;
        |     ^~~~~~
  In file included from /opt/hostedtoolcache/Python/3.12.0/x64/include/python3.12/dictobject.h:90,
                   from /opt/hostedtoolcache/Python/3.12.0/x64/include/python3.12/Python.h:61,
                   from aiohttp/_websocket.c:6:
  /opt/hostedtoolcache/Python/3.12.0/x64/include/python3.12/cpython/dictobject.h:22:34: note: declared here
     22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
        |                                  ^~~~~~~~~~~~~~
  aiohttp/_websocket.c: In function ‘__Pyx_object_dict_version_matches’:
  aiohttp/_websocket.c:2696:5: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations]
   2696 |     if (unlikely(!dict) || unlikely(tp_dict_version != __PYX_GET_DICT_VERSION(dict)))
        |     ^~
  In file included from /opt/hostedtoolcache/Python/3.12.0/x64/include/python3.12/dictobject.h:90,
                   from /opt/hostedtoolcache/Python/3.12.0/x64/include/python3.12/Python.h:61,
                   from aiohttp/_websocket.c:6:
  /opt/hostedtoolcache/Python/3.12.0/x64/include/python3.12/cpython/dictobject.h:22:34: note: declared here
     22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
        |                                  ^~~~~~~~~~~~~~
  aiohttp/_websocket.c: In function ‘__Pyx_CLineForTraceback’:
  aiohttp/_websocket.c:2741:9: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations]
   2741 |         __PYX_PY_DICT_LOOKUP_IF_MODIFIED(
        |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  In file included from /opt/hostedtoolcache/Python/3.12.0/x64/include/python3.12/dictobject.h:90,
                   from /opt/hostedtoolcache/Python/3.12.0/x64/include/python3.12/Python.h:61,
                   from aiohttp/_websocket.c:6:
  /opt/hostedtoolcache/Python/3.12.0/x64/include/python3.12/cpython/dictobject.h:22:34: note: declared here
     22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
        |                                  ^~~~~~~~~~~~~~
  aiohttp/_websocket.c:2741:9: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations]
   2741 |         __PYX_PY_DICT_LOOKUP_IF_MODIFIED(
        |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  In file included from /opt/hostedtoolcache/Python/3.12.0/x64/include/python3.12/dictobject.h:90,
                   from /opt/hostedtoolcache/Python/3.12.0/x64/include/python3.12/Python.h:61,
                   from aiohttp/_websocket.c:6:
  /opt/hostedtoolcache/Python/3.12.0/x64/include/python3.12/cpython/dictobject.h:22:34: note: declared here
     22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
        |                                  ^~~~~~~~~~~~~~
  aiohttp/_websocket.c: In function ‘__Pyx_PyInt_As_long’:
  aiohttp/_websocket.c:3042:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
   3042 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
        |                                                     ^~
  aiohttp/_websocket.c:3097:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
   3097 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
        |                                                     ^~
  aiohttp/_websocket.c: In function ‘__Pyx_PyInt_As_int’:
  aiohttp/_websocket.c:3238:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
   3238 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
        |                                                     ^~
  aiohttp/_websocket.c:3293:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
   3293 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
        |                                                     ^~
  aiohttp/_websocket.c: In function ‘__Pyx_PyIndex_AsSsize_t’:
  aiohttp/_websocket.c:3744:45: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
   3744 |     const digit* digits = ((PyLongObject*)b)->ob_digit;
        |                                             ^~
  error: command '/usr/bin/gcc' 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 Building wheel for frozenlist (pyproject.toml): started Building wheel for frozenlist (pyproject.toml): finished with status 'done' Created wheel for frozenlist: filename=frozenlist-1.4.0-cp312-cp312-linux_x86_64.whl size=264425 sha256=67d65da9e2ed14ac3631055abe579c716de4dd72ee34afc1b6e2bf57c0305512 Stored in directory: /home/vsts/.cache/pip/wheels/f1/9c/94/9386cb0ea511a93226456388d41d35f1c24ba15a62ffd7b1ef Building wheel for multidict (pyproject.toml): started Building wheel for multidict (pyproject.toml): finished with status 'done' Created wheel for multidict: filename=multidict-6.0.4-cp312-cp312-linux_x86_64.whl size=150731 sha256=f78ee5c13532ba43b756d1c2e1793baf63c679933b2132ed840c0ac2a5532fc0 Stored in directory: /home/vsts/.cache/pip/wheels/f6/d8/ff/3c14a64b8f2ab1aa94ba2888f5a988be6ab446ec5c8d1a82da Building wheel for yarl (pyproject.toml): started Building wheel for yarl (pyproject.toml): finished with status 'done' Created wheel for yarl: filename=yarl-1.9.2-cp312-cp312-linux_x86_64.whl size=258183 sha256=8dcf3d1af06d6d932ce96bab959ee63e2152bd821701f51143e32034a2fd0d80 Stored in directory: /home/vsts/.cache/pip/wheels/84/e3/6a/7d0fa1abee8e4aa39922b5bd54689b4b5e4269b2821f482a32 Successfully built frozenlist multidict yarl Failed to build aiohttp ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects

auth0-python version

4.4.2

Python version

3.12.0

adamjmcgrath commented 11 months ago

@mfolker-sage - thanks for raising this

Looks like this depends on https://github.com/aio-libs/aiohttp/issues/7675

adamjmcgrath commented 9 months ago

python 3.12 is supported in https://github.com/auth0/auth0-python/releases/tag/4.7.0

Let me know if you run into any issues