Skip to content

Build failure: python3Packages.spacy #491816

@Stebalien

Description

@Stebalien

Nixpkgs version

  • Unstable (26.05)

Steps to reproduce

  1. Checkout nixpkgs master.
  2. Try to build python313Packages.spacy.

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

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

Relevant log output

...
Successfully built spacy-3.8.11-cp313-cp313-linux_x86_64.whl
Finished creating a wheel...
/build/source/dist /build/source
Unpacking to: unpacked/spacy-3.8.11...OK
Repacking wheel as ./spacy-3.8.11-cp313-cp313-linux_x86_64.whl...OK
/build/source
Finished executing pypaBuildPhase
buildPhase completed in 6 minutes 29 seconds
Running phase: pythonRuntimeDepsCheckHook
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for spacy-3.8.11-cp313-cp313-linux_x86_64.whl
  - typer-slim not installed

Additional context

This build was broken by replacing typer-slim with typer in #491060. Upstream spaCy depends on typer-slim, although it looks like there's an attempt to change that.

spaCy used to build because, even though the nix package declared typer (not typer-slim) as a dependency, the nix typer package was actually typer-slim with a few optional dependencies enabled so the package name matched.

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.18.9-zen1, NixOS, 26.05 (Yarara), 26.05.20260213.a82ccc3
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.31.3
  • nixpkgs: /nix/store/4ggd0kb8as38xa0kr730qpnsa89df0x7-source

Notify maintainers

@sarahec


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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions