Re: [oi-dev] Numpy - upgrade for Python 3.X

2021-07-17 Thread Aurélien Larcher
You can bump it safely and use Python 3.9, the only consumer is I think the
boost/python bindings but this is not a big deal, go ahead.

On Fri, Jul 16, 2021 at 2:08 PM Nona Hansel  wrote:

> Hello,
>
> I'm thinking about updating numpy since we have it just for Python 2.7.
> But before doing any changes, I wanna consult some things for having a
> clearer view of what to do.
>
> First, when I run
>
> pkg search -H -r -o pkg.name 'depend:require:library/python/numpy'
>
> I get:
> library/python-2/numpy
>
> which tells me that there are no packages with numpy as a dependency,
> right?
>
> Second, the newest version of numpy
> https://github.com/numpy/numpy/releases supports Python 3.7. and 3.9. Is
> that okay? I believe it is because Python 3.5. doesn't have numpy today
> anyway and according to this web https://endoflife.date/python security
> support for Python 3.5. has ended 10 months ago.
>
> I assume I can start working on it on Monday but it won't be finished any
> time soon - the Makefile looks very complicated to me.
>
> Thank you for your insights. Any tips about this upgrade would be much
> appreciated.
>
> Best regards,
> Nona
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>


-- 
---
Praise the Caffeine embeddings
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] Numpy - upgrade for Python 3.X

2021-07-16 Thread Alan Coopersmith

On 7/16/21 5:07 AM, Nona Hansel wrote:

Thank you for your insights. Any tips about this upgrade would be much 
appreciated.


You can look at
 https://github.com/oracle/solaris-userland/tree/master/components/python/numpy

as an example, though it's a more complicated Makefile as it builds numpy 1.19.0
for Python 3.7, and 1.14.2 for Python 2.7.

-alan-

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


[oi-dev] Numpy - upgrade for Python 3.X

2021-07-16 Thread Nona Hansel

Hello,




I'm thinking about updating numpy since we have it just for Python 2.7. But
before doing any changes, I wanna consult some things for having a clearer
view of what to do.




First, when I run





pkg search -H -r -o pkg.name 'depend:require:library/python/numpy'





I get:


library/python-2/numpy




which tells me that there are no packages with numpy as a dependency, right?




Second, the newest version of numpy https://github.com/numpy/numpy/releases
supports Python 3.7. and 3.9. Is that okay? I believe it is because Python
3.5. doesn't have numpy today anyway and according to this web https://
endoflife.date/python security support for Python 3.5. has ended 10 months
ago.




I assume I can start working on it on Monday but it won't be finished any 
time soon - the Makefile looks very complicated to me.




Thank you for your insights. Any tips about this upgrade would be much
appreciated.




Best regards,

Nona
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev