Skip to content

github package fails to be installed on python 3.12.0 #28

Description

@PiyaRajesh

Summary

github package fails to be installed on python 3.12.0

Reproduction Steps

Using python 3.12.0
do a pip install github
Expected : Should get intalled successfully
Actual: ERROR: Failed building wheel for aiohttp , and few lines above in the logs I see " aiohttp/_websocket.c:198:12: fatal error: 'longintrepr.h' file not found
"

Note , the version of aiohttp is 3.11.11

Minimal Reproducible Code

pip intall github 
when your python version is 3.12

Expected Results

The github package should be installed successfully

Actual Results

installation fails with
aiohttp/_websocket.c:198:12: fatal error: 'longintrepr.h' file not found

  clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -arch arm64 -arch x86_64 -g -I/Users/priya/python_core_env/include -I/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12 -c aiohttp/_websocket.c -o build/temp.macosx-10.9-universal2-cpython-312/aiohttp/_websocket.o
  aiohttp/_websocket.c:198:12: fatal error: 'longintrepr.h' file not found
    198 |   #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

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

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions