Python binding for the python tree-sitter grammar.
Provides
Requires
License
MIT
Changelog
* Thu Aug 20 2026 Martin Pluskal <mpluskal@suse.com>
- Ship the upstream Python binding as pythonXYZ flavor subpackages
via the shared %treesitter_python_install macro and the singlespec
python_subpackage_only template. The compiled _binding extension
is not built: the macro installs upstream's pure-Python package
files and generates a _binding.py that loads the grammar library
this package ships, so the parser is not compiled a second time
and no python devel/pip/wheel BuildRequires are needed.
- The python subpackage pins the grammar package exactly and
Suggests py