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

Make bootstrap_pip_spec test argument optional #563

Merged

Conversation

GeorgianaElena
Copy link
Member

This makes bootstrap_pip_spec an optional argument so that when running the integration tests locally, users won't need to add the empty string as an arg (for the default tljh bootsrap pip spec) or the entire pip spec.

-[ ] Add / update documentation
-[ ] Add tests

@GeorgianaElena GeorgianaElena changed the title Make bootstrap_pip_spec arg optional Make bootstrap_pip_spec test argument optional Apr 30, 2020
@GeorgianaElena GeorgianaElena merged commit 914a1e8 into jupyterhub:master Apr 30, 2020
@@ -158,8 +158,8 @@ def main():
run_test_parser = subparsers.add_parser('run-test')
run_test_parser.add_argument('--installer-args', default='')
run_test_parser.add_argument('--upgrade', action='store_true')
run_test_parser.add_argument('--bootstrap_pip_spec', nargs='?', default="", type=str)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering whether the parameter should be named --bootstrap-pip-spec, similar to --installer-args? (so they both follow the same style)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, right 😕 Yes, that would be better.

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

2 participants