-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
None
Description of problem:
tree-sitter-python fails to import. The package is required by Docling.
Version numbers (base image, wheels, builder, etc):
v26.0.0 tree-sitter-python 0.25
Steps to Reproduce:
1. configure pip to use 3.3 test index 2. pip install tree-sitter-python 3. python3 -c "import tree_sitter_python"
Actual results:
$ python3 -c "import tree_sitter_python" Traceback (most recent call last): File "<string>", line 1, in <module> File "/opt/app-root/lib64/python3.12/site-packages/tree_sitter_python/__init__.py", line 5, in <module> from ._binding import language ImportError: /opt/app-root/lib64/python3.12/site-packages/tree_sitter_python/_binding.abi3.so: undefined symbol: tree_sitter_python_external_scanner_create
Expected results:
Additional info:
The "tree-sitter-python" sdist is missing "src/scanner.c". Building from git clone should work around the problem.
We should report the issue to upstream, too. Upstream could use a "MANIFEST.IN" to include all ".c" and ".h" files from src and bindings directories.
- blocks
-
AIPCC-8296 docling package update request
-
- In Progress
-
-
AIPCC-8489 Publish 3.3 customer facing package index and base images
-
- In Progress
-
- relates to
-
AIPCC-8675 RHAI 3.3 bugs
-
- Refinement
-
- mentioned on
(1 mentioned on)