[Numpy-discussion] Re: Policy on AI-generated code

2024-07-03 Thread Loïc Estève via NumPy-Discussion
Hi, in scikit-learn, more of a FYI than some kind of policy (amongst other things it does not even mention explicitly "AI" and avoids the licence discussion), we recently added a note in our FAQ about "fully automated tools": https://github.com/scikit-learn/scikit-learn/pull/29287 From my persona

[Numpy-discussion] Policy on AI-generated code

2024-07-03 Thread Matthew Brett
Hi, We recently got a set of well-labeled PRs containing (reviewed) AI-generated code: https://github.com/numpy/numpy/pull/26827 https://github.com/numpy/numpy/pull/26828 https://github.com/numpy/numpy/pull/26829 https://github.com/numpy/numpy/pull/26830 https://github.com/numpy/numpy/pull/26831

[Numpy-discussion] Re: Mysterious issue to build pyFFTW with Numpy 2.0 on Windows

2024-07-03 Thread Sebastian Berg
The most probably change seems to me that NumPy now includes `complex.h`. But not sure that is the right direction or why it would lead to cryptic errors. - Sebastian On Wed, 2024-07-03 at 10:30 +0200, PIERRE AUGIER wrote: > Hi, > > We have a strange issue with building pyFFTW with Numpy 2.0

[Numpy-discussion] Mysterious issue to build pyFFTW with Numpy 2.0 on Windows

2024-07-03 Thread PIERRE AUGIER
Hi, We have a strange issue with building pyFFTW with Numpy 2.0 on Windows. I observed it before when a build in the CI tried to use Numpy 2.0. The solution was to pin the Numpy version used for the build to <2.0. However, now I'm trying in this PR (https://github.com/pyFFTW/pyFFTW/pull/383) t