-
Notifications
You must be signed in to change notification settings - Fork 1
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
entry point names do not follow convention #13
Comments
P.S. Specifying an compatible version range of aiida-core may also be useful. |
@ltalirz to double check - you meant the entry point for aiida.cmdline.data? |
both of them - please use |
But the AiiDA built in names for schedulers don't have the suffix '_scheduler' (e.g. she, PBS)? Also, changing this would break backward compatibility - name of the scheduler is stored in the Computer node which are immutable. |
Thanks, aiida-core was indeed an exception to the convention so far and we've been thinking about whether to enforce it or not. P.S. Breaking backwards compatibility would indeed not be ideal. However, one could at least add a new entry point that follows the convention and points to the same thing. |
the decision was made to help clarify the namespacing by adding a the actual change will be made at some point in the future, but with 2.0 we will add deprecation warnings for entry point without the prefix. for your plugin I would suggest to keep the |
OK, thanks for letting me know! For the This to confirm - following the convention: aiida-fireworks-scheduler/setup.json Lines 17 to 22 in cf70259
should be:
? I will change the entry point name for |
Yes, for example. We still need to decide whether we also allow As mentioned, you can keep the old entry point name for the scheduler around for backwards compatibility if you like |
@ltalirz Thanks, I have decided to go with:
Having the prefix is very useful, it turns out there needs to be two ways of launching aiida jobs when task farming, depending on what type of real scheduler is used. |
hey, just letting you know that the entry point naming does not follow AiiDA conventions:
aiida-fireworks-scheduler/setup.json
Lines 17 to 22 in cf70259
The canonical entry point prefix would be
fireworks_scheduler
The text was updated successfully, but these errors were encountered: