Skip to content

python312Packages.numpy_2: 2.0.0 -> 2.0.1#329147

Merged
doronbehar merged 1 commit intoNixOS:masterfrom
doronbehar:pkg/numpy_2
Aug 21, 2024
Merged

python312Packages.numpy_2: 2.0.0 -> 2.0.1#329147
doronbehar merged 1 commit intoNixOS:masterfrom
doronbehar:pkg/numpy_2

Conversation

@doronbehar
Copy link
Contributor

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Jul 22, 2024
@ofborg ofborg bot added 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. labels Jul 22, 2024
@doronbehar doronbehar requested a review from mweinelt August 3, 2024 19:18
@doronbehar
Copy link
Contributor Author

Since there are no objections and the update is trivial, I'm merging.

@doronbehar doronbehar merged commit 6faf879 into NixOS:master Aug 21, 2024
@doronbehar doronbehar deleted the pkg/numpy_2 branch August 21, 2024 06:29
@GaetanLepage
Copy link
Contributor

GaetanLepage commented Aug 21, 2024

This update broke python312Packages.numba.

building 'numba._helperlib' extension
creating build/temp.linux-x86_64-cpython-312/numba/cext
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -I/nix/store/hj602nhxf56j0avbs8j5l9nfa2ngfvg0-libxcrypt-4.4.36/include -fPIC -I/nix/store/z2snigxrrg03xp3v9p9grp2n8xmgy>
In file included from numba/_helpermod.c:23:
numba/_helperlib.c: In function ‘numba_cpowf’:
numba/_helperlib.c:22:44: error: ‘I’ undeclared (first use in this function)
   22 |     #define _complex_float_ctor(r, i) (r + I * i)
      |                                            ^
numba/_helperlib.c:147:12: note: in expansion of macro ‘_complex_float_ctor’
  147 |     *out = _complex_float_ctor((float) _out.real, (float) _out.imag);
      |            ^~~~~~~~~~~~~~~~~~~
numba/_helperlib.c:22:44: note: each undeclared identifier is reported only once for each function it appears in
   22 |     #define _complex_float_ctor(r, i) (r + I * i)
      |                                            ^
numba/_helperlib.c:147:12: note: in expansion of macro ‘_complex_float_ctor’
  147 |     *out = _complex_float_ctor((float) _out.real, (float) _out.imag);
      |            ^~~~~~~~~~~~~~~~~~~
error: command '/nix/store/lbk30k56awz9vz9qpid93fkjns0xwlhd-gcc-wrapper-13.3.0/bin/gcc' failed with exit code 1

ERROR Backend subprocess exited when trying to invoke build_wheel

@GaetanLepage
Copy link
Contributor

Upstream (closed) issue: numba/numba#9687
Upstream fix (currently in master, awaiting for a new release): numba/numba#9683

@doronbehar
Copy link
Contributor Author

In fact, there is a numpy 2.1.0 release which is not compatible even with numba master... numba/numba#9708 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants