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

Cannot install with python 3.11 #23

Open
3 tasks done
ryanc-bs opened this issue Nov 1, 2023 · 6 comments
Open
3 tasks done

Cannot install with python 3.11 #23

ryanc-bs opened this issue Nov 1, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@ryanc-bs
Copy link

ryanc-bs commented Nov 1, 2023

Summary

I cannot install github package using python 3.11

Reproduction Steps

pyenv global 3.11
pip install github

Minimal Reproducible Code

No response

Expected Results

Package installed successfully

Actual Results

...
 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
Failed to build aiohttp
ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects

Looks like the issue is that the github is pinning an older version of aiohttp which doesn't support python 3.11. Should be fixable by upgrading to the latest v3.8.6 for aiohttp.

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.
  • I have removed my token from display, if visible.

Additional Context

aio-libs/aiohttp#6600

@ryanc-bs ryanc-bs added the bug Something isn't working label Nov 1, 2023
@mouchar
Copy link

mouchar commented Dec 4, 2023

Fixed by #22, but a new version needs to be published to Pypi.

Would you happen to have any plans to do so soon?

@seplee
Copy link

seplee commented Dec 7, 2023

+1

@VarMonke
Copy link
Owner

VarMonke commented Dec 7, 2023 via email

@fhg-isi
Copy link

fhg-isi commented Jan 11, 2024

For the time being following entries in pyproject.toml worked for me:

dependencies = [
'github @ git+https://github.com/VarMonke/Github-Api-Wrapper',
'aiohttp==3.9.1',
]

@fingolfin
Copy link

@VarMonke it would be awesome if there could be a new release

@swarajban
Copy link

+1, seeing this too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants