Skip to content

tree_sitter_java-0.23.5.tar.gz is missing src/tree_sitter/parser.h #219

@tiran

Description

@tiran

The sdist tar ball tree_sitter_java-0.23.5.tar.gz is broken and missing src/tree_sitter directory. The missing files prevent us fron rebuilding tree-sitter-java from sources. I noticed that the 0.23 releases of other tree-sitter packages had the same problem. The issue was fixed in 0.24 releases. tree-sitter-java is still on 0.23 with the sdist issue.

$ pip wheel -v --no-binary tree-sitter-java tree-sitter-java |more
Collecting tree-sitter-java
  File was already downloaded /work/tree_sitter_java-0.23.5.tar.gz
  Installing build dependencies: started
..,
  creating build/temp.linux-x86_64-cpython-312/src
  gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPy_LIMITED_API=0x03090000 -DPY_SSIZE_T_CLEAN -DTREE_SITTER_HIDE_SYMBOLS -Isrc -I/opt/app-root/include -I/usr/include/python3.12 -c bindings/python/tree_sitter_java/binding.c -o build/temp.linux-x86_64-cpython-312/bindings/python/tree_sitter_java/binding.o -std=c11 -fvisibility=hidden
  gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPy_LIMITED_API=0x03090000 -DPY_SSIZE_T_CLEAN -DTREE_SITTER_HIDE_SYMBOLS -Isrc -I/opt/app-root/include -I/usr/include/python3.12 -c src/parser.c -o build/temp.linux-x86_64-cpython-312/src/parser.o -std=c11 -fvisibility=hidden
  src/parser.c:1:10: fatal error: tree_sitter/parser.h: No such file or directory
      1 | #include "tree_sitter/parser.h"
        |          ^~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions