10000 BLD: musllinux_aarch64 [wheel build] by andyfaff · Pull Request #24993 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

BLD: musllinux_aarch64 [wheel build] #24993

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 25, 2023
Merged

BLD: musllinux_aarch64 [wheel build] #24993

merged 1 commit into from
Oct 25, 2023

Conversation

andyfaff
Copy link
Member

Going to try to build musllinux_aarch64 and manylinux_aarch64 in a single matrix entry. This should work for cp310, cp311, cp312, but may fail on cp39 because of the EXPECT_CPU_FEATURES environment variable. I'm not sure why that's there, because I can't find that environment variable anywhere else in the project, and a search doesn't bring up anything either.

@github-actions github-actions bot added the 36 - Build Build related PR label Oct 24, 2023
@andyfaff
Copy link
Member Author

Ok, both musllinux_aarch64 and manylinux_aarch64 can be built on cirrus-ci.
There are some warnings during the test phase for all cpX:

=============================== warnings summary ===============================
../../../opt/python/cp39-cp39/lib/python3.9/importlib/__init__.py:127
  /opt/python/cp39-cp39/lib/python3.9/importlib/__init__.py:127: UserWarning: The numpy.array_api submodule is still experimental. See NEP 47.
    return _bootstrap._gcd_import(name[level:], package, level)
../../../opt/python/cp39-cp39/lib/python3.9/importlib/__init__.py:127
  /opt/python/cp39-cp39/lib/python3.9/importlib/__init__.py:127: DeprecationWarning: 
    `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
    of the deprecation of `distutils` itself. It will be removed for
    Python >= 3.12. For older Python versions it will remain present.
    It is recommended to use `setuptools < 60.0` for those Python versions.
    For more details, see:
      https://numpy.org/devdocs/reference/distutils_status_migration.html 
    return _bootstrap._gcd_import(name[level:], package, level)
_core/tests/test_numeric.py::TestNonarrayArgs::test_dunder_round_edgecases[2147483647--1]
  /tmp/tmp.jOKMgP/venv/lib/python3.9/site-packages/numpy/_core/tests/test_numeric.py:204: RuntimeWarning: invalid value encountered in cast
    assert_equal(round(val, ndigits), round(np.int32(val), ndigits))
_core/tests/test_umath.py::TestAVXUfuncs::test_avx_based_ufunc
_core/tests/test_umath.py::TestAVXUfuncs::test_avx_based_ufunc
_core/tests/test_umath.py::TestAVXUfuncs::test_avx_based_ufunc
_core/tests/test_umath.py::TestAVXUfuncs::test_avx_based_ufunc
_core/tests/test_umath.py::TestAVXUfuncs::test_avx_based_ufunc
_core/tests/test_umath.py::TestAVXUfuncs::test_avx_based_ufunc
_core/tests/test_umath.py::TestAVXUfuncs::test_avx_based_ufunc
_core/tests/test_umath.py::TestAVXUfuncs::test_avx_based_ufunc
  /tmp/tmp.jOKMgP/venv/lib/python3.9/site-packages/numpy/_core/tests/test_umath.py:1937: 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.)
    x_f64 = np.float64(x_f32)
_core/tests/test_umath.py::TestAVXUfuncs::test_avx_based_ufunc
_core/tests/test_umath.py::TestAVXUfuncs::test_avx_based_ufunc
_core/tests/test_umath.py::TestAVXUfuncs::test_avx_based_ufunc
  /tmp/tmp.jOKMgP/venv/lib/python3.9/site-packages/numpy/_core/tests/test_umath.py:1946: 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_array_max_ulp(myfunc(x_f64), np.float64(y_true128),
_core/tests/test_umath.py::TestAVXUfuncs::test_avx_based_ufunc
_core/tests/test_umath.py::TestAVXUfuncs::test_avx_based_ufunc
_core/tests/test_umath.py::TestAVXUfuncs::test_avx_based_ufunc
_core/tests/test_umath.py::TestAVXUfuncs::test_avx_based_ufunc
_core/tests/test_umath.py::TestAVXUfuncs::test_avx_based_ufunc
  /tmp/tmp.jOKMgP/venv/lib/python3.9/site-packages/numpy/_core/tests/test_umath.py:1942: 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_equal(myfunc(x_f64), np.float64(y_true128))
_core/tests/test_umath.py::TestComplexFunctions::test_loss_of_precision[complex64]
_core/tests/test_umath.py::TestComplexFunctions::test_loss_of_precision[complex128]
  /tmp/tmp.jOKMgP/venv/lib/python3.9/site-packages/numpy/_core/tests/test_umath.py:4248: RuntimeWarning: divide by zero encountered in divide
    d = np.absolute(np.arcsinh(x)/np.arcsinh(z).real - 1)
f2py/tests/test_f2py2e.py::test_debugcapi_bld
f2py/tests/test_f2py2e.py::test_npdistop
  /tmp/tmp.jOKMgP/venv/lib/python3.9/site-packages/numpy/f2py/f2py2e.py:686: VisibleDeprecationWarning: distutils has been deprecated since NumPy 1.26.Use the Meson backend instead, or generate wrapperswithout -c and use a custom build script
    builder = build_backend(

@rgommers rgommers self-requested a review October 25, 2023 08:50
@rgommers rgommers added this to the 2.0.0 release milestone Oct 25, 2023
Copy link
Member
@rgommers rgommers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! Least painful new wheel builds ever I think:)

The warnings are normal, I've seen them in other builds too. It'd be great to clean that up a bit at some point, but no one has been bothered so far and it's not urgent. So in it goes. Thanks Andrew.

@rgommers rgommers merged commit 44efd35 into numpy:main Oct 25, 2023
@rgommers
Copy link
Member

@charris this is easy enough that you may want to consider including it in 1.26.2?

@charris charris added the 09 - Backport-Candidate PRs tagged should be backported label Oct 25, 2023
@charris
Copy link
Member
charris commented Oct 25, 2023

consider including it in 1.26.2?

No problem. That will give us 35 wheels and one source file. We may want to keep an eye on our pypi disk usage.

@rgommers
Copy link
Member

. We may want to keep an eye on our pypi disk usage.

Will do. I've gotten a fair amount of experience with asking for space increases:)

@rgommers
Copy link
Member

We're good for quite a while longer:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
36 - Build Build related PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

36DB
3 participants
0