-
Notifications
You must be signed in to change notification settings - Fork 5
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
Call the plugin 'jupyterhub' #64
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
Thanks @minrk for opening this issue. Yes, I definitely think we should have considered the plugin naming convention. Would this new change affect the way we've structured the project? |
It doesn't need to. The plugin name is purely metadata, defined here. To avoid breaking things, we will need to add a 'jupyterhub' plugin that points to the current module (it can be renamed or not, but module name is not related to the pytest plugin name), and then a new, empty module for the previous name should load the jupyterhub plugin and show a deprecation warning to point folks toward the new name. We could rename the I think separate plugins for different components may make sense. But there are two separate questions for organization:
You do need separate modules to have separate plugins, but fewer plugins does not preclude separate modules. For separate plugins, the question is: would it be helpful for users to enable a subset of our fixtures? Remember, they are mostly only made available, not used unless they have What would be useful, and separate for spawners and authenticators, would be if our plugin registered or exposed some standard tests, so that a Spawner could import a test suite and run it to ensure API compliance, assuming some standard fixtures exist (e.g. spawner_class and jupyterhub_config). This may be via a plugin, or it may be via module import. Lacking that, I don't think we need to worry about it right now. |
Typically when we have a pytest plugin package called
pytest-jupyterhub
, that would mean the plugin name for enabling it would bejupyterhub
, notjupyterhub-spawners-plugin
(in general, we don't tend to put 'plugin' in the name of plugins).I think it may be reasonable someday, if we want it, to have separate
jupyterhub-spawners
that does separate things, but probably not until then.The text was updated successfully, but these errors were encountered: