Skip to content

build failure: No package metadata was found for python-tree-sitter-bash/... #545533

Closed

Description

@Freed-Wu

Nixpkgs version

  • Unstable (26.11)

Describe the bug

https://hydra.nixos.org/build/338807568

Steps to reproduce

https://hydra.nixos.org/build/338807568/nixlog/2

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

@GaetanLepage


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

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Activity

  1. added
    0.kind: bug
    on Jul 25, 2026
  2. added
    6.topic: tree-sitter
    on Jul 25, 2026
  3. dotlambda commented on Jul 27, 2026

    @dotlambda
    Member
  4. changed the title [-]tree-sitter-bash: build failure[/-] [+]build failure: No package metadata was found for python-tree-sitter-bash/...[/+] on Aug 14, 2026
  5. Freed-Wu commented on Aug 14, 2026

    @Freed-Wu
    ContributorAuthor

    I guess it is a same bug @elijahr @Biswa96 @mweinelt

           > Traceback (most recent call last):
           >   File "/nix/store/f5bawl7z7w0qzimg659zg5qn7awmzww5-python3-3.13.15/lib/python3.13/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/f5bawl7z7w0qzimg659zg5qn7awmzww5-python3-3.13.15/lib/python3.13/importlib/metadata/__init__.py", line 987, in version
           >     return distribution(distribution_name).version
           >            ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
           >   File "/nix/store/f5bawl7z7w0qzimg659zg5qn7awmzww5-python3-3.13.15/lib/python3.13/importlib/metadata/__init__.py", line 960, in distribution
           >     return Distribution.from_name(distribution_name)
           >            ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
           >   File "/nix/store/f5bawl7z7w0qzimg659zg5qn7awmzww5-python3-3.13.15/lib/python3.13/importlib/metadata/__init__.py", line 409, in from_name
           >     raise PackageNotFoundError(name)
           > importlib.metadata.PackageNotFoundError: No package metadata was found for python-autopxd2
           For full logs, run:
             nix log /nix/store/kxvxssx0l99jz7ras8d3kr1fpraki8f8-python3.13-python-autopxd2-3.2.3.drv
    

    Moreover, I doubt more packages exist this problem.

    #524341

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bug6.topic: tree-sitter

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions