Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies fail with python 3.11.4 #16

Open
Lowaiz opened this issue Sep 11, 2023 · 1 comment
Open

Dependencies fail with python 3.11.4 #16

Lowaiz opened this issue Sep 11, 2023 · 1 comment
Assignees

Comments

@Lowaiz
Copy link
Member

Lowaiz commented Sep 11, 2023

on aiohttp==3.8.1

gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/lyma/.pyenv/versions/3.11.4/envs/g2s/include -I/home/lyma/.pyenv/versions/3.11.4/include/python3.11 -c aiohttp/_websocket.c -o build/temp.linux-x86_64-cpython-311/aiohttp/_websocket.o
      aiohttp/_websocket.c:198:12: fatal error: longintrepr.h: No such file or directory
        198 |   #include "longintrepr.h"
            |            ^~~~~~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]

``
@ribetm
Copy link

ribetm commented Oct 18, 2023

Using wheel packages would avoid compilation issues, however there is no wheel package for aiohttp 3.8.1.

pip install --dry-run --only-binary aiohttp --no-deps aiohttp==3.8.1
ERROR: Could not find a version that satisfies the requirement aiohttp==3.8.1 (from versions: 0.9.2, 0.9.3, 0.10.0, 0.10.1, 0.10.2, 0.11.0, 0.13.0, 0.13.1, 3.6.0a0, 3.6.0a1, 3.6.0a2, 3.6.0a3, 3.6.0a4, 3.6.0a5, 3.6.0a6, 3.6.0a7, 3.6.0a8, 3.6.0a9, 3.6.0a11, 3.6.0a12, 3.6.0b0, 3.6.0, 3.6.2a0, 3.6.2a1, 3.6.2a2, 3.6.2, 3.8.2, 3.8.3, 3.8.4, 3.8.5, 3.8.6, 3.9.0b0)
ERROR: No matching distribution found for aiohttp==3.8.1

Upgrading to one of 3.8.2, 3.8.3, 3.8.4, 3.8.5, 3.8.6 fixes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants