[Numpy-discussion] GSOD-NumPy 2023: Review at next Community Meeting

2023-12-06 Thread Mars Lee
Hi all! 
I'll be hosting Review #3 for the 'NumPy Contributor Comics'. It will be hosted 
at the next NumPy Community Meeting on Dec 6. It will take about 15 minutes. 
You can also comment on Github: https://github.com/numpy/numpy/issues/25318. 

The review will be open for the next two weeks and close on Dec 20.

I also gave a talk about this project at the PyData NYC conference. Here's a 
link to the video: https://youtu.be/Gv_Ea94wquM?si=drLkjdN_0A75Jshn&t=40

See you there!
- Mars
___
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: Telling meson build which CBLAS/LAPACK (LAPACKE?) to use via pkgconfig module

2023-12-06 Thread Ralf Gommers
On Wed, Dec 6, 2023 at 1:32 AM Dr. Thomas Orgis 
wrote:

> Am Sun, 3 Dec 2023 19:54:10 +0100
> schrieb "Dr. Thomas Orgis" :
>
> > > You have to go through a "build frontend" to produce a wheel, which
> then
> > > gets installed/repackaged for your distro.
> >
> > This is obviously happening in pkgsrc.
>
> >
> > I'll do some testing tomorrow, at least.
>
> Well, now is another day. Pkgsrc uses python -m build and I added
>
> -Csetup-args=-Dblas=${CBLAS_PC} -Csetup-args=-Dlapack=${LAPACK_PC}
>
> which seems to work out fine using cblas.pc and lapack.pc in the case
> of the netlib install. In fact, most linking is done only to libblas.so
> instead of libcblas.so, as the linker is smart enough to throw away the
> unused lib.
>

Great, thanks for confirming!

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


[Numpy-discussion] Re: complex_ imported by numexpr, but seems no longer supported by numpy

2023-12-06 Thread 腾刘
Ah, sorry I don't know why I searched in the documentation but it didn't
come out or something went wrong to my eyes , anyways I searched in doc now
and it's right there.

The reason numexpr.test() fails is because I'm using numpy 2.0.0.dev where
complex_ has been removed.

So problem solved, I should change the behavior of numexpr.test().

腾刘 <27rabbi...@gmail.com> 于2023年12月2日周六 16:34写道:

> Hi,
>
> I'm recently focusing on resolve some of the issues about numexpr and I
> found that in numexpr's test module, it will run:
>
> `from numpy import (, complex_, .)`
>
> And when I run `numexpr.test()` the output looks like:
>
> Traceback (most recent call last):
>   File 
> "/Users/liuteng/opt/anaconda3/envs/test_ne/lib/python3.9/site-packages/numexpr-2.8.8.dev1-py3.9-macosx-10.9-x86_64.egg/numexpr/__init__.py",
>  line 64, in test
> import numexpr.tests
>   File 
> "/Users/liuteng/opt/anaconda3/envs/test_ne/lib/python3.9/site-packages/numexpr-2.8.8.dev1-py3.9-macosx-10.9-x86_64.egg/numexpr/tests/__init__.py",
>  line 11, in 
> from numexpr.tests.test_numexpr import test, print_versions
>   File 
> "/Users/liuteng/opt/anaconda3/envs/test_ne/lib/python3.9/site-packages/numexpr-2.8.8.dev1-py3.9-macosx-10.9-x86_64.egg/numexpr/tests/test_numexpr.py",
>  line 21, in 
> from numpy import (
> ImportError: cannot import name 'complex_' from 'numpy' 
> (/Users/liuteng/opt/anaconda3/envs/test_ne/lib/python3.9/site-packages/numpy/__init__.py)
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "", line 1, in 
>   File 
> "/Users/liuteng/opt/anaconda3/envs/test_ne/lib/python3.9/site-packages/numexpr-2.8.8.dev1-py3.9-macosx-10.9-x86_64.egg/numexpr/__init__.py",
>  line 68, in test
> raise ImportError('`numexpr.tests` could not be imported, likely it was 
> excluded from the distribution.')
> ImportError: `numexpr.tests` could not be imported, likely it was excluded 
> from the distribution
>
> Then I replace it with `cdouble` and everthing is fine then.
>
> So I'm curious what `complex_` was.
>
> Thanks in advance!
>
>
___
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