unofficial mirror of guix-science@gnu.org 
 help / color / mirror / Atom feed
* latest version of numpy?
@ 2024-11-24 16:32 Alexis Simon via Guix-Science
  2024-11-25 11:29 ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Alexis Simon via Guix-Science @ 2024-11-24 16:32 UTC (permalink / raw)
  To: guix-science

Hi,

Is anyone aware of any effort towards building numpy 2.1.0 (and probably 
related packages such as numba)?

I've had a quick look around the internet but couldn't find any.

Thanks,
Alexis


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: latest version of numpy?
  2024-11-24 16:32 latest version of numpy? Alexis Simon via Guix-Science
@ 2024-11-25 11:29 ` Ludovic Courtès
  2024-11-25 18:14   ` Alexis Simon via Guix-Science
  0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2024-11-25 11:29 UTC (permalink / raw)
  To: Alexis Simon via Guix-Science
  Cc: Alexis Simon, Andreas Enge, Eric Bavier, Sharlatan Hellseher,
	Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi,
	Sharlatan Hellseher, Tanguy Le Carrour, jgart

Hi,

Alexis Simon via Guix-Science <guix-science@gnu.org> skribis:

> Is anyone aware of any effort towards building numpy 2.1.0 (and
> probably related packages such as numba)?

I don’t know but I agree it’d be nice.

Cc’ing members of the Python and Science teams (as returned by
./etc/teams.scm) since they’re probably the best contact points for
this.

Thanks,
Ludo’.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: latest version of numpy?
  2024-11-25 11:29 ` Ludovic Courtès
@ 2024-11-25 18:14   ` Alexis Simon via Guix-Science
  2024-11-25 18:37     ` Sharlatan Hellseher
  2024-11-26 14:47     ` Ludovic Courtès
  0 siblings, 2 replies; 7+ messages in thread
From: Alexis Simon via Guix-Science @ 2024-11-25 18:14 UTC (permalink / raw)
  To: Ludovic Courtès, Alexis Simon via Guix-Science
  Cc: Andreas Enge, Eric Bavier, Sharlatan Hellseher,
	Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi,
	Tanguy Le Carrour, jgart

Thanks

 From a very naive try to compile 2.1.3, here is the first error that I'm stuck at and that I have 
no idea how to work around:

------
[53/578] Compiling C++ object numpy/_core/libnpymath.a.p/src_npymath_halffloat.cpp.o
FAILED: numpy/_core/libnpymath.a.p/src_npymath_halffloat.cpp.o
c++ -Inumpy/_core/libnpymath.a.p -Inumpy/_core -I../numpy/_core -Inumpy/_core/include 
-I../numpy/_core/include -I../numpy/_core/src/npymath -I../numpy/_core/src/common 
-I/gnu/store/jjcka1g6sk2cvwx8nm4fdwpdq3vll0v0-python-3.10.7/include/python3.10 
-I/tmp/guix-build-python-numpy-2-2.1.3.drv-0/numpy-2.1.3/.mesonpy-n87i3_af/meson_cpu 
-fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch 
-std=c++17 -O3 -msse -msse2 -msse3 -DNPY_HAVE_SSE2 -DNPY_HAVE_SSE -DNPY_HAVE_SSE3 -fPIC -MD -MQ 
numpy/_core/libnpymath.a.p/src_npymath_halffloat.cpp.o -MF 
numpy/_core/libnpymath.a.p/src_npymath_halffloat.cpp.o.d -o 
numpy/_core/libnpymath.a.p/src_npymath_halffloat.cpp.o -c ../numpy/_core/src/npymath/halffloat.cpp
In file included from ../numpy/_core/src/common/float_status.hpp:6,
                  from ../numpy/_core/src/common/half_private.hpp:5,
                  from ../numpy/_core/src/common/half.hpp:7,
                  from ../numpy/_core/src/common/common.hpp:10,
                  from ../numpy/_core/src/npymath/halffloat.cpp:12:
/gnu/store/piai5ba5fx901hr7pwnz2b9vysrrjmlh-gfortran-11.4.0/include/c++/fenv.h:58:11: error: 
‘fenv_t’ has not been declared in ‘::’
    58 |   using ::fenv_t;
       |           ^~~~~~
-------

Alexis

On 25/11/2024 12:29, Ludovic Courtès wrote:
> Hi,
> 
> Alexis Simon via Guix-Science <guix-science@gnu.org> skribis:
> 
>> Is anyone aware of any effort towards building numpy 2.1.0 (and
>> probably related packages such as numba)?
> 
> I don’t know but I agree it’d be nice.
> 
> Cc’ing members of the Python and Science teams (as returned by
> ./etc/teams.scm) since they’re probably the best contact points for
> this.
> 
> Thanks,
> Ludo’.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: latest version of numpy?
  2024-11-25 18:14   ` Alexis Simon via Guix-Science
@ 2024-11-25 18:37     ` Sharlatan Hellseher
  2024-11-26 11:02       ` Alexis Simon via Guix-Science
  2024-11-26 11:03       ` Alexis Simon via Guix-Science
  2024-11-26 14:47     ` Ludovic Courtès
  1 sibling, 2 replies; 7+ messages in thread
From: Sharlatan Hellseher @ 2024-11-25 18:37 UTC (permalink / raw)
  To: Alexis Simon
  Cc: Ludovic Courtès, Alexis Simon via Guix-Science, Andreas Enge,
	Eric Bavier, Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi,
	Tanguy Le Carrour, jgart

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]

Hi,

There is 1.24.4 in python team branch.

I might give it a go and add python-numpy-2 variant as well this week.
The branch contains a lot of nice stuff which would be good
to test before scheduling the merge.

Thanks,
Oleg

[-- Attachment #2: Type: text/html, Size: 477 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: latest version of numpy?
  2024-11-25 18:37     ` Sharlatan Hellseher
@ 2024-11-26 11:02       ` Alexis Simon via Guix-Science
  2024-11-26 11:03       ` Alexis Simon via Guix-Science
  1 sibling, 0 replies; 7+ messages in thread
From: Alexis Simon via Guix-Science @ 2024-11-26 11:02 UTC (permalink / raw)
  To: Sharlatan Hellseher
  Cc: Ludovic Courtès, Alexis Simon via Guix-Science, Andreas Enge,
	Eric Bavier, Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi,
	Tanguy Le Carrour, jgart

Thanks, I see in the comments the same error as I had was reached for 
versions > 1.24.4.
Alexis

On 25/11/2024 19:37, Sharlatan Hellseher wrote:
> Hi,
> 
> There is 1.24.4 in python team branch.
> 
> I might give it a go and add python-numpy-2 variant as well this week.
> The branch contains a lot of nice stuff which would be good
> to test before scheduling the merge.
> 
> Thanks,
> Oleg
> 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: latest version of numpy?
  2024-11-25 18:37     ` Sharlatan Hellseher
  2024-11-26 11:02       ` Alexis Simon via Guix-Science
@ 2024-11-26 11:03       ` Alexis Simon via Guix-Science
  1 sibling, 0 replies; 7+ messages in thread
From: Alexis Simon via Guix-Science @ 2024-11-26 11:03 UTC (permalink / raw)
  To: Sharlatan Hellseher
  Cc: Ludovic Courtès, Alexis Simon via Guix-Science, Andreas Enge,
	Eric Bavier, Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi,
	Tanguy Le Carrour, jgart

Thanks, I see in the comments the same error as I had was reached for 
versions > 1.24.4.
Alexis

On 25/11/2024 19:37, Sharlatan Hellseher wrote:
> Hi,
> 
> There is 1.24.4 in python team branch.
> 
> I might give it a go and add python-numpy-2 variant as well this week.
> The branch contains a lot of nice stuff which would be good
> to test before scheduling the merge.
> 
> Thanks,
> Oleg
> 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: latest version of numpy?
  2024-11-25 18:14   ` Alexis Simon via Guix-Science
  2024-11-25 18:37     ` Sharlatan Hellseher
@ 2024-11-26 14:47     ` Ludovic Courtès
  1 sibling, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2024-11-26 14:47 UTC (permalink / raw)
  To: Alexis Simon
  Cc: Alexis Simon via Guix-Science, Andreas Enge, Eric Bavier,
	Sharlatan Hellseher, Lars-Dominik Braun, Marius Bakke,
	Munyoki Kilyungi, Tanguy Le Carrour, jgart

Hello!

Alexis Simon <alexis.simon@runbox.com> skribis:

> In file included from ../numpy/_core/src/common/float_status.hpp:6,
>                  from ../numpy/_core/src/common/half_private.hpp:5,
>                  from ../numpy/_core/src/common/half.hpp:7,
>                  from ../numpy/_core/src/common/common.hpp:10,
>                  from ../numpy/_core/src/npymath/halffloat.cpp:12:
> /gnu/store/piai5ba5fx901hr7pwnz2b9vysrrjmlh-gfortran-11.4.0/include/c++/fenv.h:58:11:
> error: ‘fenv_t’ has not been declared in ‘::’
>    58 |   using ::fenv_t;
>       |           ^~~~~~

That sounds a lot like this dreaded bug:

  https://issues.guix.gnu.org/43579

Good news is that there are workarounds, as discussed at:

  https://issues.guix.gnu.org/73439#45

Ludo’.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-11-26 14:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-24 16:32 latest version of numpy? Alexis Simon via Guix-Science
2024-11-25 11:29 ` Ludovic Courtès
2024-11-25 18:14   ` Alexis Simon via Guix-Science
2024-11-25 18:37     ` Sharlatan Hellseher
2024-11-26 11:02       ` Alexis Simon via Guix-Science
2024-11-26 11:03       ` Alexis Simon via Guix-Science
2024-11-26 14:47     ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).