Skip to content
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

Remove test dependencies from install_requires #4668

Merged
merged 8 commits into from Jul 14, 2015

Conversation

jenshnielsen
Copy link
Member

A few small fixes for #4188

HolgerPeters and others added 5 commits July 11, 2015 16:28
 - add setup.py test command for test execution
 - modify setupext's logic for dependency determination for a test
   requirements list
 - add nose to test requirements
 - update documentation accordingly

This reverts commit 3d622fe.

install mock for dock building
It is more informative to raise the error here
@WeatherGod
Copy link
Member

Looking at this again (I was only looking at the previous version of this PR for "correctness"). I have serious reservations about this PR. As I discussed offline with @jenshnielsen , matplotlib comes with a test() function in its top-level module. This is an unfortunate design decision from a long time ago, but it is what we have. Because of that, it does make sense for nose/mock to be installed with matplotlib so that every function in the library can be executed.

Probably at the very least, the test() function should detect the import failure and provide a very clear and simple message informing users to install nose/mock.

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

Successfully merging this pull request may close these issues.

None yet

4 participants