GNU bug report logs -
#76240
[PATCH] gnu: Add NumPy 2 related variants.
Previous Next
Full log
Message #14 received at 76240 <at> debbugs.gnu.org (full text, mbox):
Hi Oleg,
Did you have a chance to look into this?
Thanks in advance,
Ludo’.
Ludovic Courtès <ludo <at> gnu.org> writes:
> Hey Oleg,
>
> Ludovic Courtès <ludo <at> gnu.org> skribis:
>
>> Sharlatan Hellseher <sharlatanus <at> gmail.com> skribis:
>>
>>> This to make Pandas, MatplotLib and SciPy compatible with NumPy 2. They
>>> need to be build with newer version otherwise it raise the error.
>>>
>>> * gnu/packages/python-science.scm: (python-pandas-with-numpy-2,
>>> python-scipy-with-numpy-2): New variables.
>>>
>>> * gnu/packages/python-xyz.scm (python-matplotlib-with-numpy-2): New variable.
>>>
>>> Change-Id: I53878b643ea6f7b35e3d893a18da438c2c111c52
>>
>> [...]
>>
>>> +(define-public python-scipy-with-numpy-2
>>> + (package
>>> + (inherit python-scipy)
>>> + (propagated-inputs
>>
>> Comment for all of these: it should be ‘package/inherit’ (to potentially
>> inherit replacements) and also change the ‘name’ field to distinguish
>> it.
>>
>> Actually, assuming we want to move to NumPy 2.x going forward, I would
>> suggest keeping the regular name for the -with-numpy-2 variants (like
>> “python-scipy”) and choose a different name for the NumPy 1.x variants
>> (like “python-scipy-with-numpy-1”).
>>
>> That way, somebody running:
>>
>> guix shell python python-numpy python-scipy
>
> This broke ‘tests/guix-pack-relocatable.sh’ for these reasons:
>
> + guix pack -RR python-numpy python-scipy --no-grafts -n
> guix pack: error: profile contains conflicting entries for python-numpy
> guix pack: error: first entry: python-numpy <at> 2.2.2 /gnu/store/i1g6wbcc0ilhcc5vy4pi70z58gk1716f-python-numpy-2.2.2R
> guix pack: error: second entry: python-numpy <at> 1.24.4 /gnu/store/2s1jala0jg56drh4hc19mrdg6w3gswhm-python-numpy-1.24.4R
> guix pack: error: ... propagated from python-pythran <at> 0.17.0
> guix pack: error: ... propagated from python-scipy <at> 1.12.0
> hint: Backtrace:
>
> Would be nice to address it before we get a deluge of angry bug reports.
> :-)
>
> Ludo’.
This bug report was last modified 56 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.