Multiple scipy import errors in wheel build
See original GitHub issueThe wheel builds are all currently failing:
https://travis-ci.org/MacPython/astropy-wheels/builds/297157553
I think the failures are all of form:
________________________ test_kuiper_two_uniform[5-5] _________________________
N = 5, M = 5
@pytest.mark.skipif('not HAS_SCIPY')
@pytest.mark.parametrize('N,M', [(100, 100),
(20, 100),
(100, 20),
(10, 20),
(5, 5),
(1000, 100)])
def test_kuiper_two_uniform(N, M):
with NumpyRNGContext(12345):
> assert funcs.kuiper_two(np.random.random(N),
np.random.random(M))[1] > 0.01
/venv/lib/python3.5/site-packages/astropy/stats/tests/test_funcs.py:649:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/venv/lib/python3.5/site-packages/astropy/stats/funcs.py:1432: in kuiper_two
return D, kuiper_false_positive_probability(D, Ne)
/venv/lib/python3.5/site-packages/astropy/stats/funcs.py:1288: in kuiper_false_positive_probability
a**(N - 1.) * (1. - b)) / float(N)**(N - 2) * (b - a)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (1.5,), kwds = {}
def newfunc(*args,**kwds):
"""`arrayrange` is deprecated, use `arange` instead!"""
> warnings.warn(depdoc, DeprecationWarning)
E DeprecationWarning: `factorial` is deprecated!
E Importing `factorial` from scipy.misc is deprecated in scipy 1.0.0. Use `scipy.special.factorial` instead.
The builds started failing on 25 October.
https://travis-ci.org/MacPython/astropy-wheels/builds
I think this corresponds to Scipy 1.0, which was released on the 25th October.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Build multiple wheels at runtime - python - Stack Overflow
So my main question: Is there a way to build a wheel without any side effects? Or is there a way to reset...
Read more >Knowledge Bits — Common Python Packaging Mistakes
An overview of common mistakes made in creating & building a Python package and how to avoid them.
Read more >[pypy3.8] wheel build failure for scipy>=1.7.0 - PyPy - Heptapod
scipy -1.6.3 builds wheel and installs ok. ... installing scipy works and I no longer see this error. $ pip3 install scipy Collecting...
Read more >BUG: Failed to build with setuptools 61.3.1 #21288 - GitHub
Describe the issue: This could be related: pypa/setuptools#3197 (comment) Latest numpy release (1.22.3) cannot build from source when using ...
Read more >Python import: Advanced Techniques and Tips
The Python import system is as powerful as it is useful. In this in-depth tutorial, you'll learn how to harness this power to...
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
Well, they were fixed, but the last one is failing again due to missing pytest-astropy. I’ll try to address that in the wheel and keep in mind to close this issue.
Thanks @crawfordsm pointing out that this can be closed, apparently I didn’t keep it in mind 😃