Skip to content

Comments

Add lock versioning support#2695

Merged
abn merged 1 commit intomasterfrom
lock-version
Jul 21, 2020
Merged

Add lock versioning support#2695
abn merged 1 commit intomasterfrom
lock-version

Conversation

@sdispater
Copy link
Member

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 kind/feature Feature requests/implementations area/ux Features and improvements related to the user experience labels Jul 21, 2020
@sdispater sdispater requested a review from a team July 21, 2020 18:57
@abn abn merged commit cd72aed into master Jul 21, 2020
@abn abn deleted the lock-version branch July 21, 2020 19:26
This was referenced Jul 21, 2020
@github-actions
Copy link

github-actions bot commented Mar 1, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area/ux Features and improvements related to the user experience kind/feature Feature requests/implementations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants