-
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
✨ NEW: Allow for selection of python version #52
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @chrisjsewell
it's definitely useful to separate out the creation of the python environment.
since it is directly imported in this role, with specific settings passed to the python role, I guess one then needs to be a bit careful in specifying the same settings when another role wants to reuse the same environment.
in any case, this looks good to me, just minor comments
python_version: ["3.7"] | ||
include: | ||
- distro: "centos8" | ||
python_version: "3.8" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would you mind adding a comment here on why this differentiation is necessary
(e.g. why not all on 3.7/3.8?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added 👍
yeh its weird that python37 is not available on CentOS 8 yum, and the other annoyance is: marvel-nccr/ansible-role-python#7
but I didn't want to dwell on these, as really for QM we are only interested in Ubuntu.
d428ae8
to
ef1c5b5
Compare
Generalise installation of plugins and their code, removing plugin specific tasks. We also install plugins packages at the same time as aiida-core, with the pip 2020-resolver against a single requirements.txt, to ensure the creation of a consistent python environment.
33a32ab
to
372206c
Compare
venv creation moved to https://github.com/marvel-nccr/ansible-role-python