Skip to content

Build failure: python3Packages.hickle #393416

@taranarmo

Description

@taranarmo

Nixpkgs version

  • Unstable (25.05)

Steps to reproduce

  1. go to the root of nixpkgs repo master
  2. run nix-build -A python3Packages.hickle -I=.

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.lossy.network/build/2944421

Relevant log output

>               content = np.array(content, copy=False, dtype=str).tolist()
E               ValueError: Unable to avoid copy while creating an array as requested.
E               If using `np.array(obj, copy=False)` replace it with `np.asarray(obj)` to allow a copy when needed (no behavior change in NumPy 1.x).
E               For more details, see https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword.

Additional context

The tests are failing probably due to switch to numpy 2.x, there is a PR upstream that fixes it

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.13.7, NixOS, 24.11 (Vicuna), 24.11.20250318.da04445
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.12
  • channels(root): "nixos-23.11"
  • nixpkgs: /nix/store/s3bhg6p26cqi1hm2lamjjdwaiq49g2hn-source

Notify maintainers

@bcdarwin


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

    0.kind: build failureA package fails to build6.topic: pythonPython is a high-level, general-purpose programming language.
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions