Skip to content

nanobind: nativeCheckInputs dependencies can break children derivation #393248

@Sigmanificient

Description

@Sigmanificient

Nixpkgs version

  • Unstable (25.05)

Describe the bug

nanobind uses multiple libraries is its nativeCheckInputs that are really heavy, and not related to the package itself. This set of dependencies include tensorflow-bin which break under certain python version:

This cause the version bump of atopile to not build:

Steps to reproduce

some-package

build-system = [
  hatchling
  nanobind
];

causes:

error: tensorflow-bin: unsupported configuration: x86_64-linux_313

...despite the package not using tensorflow-bin!

Notify maintainers

@parras


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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions