-
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
Update lockfile with preferences #28
Update lockfile with preferences #28
Conversation
This PR is a fix for flyingcircusio/batou#145. |
if not preferences: | ||
# We have no preferences defined, use the current python. | ||
print("Update lockfile with with {}.".format(current_python)) | ||
print("If you want to use a different version, set it as via") |
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.
Can we improve the wording a bit? I'd prefer if we make this a subtle warning: if you end up using different python versions on the controller and the deployment targets, lockfile-versions may not be sufficiently compatible and end up with missing dependencies.
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.
Forget it, I can live with the wording as is, I'd rather start using it to see whether this is helpful in day-to-day work.
I'm happy so far, please rebase so that we can see Github Actions approving this, too. |
Raise an error, if this python is not found. If nothing is configured, report the Python used and give a hint on configuration.
Rebased to master. |
@ctheune CI is green, so feel free to merge this PR. |
Should be reviewed after #27 is merged.
Should then be applied to batou.