Closed mfolker-sage closed 9 months ago
@mfolker-sage - thanks for raising this
Looks like this depends on https://github.com/aio-libs/aiohttp/issues/7675
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
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
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]
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