You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently updated the latest Python of 3.13 which this project claims support via "requires-python = ">=3.9"". However, it wasn't in the CI test matrix yet. I'd recommend putting Python pre-releases in the test matrix and I can offer up a PR for that.
Here are the details in my local environment.
Using cached jsonpickle-3.3.0-py3-none-any.whl (42 kB)
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Using cached pbr-6.1.0-py2.py3-none-any.whl (108 kB)
Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Building wheels for collected packages: tree-sitter
Building wheel for tree-sitter (pyproject.toml) ... error
Failed to build tree-sitter
error: subprocess-exited-with-error
× Building wheel for tree-sitter (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
running bdist_wheel
running build
running build_py
creating build/lib.macosx-15.0-arm64-cpython-313/tree_sitter
copying tree_sitter/__init__.py -> build/lib.macosx-15.0-arm64-cpython-313/tree_sitter
copying tree_sitter/__init__.pyi -> build/lib.macosx-15.0-arm64-cpython-313/tree_sitter
copying tree_sitter/py.typed -> build/lib.macosx-15.0-arm64-cpython-313/tree_sitter
running build_ext
building 'tree_sitter._binding' extension
creating build/temp.macosx-15.0-arm64-cpython-313/tree_sitter/binding
creating build/temp.macosx-15.0-arm64-cpython-313/tree_sitter/core/lib/src
clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DPY_SSIZE_T_CLEAN -DTREE_SITTER_HIDE_SYMBOLS -UTREE_SITTER_FEATURE_WASM -Itree_sitter/binding -Itree_sitter/core/lib/include -Itree_sitter/core/lib/src -I/Users/ericwb/workspace/precli/.tox/py313/include -I/Users/ericwb/.pyenv/versions/3.13.0/include/python3.13 -c tree_sitter/binding/language.c -o build/temp.macosx-15.0-arm64-cpython-313/tree_sitter/binding/language.o -std=c11 -fvisibility=hidden -Wno-cast-function-type -Werror=implicit-function-declaration
clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DPY_SSIZE_T_CLEAN -DTREE_SITTER_HIDE_SYMBOLS -UTREE_SITTER_FEATURE_WASM -Itree_sitter/binding -Itree_sitter/core/lib/include -Itree_sitter/core/lib/src -I/Users/ericwb/workspace/precli/.tox/py313/include -I/Users/ericwb/.pyenv/versions/3.13.0/include/python3.13 -c tree_sitter/binding/lookahead_iterator.c -o build/temp.macosx-15.0-arm64-cpython-313/tree_sitter/binding/lookahead_iterator.o -std=c11 -fvisibility=hidden -Wno-cast-function-type -Werror=implicit-function-declaration
clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DPY_SSIZE_T_CLEAN -DTREE_SITTER_HIDE_SYMBOLS -UTREE_SITTER_FEATURE_WASM -Itree_sitter/binding -Itree_sitter/core/lib/include -Itree_sitter/core/lib/src -I/Users/ericwb/workspace/precli/.tox/py313/include -I/Users/ericwb/.pyenv/versions/3.13.0/include/python3.13 -c tree_sitter/binding/lookahead_names_iterator.c -o build/temp.macosx-15.0-arm64-cpython-313/tree_sitter/binding/lookahead_names_iterator.o -std=c11 -fvisibility=hidden -Wno-cast-function-type -Werror=implicit-function-declaration
clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DPY_SSIZE_T_CLEAN -DTREE_SITTER_HIDE_SYMBOLS -UTREE_SITTER_FEATURE_WASM -Itree_sitter/binding -Itree_sitter/core/lib/include -Itree_sitter/core/lib/src -I/Users/ericwb/workspace/precli/.tox/py313/include -I/Users/ericwb/.pyenv/versions/3.13.0/include/python3.13 -c tree_sitter/binding/module.c -o build/temp.macosx-15.0-arm64-cpython-313/tree_sitter/binding/module.o -std=c11 -fvisibility=hidden -Wno-cast-function-type -Werror=implicit-function-declaration
clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DPY_SSIZE_T_CLEAN -DTREE_SITTER_HIDE_SYMBOLS -UTREE_SITTER_FEATURE_WASM -Itree_sitter/binding -Itree_sitter/core/lib/include -Itree_sitter/core/lib/src -I/Users/ericwb/workspace/precli/.tox/py313/include -I/Users/ericwb/.pyenv/versions/3.13.0/include/python3.13 -c tree_sitter/binding/node.c -o build/temp.macosx-15.0-arm64-cpython-313/tree_sitter/binding/node.o -std=c11 -fvisibility=hidden -Wno-cast-function-type -Werror=implicit-function-declaration
clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DPY_SSIZE_T_CLEAN -DTREE_SITTER_HIDE_SYMBOLS -UTREE_SITTER_FEATURE_WASM -Itree_sitter/binding -Itree_sitter/core/lib/include -Itree_sitter/core/lib/src -I/Users/ericwb/workspace/precli/.tox/py313/include -I/Users/ericwb/.pyenv/versions/3.13.0/include/python3.13 -c tree_sitter/binding/parser.c -o build/temp.macosx-15.0-arm64-cpython-313/tree_sitter/binding/parser.o -std=c11 -fvisibility=hidden -Wno-cast-function-type -Werror=implicit-function-declaration
clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -DPY_SSIZE_T_CLEAN -DTREE_SITTER_HIDE_SYMBOLS -UTREE_SITTER_FEATURE_WASM -Itree_sitter/binding -Itree_sitter/core/lib/include -Itree_sitter/core/lib/src -I/Users/ericwb/workspace/precli/.tox/py313/include -I/Users/ericwb/.pyenv/versions/3.13.0/include/python3.13 -c tree_sitter/binding/query.c -o build/temp.macosx-15.0-arm64-cpython-313/tree_sitter/binding/query.o -std=c11 -fvisibility=hidden -Wno-cast-function-type -Werror=implicit-function-declaration
tree_sitter/binding/query.c:277:21: error: call to undeclared function '_PyErr_FormatFromCause'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
277 | _PyErr_FormatFromCause(
| ^
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 tree-sitter
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (tree-sitter)
py313: exit 1 (4.18 seconds) /Users/ericwb/workspace/precli> pip install -r /Users/ericwb/workspace/precli/requirements.txt -r /Users/ericwb/workspace/precli/test-requirements.txt pid=49923
py312: OK (4.73=setup[3.89]+cmd[0.84] seconds)
py313: FAIL code 1 (4.35 seconds)
evaluation failed :( (9.16 seconds)
The text was updated successfully, but these errors were encountered:
I recently updated the latest Python of 3.13 which this project claims support via "requires-python = ">=3.9"". However, it wasn't in the CI test matrix yet. I'd recommend putting Python pre-releases in the test matrix and I can offer up a PR for that.
Here are the details in my local environment.
The text was updated successfully, but these errors were encountered: