Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: python3Packages.nptyping #375638

Open
3 tasks done
Pandapip1 opened this issue Jan 21, 2025 · 0 comments · May be fixed by #375646
Open
3 tasks done

Build failure: python3Packages.nptyping #375638

Pandapip1 opened this issue Jan 21, 2025 · 0 comments · May be fixed by #375646
Labels
0.kind: build failure A package fails to build

Comments

@Pandapip1
Copy link
Contributor

Nixpkgs version

  • Unstable (25.05)

Steps to reproduce

nix build nixpkgs#python312Packages.nptyping

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

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

Relevant log output

Executing pythonImportsCheckPhase
Check whether the following modules can be imported: nptyping
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 1, in <lambda>
  File "/nix/store/c9m6yd8fg1flz2j5r4bif1ib5j20a0cy-python3-3.12.8/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/nix/store/fvvlvarknrdv72pg7f767ni0g8dc73nm-python3.12-nptyping-2.5.0/lib/python3.12/site-packages/nptyping/__init__.py", line 32, in <module>
    from nptyping.ndarray import NDArray
  File "/nix/store/fvvlvarknrdv72pg7f767ni0g8dc73nm-python3.12-nptyping-2.5.0/lib/python3.12/site-packages/nptyping/ndarray.py", line 40, in <module>
    from nptyping.shape import Shape
  File "/nix/store/fvvlvarknrdv72pg7f767ni0g8dc73nm-python3.12-nptyping-2.5.0/lib/python3.12/site-packages/nptyping/shape.py", line 29, in <module>
    from nptyping.shape_expression import (
  File "/nix/store/fvvlvarknrdv72pg7f767ni0g8dc73nm-python3.12-nptyping-2.5.0/lib/python3.12/site-packages/nptyping/shape_expression.py", line 36, in>
    from nptyping.typing_ import ShapeExpression, ShapeTuple
  File "/nix/store/fvvlvarknrdv72pg7f767ni0g8dc73nm-python3.12-nptyping-2.5.0/lib/python3.12/site-packages/nptyping/typing_.py", line 51, in <module>
    Bool8 = np.bool8
            ^^^^^^^^
  File "/nix/store/jajcj17x1mj1gsy1lhb7paf702z3kcx1-python3.12-numpy-2.2.0/lib/python3.12/site-packages/numpy/__init__.py", line 414, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'bool8'. Did you mean: 'bool'?

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.8, NixOS, 25.05 (Warbler), 25.05.19700101.dirty
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.25.3
  • nixpkgs: /nix/store/v0g0bxsd5gw6k0jz2855f8h7l1218925-source

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.

@Pandapip1 Pandapip1 added the 0.kind: build failure A package fails to build label Jan 21, 2025
@Pandapip1 Pandapip1 linked a pull request Jan 21, 2025 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant