[Numpy-discussion] Installing numpy on an "unsupported" platform

2023-05-23 Thread asyropoulos--- via NumPy-Discussion
Hello,

I am using Python 3.10.0 on OpenIndiana and yesterday I tried to install numpy 
in my system. The command

/opt/gnu/python/bin/python3.10  -m pip install --user numpy

failed and it it printed a long error report. The errors are of the form 

from numpy/core/src/umath/string_ufuncs.cpp:1:
  /usr/gcc/10/include/c++/10.4.0/cmath:1134:11: error: 'llrint' has not 
been declared in '::'
   1134 |   using ::llrint;
|   ^~
First I have noticed that ': warning: "__STDC_VERSION__" 
redefined' and after some experimentation
I realized that the extra option  -D__STDC_VERSION__=0 is actually the one that 
causes the problem. So my question is:
How can I disable this option? 

Regards,

Apostolos
___
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com


[Numpy-discussion] Regarding beginner first issue label or similar.

2023-05-23 Thread Mohit Kumar
Dear mentors,

I am Mohit Kumar, a Data Science student at IITM. I want to develop my skills 
in numpy through GitHub. As a beginner, I would like to work on 
beginner-friendly issues such as "good first issues" or any other labels 
specifically designed for beginners. Therefore, I would like to ask if the 
numpy GitHub repository uses any other labels for beginner-friendly issues.

I am excited to join this community and contribute to the numpy.

Thank you,
Mohit Kumar
___
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com


[Numpy-discussion] Re: Regarding beginner first issue label or similar.

2023-05-23 Thread Melissa Mendonça
Hello, Mohit

We don't use the "good-first-issue" label because we find it very difficult
to actually spot issues that would fit that label. An alternative we've
found is to use the "sprintable" label - meaning this is a small project
that you might be able to solve during the time of a sprint or potentially
with some help from more experienced contributors. Feel free to browse
those issues here:
https://github.com/numpy/numpy/issues?q=is%3Aopen+label%3Asprintable+sort%3Aupdated-desc

Cheers,

Melissa

On Tue, May 23, 2023 at 9:26 AM Mohit Kumar 
wrote:

> Dear mentors,
>
> I am Mohit Kumar, a Data Science student at IITM. I want to develop my
> skills in numpy through GitHub. As a beginner, I would like to work on
> beginner-friendly issues such as "good first issues" or any other labels
> specifically designed for beginners. Therefore, I would like to ask if the
> numpy GitHub repository uses any other labels for beginner-friendly issues.
>
> I am excited to join this community and contribute to the numpy.
>
> Thank you,
> Mohit Kumar
> ___
> NumPy-Discussion mailing list -- numpy-discussion@python.org
> To unsubscribe send an email to numpy-discussion-le...@python.org
> https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
> Member address: meliss...@gmail.com
>
___
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com


[Numpy-discussion] Re: Installing numpy on an "unsupported" platform

2023-05-23 Thread Ralf Gommers
On Tue, May 23, 2023 at 2:26 PM asyropoulos--- via NumPy-Discussion <
numpy-discussion@python.org> wrote:

> Hello,
>
> I am using Python 3.10.0 on OpenIndiana and yesterday I tried to install
> numpy in my system. The command
>
> /opt/gnu/python/bin/python3.10  -m pip install --user numpy
>
> failed and it it printed a long error report. The errors are of the form
>
> from numpy/core/src/umath/string_ufuncs.cpp:1:
>   /usr/gcc/10/include/c++/10.4.0/cmath:1134:11: error: 'llrint' has
> not been declared in '::'
>1134 |   using ::llrint;
> |   ^~
> First I have noticed that ': warning: "__STDC_VERSION__"
> redefined' and after some experimentation
> I realized that the extra option  -D__STDC_VERSION__=0 is actually the one
> that causes the problem. So my question is:
> How can I disable this option?
>

That seems wrong indeed. It's set on line 260 of the main `setup.py` file
for numpy. We require C99, so you can try setting it to 199901L. I suspect
that that will fix it since `llrint` is a C99 function. If that does work,
please let us know so we can fix things up. And if it doesn't work, please
open an issue at https://github.com/numpy/numpy/issues/ and Cc me
(@rgommers); the issue tracker is a better place than the mailing list to
work through build problems.

Cheers,
Ralf
___
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com