GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — BLD: switch to meson-python as the default build backend by rgommers · Pull Request #23838 · numpy/numpy Conversation
Member
Time to give this a go now we're developing for 2.0 on Follows up on #23808 (comment).
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
rgommers
force-pushed
the
default-to-meson
branch
from
bd85443 to
055345b
Compare
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
mattip
force-pushed
the
default-to-meson
branch
3 times, most recently
from
16b0895 to
067e514
Compare
|
There was an error while loading. Please reload this page.
|
Getting somewhere. The manylinux wheel builds are failing with The musllinux wheel builds have lots of DeprecationWarnings in tests, and fails MacOS wheels are failing some einsum tests Windows wheels is failing to find OpenBLAS, the PyPy does not build, it seems the include paths are not right? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
This seems a bit too agressive, it's better to make it specific to cibuildwheel to avoid forcing MSVC usage on everyone who builds from source. Probably this is the way: [tool.cibuildwheel.windows] config-settings = {"setup-args=--vsenv"} or alternatively as an env var: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I thought that was fixed for SciPy so it should work - good idea to disable that build config like you did and do that separately though.
That looks odd. Also there's a It'd be useful to make the cibuildwheel jobs non-verbose, the CI logs are hard to navigate now - the log is 23,900 lines long. It's the
I am unsure why other jobs are not failing on that, but the So it's the test that needs tweaking here.
Those seem to be gone, at least I checked two jobs and it only shows the same |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I will reduce it
I will move the directive
I will try to fix that |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
The wheels are building with |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@mattip do we want to default to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Using gives me but the three tests still fail. I will commit what I have so far so others can try. I am not sure what is the delta to the other meson builds or to th distutil builds. There are also DeprecationWarnings |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
There is still a problem with the license file. I think the syntax here is different from the syntax in the meson-python test |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Ah right, yes I had counted on PEP 639 moving forward by now. Let me have a look at this one right now. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
f52cb49 to
2670a13
Compare
Ah thanks, that explains it! The |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
2670a13 to
df40e19
Compare
|
The 32-bit long double detection hack isn't quite working: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
df40e19 to
6f7d768
Compare
|
The macOS arm64 on Cirrus CI are still failing with: That's related to forcing Other than that, this is getting close. Trying to get it green by tonight. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Representative subset of warnings observed in CI:
```
f2py/tests/test_return_integer.py: 20 warnings
/tmp/tmp.roLIRtEhPN/venv/lib/python3.9/site-packages/numpy/f2py/tests/test_return_integer.py:24: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
assert t(array([123], "d")) == 123
f2py/tests/test_return_real.py: 20 warnings
/tmp/tmp.roLIRtEhPN/venv/lib/python3.9/site-packages/numpy/f2py/tests/test_return_real.py:23: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
assert abs(t(array([234])) - 234.0) <= err
f2py/tests/test_return_real.py: 20 warnings
/tmp/tmp.roLIRtEhPN/venv/lib/python3.9/site-packages/numpy/f2py/tests/test_return_real.py:24: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
assert abs(t(array([[234]])) - 234.0) <= err
```
This is way too slow, running a large part of the test suite twice. Issue 23975 tracks changing how this feature is tested.
Also remove a no longer needed `-std=c99` (this is already specified in the top-level `meson.build` file).
6f7d768 to
302f244
Compare
[skip circle] [skip cirrus]
|
Okay, this is ready to go in, phew:) All the follow-ups to this PR are listed in gh-23981. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM, except for a few nits and checks for things that might need to be in the tracking issue
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
| python3 -m pip install threadpoolctl && \ | ||
| python3 tools/openblas_support.py --check_version" | ||
| cd tools && \ | ||
| python3 -m pytest --pyargs numpy" |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This has removed the check for the openblas version. Is that on purpose?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Yes, we now have proper logging in the build log for the version, and this cannot really be wrong (no other OpenBLAS version is installed in CI). This job was painful to debug, so I trimmed it down as much as possible.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
This is still green after merging in the I'll go ahead and merge this to keep the ball rolling. Thanks for the reviews and help @mattip! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.