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
python setup.py test -n option is broken #2566
Conversation
Ah -- I see why this isn't working: it conflicts with the distutils built-in option of "dry-run", which is also "-n". We could change this to |
Never caught that due to usually just using |
I've attached a commit that changes to @embray Can you cherry-pick that commit into |
Either way. |
Then I'll admit I'm lazy and not make a separate PR for This change is not tested on travis-ci anyways, so is this ready to merge? |
Actually should we even change it in astropy at all? Or should all changes be made only in astropy-helpers? |
Both, for now. |
I think the travis-ci fail is unrelated to this PR? |
@embray Can you please label this "bug" and add the 0.4.0 or 0.4.1 milestone? |
This is pretty minor, but if you could just add a changelog entry (perhaps under "misc"?) then we can merge this. |
I added a changelog entry. |
@cdeil - it looks like this needs rebasing |
rebased |
python setup.py test -n option is broken
@astrofrog This fix needs to be merged into |
@cdeil - could you open a pull request there? (also, I realized too late that this was in astropy-helpers - and should only really be fixed there) |
Here's the PR for astropy-helpers: astropy/astropy-helpers#29 |
python setup.py test --help
claims that one can use the-n
option instead of--parallel
:But actually this doesn't work with current astropy master:
Am I using it incorrectly or is this broken.
(I guess the
-n
shortcut could simply be removed?)