Numpy Prerelease Failure
See original GitHub issueJust had a build which failed with the numpy prerelease:
=================================== FAILURES ===================================
_______________________ TestUfuncCoverage.test_coverage ________________________
self = <astropy.units.tests.test_quantity_ufuncs.TestUfuncCoverage object at 0x7f53072ec2e8>
def test_coverage(self):
all_np_ufuncs = set([ufunc for ufunc in np.core.umath.__dict__.values()
if type(ufunc) == np.ufunc])
from .. import quantity_helper as qh
all_q_ufuncs = (qh.UNSUPPORTED_UFUNCS |
set(qh.UFUNC_HELPERS.keys()))
> assert all_np_ufuncs - all_q_ufuncs == set([])
E assert {<ufunc 'float_power'>} == set()
E Extra items in the left set:
E <ufunc 'float_power'>
E Use -v to get the full diff
astropy/units/tests/test_quantity_ufuncs.py:25: AssertionError
= 1 failed, 8228 passed, 437 skipped, 71 xfailed, 1 xpassed in 272.09 seconds ==
Maybe that’s an upstream issue but it’s more likely they added another ufunc that should be supported with quantities.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
New pre-release of numpy breaks an old repository ... - GitHub
Since a few days ago our CI started failing for one of the 'frozen in time" repos we use to check if we...
Read more >Releasing a version — NumPy v1.23 Manual
Note that sometimes builds, like tests, fail for unrelated reasons and you will need to rerun them. You will need to be logged...
Read more >Cython Numpy warning about NPY_NO_DEPRECATED_API ...
It tries to acces the base field -- but I am not doing it, it's Cython's fault. I simply converted a memoryview to...
Read more >numpy 1.13.3 - PyPI
NumPy is a general-purpose array-processing package designed to efficiently manipulate large multi-dimensional arrays of arbitrary records without ...
Read more >Error: Could not build wheels for numpy in Python | bobbyhadz
ERROR : Failed building wheel for numpy Failed to build numpy ERROR: Could not ... The --pre option makes it so pip includes...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This was added very late in the development cycle. PR in progress…
@bsipocz I think the main reason why this wasn’t spotted is because numpy-dev is an allowed failure. In most cases one never looks at the CI reports if the lights are green. The PR was added a 12 days ago: https://github.com/numpy/numpy/pull/8190
@mhvk Thanks!