Skip to content

Build failure: python3Package.spectral-cube #419536

@smaret

Description

@smaret

Nixpkgs version

  • Unstable (25.11)

Steps to reproduce

nix build nixpkgs#python3Packages.spectral-cube

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

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

Relevant log output

       >                [0, 0, 1]])
       >
       >         """
       >         input = np.asarray(input)
       >         if np.iscomplexobj(input):
       >             raise TypeError('Complex type not supported')
       >
       >         if max_label < 1:
       >             max_label = input.max()
       >
       > >       return _nd_image.find_objects(input, max_label)
       > E       TypeError: 'numpy.bool' object cannot be interpreted as an integer
       >
       > /nix/store/7sdyhb79k3xg5rr8b6vg108p4bn032ni-python3.13-scipy-1.15.3/lib/python3.13/site-packages/scipy/ndimage/_measurements.py:308: TypeError
       > =========================== short test summary info ============================
       > FAILED spectral_cube/tests/test_spectral_cube.py::test_smooth_update_function_parallel - AssertionError: assert '' == 'Update Funct...nction Call\n'

Additional context

No response

System metadata

  • system: "aarch64-darwin"
  • host os: Darwin 24.5.0, macOS 15.5
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Lix, like Nix) 2.92.0 System type: aarch64-darwin Additional system types: x86_64-darwin Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /Users/smaret/.config/nix/nix.conf:/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/y9mgqlvgyh0ixd0vgyn1y4kjgsn2gw36-lix-2.92.0/share
  • channels(root): "nixpkgs"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs

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

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