Skip to content

Track parser sources/headers needed for Python wheel build #330

@yannbertrand

Description

@yannbertrand

Unfortunately #329 (v0.3.10) doesn't fix #322 #321.

running bdist_wheel
  running build
  creating build/lib.macosx-15.0-arm64-cpython-313/tree_sitter_sql/queries
  copying queries/indents.scm -> build/lib.macosx-15.0-arm64-cpython-313/tree_sitter_sql/queries
  copying queries/highlights.scm -> build/lib.macosx-15.0-arm64-cpython-313/tree_sitter_sql/queries
  running build_py
  copying bindings/python/tree_sitter_sql/__init__.py -> build/lib.macosx-15.0-arm64-cpython-313/tree_sitter_sql
  running egg_info
  writing bindings/python/tree_sitter_sql.egg-info/PKG-INFO
  writing dependency_links to bindings/python/tree_sitter_sql.egg-info/dependency_links.txt
  writing requirements to bindings/python/tree_sitter_sql.egg-info/requires.txt
  writing top-level names to bindings/python/tree_sitter_sql.egg-info/top_level.txt
  reading manifest file 'bindings/python/tree_sitter_sql.egg-info/SOURCES.txt'
  adding license file 'LICENSE'
  writing manifest file 'bindings/python/tree_sitter_sql.egg-info/SOURCES.txt'
  copying bindings/python/tree_sitter_sql/__init__.pyi -> build/lib.macosx-15.0-arm64-cpython-313/tree_sitter_sql
  copying bindings/python/tree_sitter_sql/binding.c -> build/lib.macosx-15.0-arm64-cpython-313/tree_sitter_sql
  copying bindings/python/tree_sitter_sql/py.typed -> build/lib.macosx-15.0-arm64-cpython-313/tree_sitter_sql
  warning: build_py: byte-compiling is disabled, skipping.

  running build_ext
  building '_binding' extension
  creating build/temp.macosx-15.0-arm64-cpython-313/bindings/python/tree_sitter_sql
  creating build/temp.macosx-15.0-arm64-cpython-313/src
  clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DPY_SSIZE_T_CLEAN -DTREE_SITTER_HIDE_SYMBOLS -DPy_LIMITED_API=0x030A0000 -Isrc -I/opt/homebrew/Cellar/jiratui/1.1.0/libexec/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c bindings/python/tree_sitter_sql/binding.c -o build/temp.macosx-15.0-arm64-cpython-313/bindings/python/tree_sitter_sql/binding.o -std=c11 -fvisibility=hidden
  clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DPY_SSIZE_T_CLEAN -DTREE_SITTER_HIDE_SYMBOLS -DPy_LIMITED_API=0x030A0000 -Isrc -I/opt/homebrew/Cellar/jiratui/1.1.0/libexec/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c src/parser.c -o build/temp.macosx-15.0-arm64-cpython-313/src/parser.o -std=c11 -fvisibility=hidden
  clang: error: no such file or directory: 'src/parser.c'
  clang: error: no input files
  error: command '/opt/homebrew/Library/Homebrew/shims/mac/super/clang' failed with exit code 1
  error: subprocess-exited-with-error
  
  × Building wheel for tree-sitter-sql (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions