Repository navigation
Closed
Labels
0.kind: bugSomething is broken6.topic: tree-sitterTree-sitter is a parser generator tool and an incremental parsing library.
Description
Nixpkgs version
- Unstable (26.11)
Describe the bug
Steps to reproduce
Expected behaviour
No error
Screenshots
Executing pythonMetadataCheckPhase
Traceback (most recent call last):
File "/nix/store/rgnappqqc5vbq60gza5fflyk84sylwl6-python3-3.14.6/lib/python3.14/importlib/metadata/__init__.py", line 407, in from_name
return next(iter(cls.discover(name=name)))
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
from importlib.metadata import version; import sys; print(version(sys.argv[1]))
~~~~~~~^^^^^^^^^^^^^
File "/nix/store/rgnappqqc5vbq60gza5fflyk84sylwl6-python3-3.14.6/lib/python3.14/importlib/metadata/__init__.py", line 987, in version
return distribution(distribution_name).version
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/nix/store/rgnappqqc5vbq60gza5fflyk84sylwl6-python3-3.14.6/lib/python3.14/importlib/metadata/__init__.py", line 960, in distribution
return Distribution.from_name(distribution_name)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/nix/store/rgnappqqc5vbq60gza5fflyk84sylwl6-python3-3.14.6/lib/python3.14/importlib/metadata/__init__.py", line 409, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for python-tree-sitter-bash
Relevant log output
Additional context
No response
System metadata
Notify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
- I assert that I have read the automation/AI policy and that this issue report complies with it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is broken6.topic: tree-sitterTree-sitter is a parser generator tool and an incremental parsing library.
Activity
dotlambda commentedon Jul 27, 2026
The
python-prefix needs to be removed from the pname: https://pypi.org/project/tree-sitter-bash/.GaetanLepage commentedon Aug 9, 2026
Fixed: https://hydra.nixos.org/build/341285910
[-]tree-sitter-bash: build failure[/-][+]build failure: No package metadata was found for python-tree-sitter-bash/...[/+]Freed-Wu commentedon Aug 14, 2026
I guess it is a same bug @elijahr @Biswa96 @mweinelt
Moreover, I doubt more packages exist this problem.
#524341
python3Packages.autopxd2: fix pname
python3Packages.autopxd2: fix pname