aio-libs / aiohttp

Asynchronous HTTP client/server framework for asyncio and Python
https://docs.aiohttp.org
Other
14.95k stars 1.99k forks source link

FC 39 install fail #7844

Closed jerryhard closed 9 months ago

jerryhard commented 10 months ago

Describe the bug

Fedora 39 Python 3.12.0

To Reproduce

pipx install aiohttp Fatal error from pip prevented installation. Full pip output in file: /home/USER/.local/pipx/logs/cmd_2023-11-17_17.27.03_pip_errors.log

pip failed to build package: aiohttp

Some possibly relevant errors from pip install: error: subprocess-exited-with-error aiohttp/_websocket.c:3042:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ aiohttp/_websocket.c:3097:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ aiohttp/_websocket.c:3238:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ aiohttp/_websocket.c:3293:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ aiohttp/_websocket.c:3744:45: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ error: command '/bin/gcc' failed with exit code 1

Error installing aiohttp.

Expected behavior

...

Logs/tracebacks

cat /home/jarda/.local/pipx/logs/cmd_2023-11-17_17.16.29_pip_errors.log
PIP STDOUT
----------
Collecting ofscraper
  Using cached ofscraper-2.6.4-py3-none-any.whl.metadata (4.4 kB)
Collecting aiohttp<4.0.0,>=3.8.4 (from aiohttp[speedups]<4.0.0,>=3.8.4->ofscraper)
  Using cached aiohttp-3.8.6.tar.gz (7.4 MB)
  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 arrow<2.0.0,>=1.2.3 (from ofscraper)
  Using cached arrow-1.3.0-py3-none-any.whl.metadata (7.5 kB)
Collecting browser-cookie3<0.18.0,>=0.17.1 (from ofscraper)
  Using cached browser_cookie3-0.17.1-py3-none-any.whl (14 kB)
Collecting bs4<0.0.2,>=0.0.1 (from ofscraper)
  Using cached bs4-0.0.1-py3-none-any.whl
Collecting diskcache<6.0.0,>=5.6.1 (from ofscraper)
  Using cached diskcache-5.6.3-py3-none-any.whl.metadata (20 kB)
Collecting dunamai<2.0.0,>=1.17.0 (from ofscraper)
  Using cached dunamai-1.19.0-py3-none-any.whl.metadata (10.0 kB)
Collecting faust-cchardet<3.0.0,>=2.1.18 (from ofscraper)
  Using cached faust_cchardet-2.1.19-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (8.3 kB)
Collecting ffmpeg-python<0.3.0,>=0.2.0 (from ofscraper)
  Using cached ffmpeg_python-0.2.0-py3-none-any.whl (25 kB)
Collecting httpx<0.24.0,>=0.23.3 (from httpx[http2]<0.24.0,>=0.23.3->ofscraper)
  Using cached httpx-0.23.3-py3-none-any.whl (71 kB)
Collecting inquirerpy<0.4.0,>=0.3.4 (from ofscraper)
  Using cached InquirerPy-0.3.4-py3-none-any.whl (67 kB)
Collecting mpegdash<0.4.0,>=0.3.1 (from ofscraper)
  Using cached mpegdash-0.3.1-py3-none-any.whl (10 kB)
Collecting pathvalidate<3.0.0,>=2.5.2 (from ofscraper)
  Using cached pathvalidate-2.5.2-py3-none-any.whl (20 kB)
Collecting poetry-dynamic-versioning<0.23.0,>=0.22.0 (from ofscraper)
  Using cached poetry_dynamic_versioning-0.22.0-py3-none-any.whl.metadata (14 kB)
Collecting requests<3.0.0,>=2.28.2 (from ofscraper)
  Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting rich<14.0.0,>=13.3.2 (from ofscraper)
  Using cached rich-13.7.0-py3-none-any.whl.metadata (18 kB)
Collecting schedule<2.0.0,>=1.1.0 (from ofscraper)
  Using cached schedule-1.2.1-py2.py3-none-any.whl.metadata (3.3 kB)
Collecting setuptools<68.0.0,>=67.6.0 (from ofscraper)
  Using cached setuptools-67.8.0-py3-none-any.whl.metadata (6.2 kB)
Collecting tenacity<9.0.0,>=8.2.2 (from ofscraper)
  Using cached tenacity-8.2.3-py3-none-any.whl.metadata (1.0 kB)
Collecting textual<0.28.0,>=0.27.0 (from ofscraper)
  Using cached textual-0.27.0-py3-none-any.whl.metadata (5.6 kB)
Collecting win32-setctime<2.0.0,>=1.1.0 (from ofscraper)
  Using cached win32_setctime-1.1.0-py3-none-any.whl (3.6 kB)
Collecting xxhash<4.0.0,>=3.2.0 (from ofscraper)
  Using cached xxhash-3.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (12 kB)
Collecting attrs>=17.3.0 (from aiohttp<4.0.0,>=3.8.4->aiohttp[speedups]<4.0.0,>=3.8.4->ofscraper)
  Using cached attrs-23.1.0-py3-none-any.whl (61 kB)
Collecting charset-normalizer<4.0,>=2.0 (from aiohttp<4.0.0,>=3.8.4->aiohttp[speedups]<4.0.0,>=3.8.4->ofscraper)
  Using cached charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp<4.0.0,>=3.8.4->aiohttp[speedups]<4.0.0,>=3.8.4->ofscraper)
  Using cached multidict-6.0.4-cp312-cp312-linux_x86_64.whl
Collecting async-timeout<5.0,>=4.0.0a3 (from aiohttp<4.0.0,>=3.8.4->aiohttp[speedups]<4.0.0,>=3.8.4->ofscraper)
  Using cached 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.4->aiohttp[speedups]<4.0.0,>=3.8.4->ofscraper)
  Using cached yarl-1.9.2-cp312-cp312-linux_x86_64.whl
Collecting frozenlist>=1.1.1 (from aiohttp<4.0.0,>=3.8.4->aiohttp[speedups]<4.0.0,>=3.8.4->ofscraper)
  Using cached frozenlist-1.4.0-cp312-cp312-linux_x86_64.whl
Collecting aiosignal>=1.1.2 (from aiohttp<4.0.0,>=3.8.4->aiohttp[speedups]<4.0.0,>=3.8.4->ofscraper)
  Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Collecting aiodns (from aiohttp[speedups]<4.0.0,>=3.8.4->ofscraper)
  Using cached aiodns-3.1.1-py3-none-any.whl.metadata (4.0 kB)
Collecting Brotli (from aiohttp[speedups]<4.0.0,>=3.8.4->ofscraper)
  Using cached Brotli-1.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.5 kB)
Collecting python-dateutil>=2.7.0 (from arrow<2.0.0,>=1.2.3->ofscraper)
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting types-python-dateutil>=2.8.10 (from arrow<2.0.0,>=1.2.3->ofscraper)
  Using cached types_python_dateutil-2.8.19.14-py3-none-any.whl.metadata (1.6 kB)
Collecting lz4 (from browser-cookie3<0.18.0,>=0.17.1->ofscraper)
  Using cached lz4-4.3.2-cp312-cp312-linux_x86_64.whl
Collecting pycryptodomex (from browser-cookie3<0.18.0,>=0.17.1->ofscraper)
  Using cached pycryptodomex-3.19.0-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
Collecting jeepney (from browser-cookie3<0.18.0,>=0.17.1->ofscraper)
  Using cached jeepney-0.8.0-py3-none-any.whl (48 kB)
Collecting beautifulsoup4 (from bs4<0.0.2,>=0.0.1->ofscraper)
  Using cached beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
Collecting packaging>=20.9 (from dunamai<2.0.0,>=1.17.0->ofscraper)
  Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
Collecting future (from ffmpeg-python<0.3.0,>=0.2.0->ofscraper)
  Using cached future-0.18.3-py3-none-any.whl
Collecting certifi (from httpx<0.24.0,>=0.23.3->httpx[http2]<0.24.0,>=0.23.3->ofscraper)
  Using cached certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB)
Collecting httpcore<0.17.0,>=0.15.0 (from httpx<0.24.0,>=0.23.3->httpx[http2]<0.24.0,>=0.23.3->ofscraper)
  Using cached httpcore-0.16.3-py3-none-any.whl (69 kB)
Collecting rfc3986<2,>=1.3 (from rfc3986[idna2008]<2,>=1.3->httpx<0.24.0,>=0.23.3->httpx[http2]<0.24.0,>=0.23.3->ofscraper)
  Using cached rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)
Collecting sniffio (from httpx<0.24.0,>=0.23.3->httpx[http2]<0.24.0,>=0.23.3->ofscraper)
  Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting h2<5,>=3 (from httpx[http2]<0.24.0,>=0.23.3->ofscraper)
  Using cached h2-4.1.0-py3-none-any.whl (57 kB)
Collecting pfzy<0.4.0,>=0.3.1 (from inquirerpy<0.4.0,>=0.3.4->ofscraper)
  Using cached pfzy-0.3.4-py3-none-any.whl (8.5 kB)
Collecting prompt-toolkit<4.0.0,>=3.0.1 (from inquirerpy<0.4.0,>=0.3.4->ofscraper)
  Using cached prompt_toolkit-3.0.41-py3-none-any.whl.metadata (6.5 kB)
Collecting jinja2<4,>=2.11.1 (from poetry-dynamic-versioning<0.23.0,>=0.22.0->ofscraper)
  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting tomlkit>=0.4 (from poetry-dynamic-versioning<0.23.0,>=0.22.0->ofscraper)
  Using cached tomlkit-0.12.3-py3-none-any.whl.metadata (2.7 kB)
Collecting idna<4,>=2.5 (from requests<3.0.0,>=2.28.2->ofscraper)
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting urllib3<3,>=1.21.1 (from requests<3.0.0,>=2.28.2->ofscraper)
  Using cached urllib3-2.1.0-py3-none-any.whl.metadata (6.4 kB)
Collecting markdown-it-py>=2.2.0 (from rich<14.0.0,>=13.3.2->ofscraper)
  Using cached markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting pygments<3.0.0,>=2.13.0 (from rich<14.0.0,>=13.3.2->ofscraper)
  Using cached Pygments-2.16.1-py3-none-any.whl.metadata (2.5 kB)
Collecting importlib-metadata>=4.11.3 (from textual<0.28.0,>=0.27.0->ofscraper)
  Using cached importlib_metadata-6.8.0-py3-none-any.whl.metadata (5.1 kB)
Collecting markdown-it-py>=2.2.0 (from rich<14.0.0,>=13.3.2->ofscraper)
  Using cached markdown_it_py-2.2.0-py3-none-any.whl (84 kB)
Collecting typing-extensions<5.0.0,>=4.4.0 (from textual<0.28.0,>=0.27.0->ofscraper)
  Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB)
Collecting hyperframe<7,>=6.0 (from h2<5,>=3->httpx[http2]<0.24.0,>=0.23.3->ofscraper)
  Using cached hyperframe-6.0.1-py3-none-any.whl (12 kB)
Collecting hpack<5,>=4.0 (from h2<5,>=3->httpx[http2]<0.24.0,>=0.23.3->ofscraper)
  Using cached hpack-4.0.0-py3-none-any.whl (32 kB)
Collecting h11<0.15,>=0.13 (from httpcore<0.17.0,>=0.15.0->httpx<0.24.0,>=0.23.3->httpx[http2]<0.24.0,>=0.23.3->ofscraper)
  Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Collecting anyio<5.0,>=3.0 (from httpcore<0.17.0,>=0.15.0->httpx<0.24.0,>=0.23.3->httpx[http2]<0.24.0,>=0.23.3->ofscraper)
  Using cached anyio-4.0.0-py3-none-any.whl.metadata (4.5 kB)
Collecting zipp>=0.5 (from importlib-metadata>=4.11.3->textual<0.28.0,>=0.27.0->ofscraper)
  Using cached zipp-3.17.0-py3-none-any.whl.metadata (3.7 kB)
Collecting MarkupSafe>=2.0 (from jinja2<4,>=2.11.1->poetry-dynamic-versioning<0.23.0,>=0.22.0->ofscraper)
  Using cached MarkupSafe-2.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.9 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich<14.0.0,>=13.3.2->ofscraper)
  Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Collecting linkify-it-py<3,>=1 (from markdown-it-py[linkify,plugins]<3.0.0,>=2.1.0->textual<0.28.0,>=0.27.0->ofscraper)
  Using cached linkify_it_py-2.0.2-py3-none-any.whl (19 kB)
Collecting mdit-py-plugins (from markdown-it-py[linkify,plugins]<3.0.0,>=2.1.0->textual<0.28.0,>=0.27.0->ofscraper)
  Using cached mdit_py_plugins-0.4.0-py3-none-any.whl.metadata (2.7 kB)
Collecting wcwidth (from prompt-toolkit<4.0.0,>=3.0.1->inquirerpy<0.4.0,>=0.3.4->ofscraper)
  Using cached wcwidth-0.2.10-py2.py3-none-any.whl.metadata (14 kB)
Collecting six>=1.5 (from python-dateutil>=2.7.0->arrow<2.0.0,>=1.2.3->ofscraper)
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting pycares>=4.0.0 (from aiodns->aiohttp[speedups]<4.0.0,>=3.8.4->ofscraper)
  Using cached pycares-4.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.1 kB)
Collecting soupsieve>1.2 (from beautifulsoup4->bs4<0.0.2,>=0.0.1->ofscraper)
  Using cached soupsieve-2.5-py3-none-any.whl.metadata (4.7 kB)
Collecting uc-micro-py (from linkify-it-py<3,>=1->markdown-it-py[linkify,plugins]<3.0.0,>=2.1.0->textual<0.28.0,>=0.27.0->ofscraper)
  Using cached uc_micro_py-1.0.2-py3-none-any.whl (6.2 kB)
Collecting cffi>=1.5.0 (from pycares>=4.0.0->aiodns->aiohttp[speedups]<4.0.0,>=3.8.4->ofscraper)
  Using cached cffi-1.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting pycparser (from cffi>=1.5.0->pycares>=4.0.0->aiodns->aiohttp[speedups]<4.0.0,>=3.8.4->ofscraper)
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Using cached ofscraper-2.6.4-py3-none-any.whl (85 kB)
Using cached arrow-1.3.0-py3-none-any.whl (66 kB)
Using cached diskcache-5.6.3-py3-none-any.whl (45 kB)
Using cached dunamai-1.19.0-py3-none-any.whl (25 kB)
Using cached faust_cchardet-2.1.19-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (317 kB)
Using cached poetry_dynamic_versioning-0.22.0-py3-none-any.whl (14 kB)
Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Using cached rich-13.7.0-py3-none-any.whl (240 kB)
Using cached schedule-1.2.1-py2.py3-none-any.whl (11 kB)
Using cached setuptools-67.8.0-py3-none-any.whl (1.1 MB)
Using cached tenacity-8.2.3-py3-none-any.whl (24 kB)
Using cached textual-0.27.0-py3-none-any.whl (413 kB)
Using cached xxhash-3.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (194 kB)
Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Using cached certifi-2023.7.22-py3-none-any.whl (158 kB)
Using cached charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (141 kB)
Using cached importlib_metadata-6.8.0-py3-none-any.whl (22 kB)
Using cached packaging-23.2-py3-none-any.whl (53 kB)
Using cached prompt_toolkit-3.0.41-py3-none-any.whl (385 kB)
Using cached Pygments-2.16.1-py3-none-any.whl (1.2 MB)
Using cached tomlkit-0.12.3-py3-none-any.whl (37 kB)
Using cached types_python_dateutil-2.8.19.14-py3-none-any.whl (9.4 kB)
Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB)
Using cached urllib3-2.1.0-py3-none-any.whl (104 kB)
Using cached aiodns-3.1.1-py3-none-any.whl (5.4 kB)
Using cached Brotli-1.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.9 MB)
Using cached pycryptodomex-3.19.0-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)
Using cached anyio-4.0.0-py3-none-any.whl (83 kB)
Using cached MarkupSafe-2.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28 kB)
Using cached pycares-4.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (290 kB)
Using cached soupsieve-2.5-py3-none-any.whl (36 kB)
Using cached zipp-3.17.0-py3-none-any.whl (7.4 kB)
Using cached mdit_py_plugins-0.4.0-py3-none-any.whl (54 kB)
Using cached wcwidth-0.2.10-py2.py3-none-any.whl (105 kB)
Using cached cffi-1.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (477 kB)
Building wheels for collected packages: aiohttp
  Building wheel for aiohttp (pyproject.toml): started
  Building wheel for aiohttp (pyproject.toml): finished with status 'error'
Failed to build aiohttp

PIP STDERR
----------
  error: subprocess-exited-with-error

  × Building wheel for aiohttp (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [160 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/worker.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_urldispatcher.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_runner.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_response.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_protocol.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/web_middlewares.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/web_log.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/web_fileresponse.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/web_exceptions.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.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/typedefs.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/tracing.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/test_utils.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/tcp_helpers.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/streams.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/resolver.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/pytest_plugin.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/payload_streamer.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/payload.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/multipart.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/log.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/locks.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/http_writer.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/http_websocket.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/http_parser.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/http_exceptions.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/http.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/helpers.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/hdrs.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/formdata.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/cookiejar.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/connector.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/client_ws.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/client_reqrep.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/client_proto.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/client_exceptions.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/client.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/base_protocol.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/abc.py -> build/lib.linux-x86_64-cpython-312/aiohttp
      copying aiohttp/__init__.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 -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -march=native -march=native -fPIC -I/home/jarda/.local/pipx/venvs/ofscraper/include -I/usr/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 /usr/include/python3.12/Python.h:48,
                       from aiohttp/_websocket.c:6:
      /usr/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 /usr/include/python3.12/dictobject.h:90,
                       from /usr/include/python3.12/Python.h:61:
      /usr/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;
            |     ^~~~~~
      /usr/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)))
            |     ^~
      /usr/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(
            |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/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(
            |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/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 '/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
ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects

Python Version

$ python --version
Python 3.12.0

aiohttp Version

$ python -m pip show aioht
LATEST

multidict Version

$ python -m pip show multidict
[jarda@home-ux ~]$ python -m pip show multidict
DEPRECATION: Loading egg at /usr/lib/python3.12/site-packages/lensfun-0.3.3-py3.12.egg is deprecated. pip 23.3 will enforce this behaviour change. A possible replacement is to use pip for package installation..
Name: multidict
Version: 6.0.4
Summary: multidict implementation
Home-page: https://github.com/aio-libs/multidict
Author: Andrew Svetlov
Author-email: andrew.svetlov@gmail.com
License: Apache 2
Location: /usr/lib64/python3.12/site-packages
Requires: 
Required-by: aiohttp, aiohttp-sse-client, yarl

yarl Version

$ python -m pip show yarl
[jarda@home-ux ~]$ python -m pip show yarl
DEPRECATION: Loading egg at /usr/lib/python3.12/site-packages/lensfun-0.3.3-py3.12.egg is deprecated. pip 23.3 will enforce this behaviour change. A possible replacement is to use pip for package installation..
Name: yarl
Version: 1.9.2
Summary: Yet another URL library
Home-page: https://github.com/aio-libs/yarl/
Author: Andrew Svetlov
Author-email: andrew.svetlov@gmail.com
License: Apache-2.0
Location: /usr/lib64/python3.12/site-packages
Requires: idna, multidict
Required-by: aiohttp, aiohttp-sse-client

OS

Linux FC 39

Related component

Client

Additional context

No response

Code of Conduct

PythonCoderAS commented 10 months ago

Dupe of https://github.com/aio-libs/aiohttp/issues/7739