thc-hydra icon indicating copy to clipboard operation
thc-hydra copied to clipboard

Compatible Python 3.12.4

Open LandoEng opened this issue 1 week ago • 1 comments

Morning Hope you are well. Will you be making Hydra compatible with Python 3.12.4

Collecting hydra Using cached Hydra-2.5.tar.gz (82 kB) 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' Building wheels for collected packages: hydra Building wheel for hydra (pyproject.toml): started Building wheel for hydra (pyproject.toml): finished with status 'error' Failed to build hydra

error: subprocess-exited-with-error

× Building wheel for hydra (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [17 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-universal2-cpython-312 copying src/hydra.py -> build/lib.macosx-10.9-universal2-cpython-312 running build_ext building '_hydra' extension creating build/temp.macosx-10.9-universal2-cpython-312 creating build/temp.macosx-10.9-universal2-cpython-312/src clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -arch arm64 -arch x86_64 -g -I/private/var/folders/f7/m1kn5vn12z97ch3x_6spwstm0000gn/T/pip-install-iv1k0s04/hydra_1b89b2ba70534a1fb7d8dde7e07f7c00/src -I/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12 -c src/MurmurHash3.c -o build/temp.macosx-10.9-universal2-cpython-312/src/MurmurHash3.o -std=gnu99 -O2 -D_LARGEFILE64_SOURCE clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -arch arm64 -arch x86_64 -g -I/private/var/folders/f7/m1kn5vn12z97ch3x_6spwstm0000gn/T/pip-install-iv1k0s04/hydra_1b89b2ba70534a1fb7d8dde7e07f7c00/src -I/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12 -c src/_hydra.c -o build/temp.macosx-10.9-universal2-cpython-312/src/_hydra.o -std=gnu99 -O2 -D_LARGEFILE64_SOURCE src/_hydra.c:61: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 hydra ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (hydra)

LandoEng avatar Jun 23 '24 07:06 LandoEng