You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#7932 / #7938 are about a subtle bug that came from accidentally implicitly creating a pytest dependency. Currently the test suite misses that case because the tests require pytest, so you can't get around installing pytest.
But one could imagine a fairly simple script that installs numpy, cython, and jinja, builds, and imports astropy and all the sub-packages without running any tests. That wouldn't add too much time and would catch any "implcit dependency" problems a PR might introduce...
I think I may have seen this idea years back and its conceivable there's a duplicate issue about this before... But I couldn't find it.
Activity
astrofrog commentedon Oct 21, 2018
This might come in handy: https://stackoverflow.com/a/25562415
drdavella commentedon Oct 22, 2018
I agree with this PR and think it's the right thing to do. We should probably strive to be purists about our dependencies. 👼
On the other hand, part of me wonders what's so bad about having
pytestas a runtime dependency if we just declare it as such insetup.py? 😈bsipocz commentedon Oct 22, 2018
I suspect this should be easy to do in a pipeline, but if we want to do it sooner rather than later, we can also hack it into
.travis.yml.bsipocz commentedon Oct 22, 2018
(GH is really flaky today, I haven't even seen @drdavella's comment above before I hit comment on mine)
pllim commentedon May 11, 2020
Maybe related to #10246