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

Update lockfile with preferences #28

Merged
merged 2 commits into from
Jul 16, 2021
Merged

Update lockfile with preferences #28

merged 2 commits into from
Jul 16, 2021

Conversation

sallner
Copy link
Collaborator

@sallner sallner commented Jul 15, 2021

Should be reviewed after #27 is merged.

Should then be applied to batou.

@icemac
Copy link
Collaborator

icemac commented Jul 15, 2021

This PR is a fix for flyingcircusio/batou#145.

@ctheune ctheune marked this pull request as draft July 16, 2021 07:53
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")
Copy link
Member

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.

Copy link
Member

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.

@ctheune ctheune marked this pull request as ready for review July 16, 2021 08:01
@ctheune
Copy link
Member

ctheune commented Jul 16, 2021

I'm happy so far, please rebase so that we can see Github Actions approving this, too.

sallner and others added 2 commits July 16, 2021 17:10
Raise an error, if this python is not found. If nothing is configured, report the Python used and give a hint on configuration.
@icemac
Copy link
Collaborator

icemac commented Jul 16, 2021

Rebased to master.

@icemac
Copy link
Collaborator

icemac commented Jul 16, 2021

@ctheune CI is green, so feel free to merge this PR.

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.

3 participants