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

Add lock versioning support #2695

merged 1 commit into from Jul 21, 2020

Add lock versioning support #2695

merged 1 commit into from Jul 21, 2020


Copy link

@sdispater sdispater commented Jul 21, 2020

This PR adds lock file versioning support in order to ease lock file changes transitions, like the one we will have when upgrading from 1.0 to 1.1.

The versioning will have a compatibility system, close to semver. Basically if the lock file is newer but compatible version-wise, then only a warning will be displayed, prompting the user to upgrade Poetry or to relock the dependencies. However, if the lock file is not compatible version-wise, an error will be raised.

Pull Request Check List

  • Added tests for changed code.
  • Updated documentation for changed code.

@sdispater sdispater added Feature UX labels Jul 21, 2020
@sdispater sdispater requested a review from Jul 21, 2020
abn approved these changes Jul 21, 2020
@abn abn merged commit cd72aed into master Jul 21, 2020
32 checks passed
@abn abn deleted the lock-version branch Jul 21, 2020
This was referenced Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Feature UX
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants