Skip to content

Commit

Permalink
bump lockfile version
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby committed Sep 5, 2022
1 parent 3a62a13 commit 6dc4c51
Show file tree
Hide file tree
Showing 36 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion src/poetry/packages/locker.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@


class Locker:
_VERSION = "1.1"
_VERSION = "1.2"

_legacy_keys = ["dependencies", "source", "extras", "dev-dependencies"]
_relevant_keys = [*_legacy_keys, "group"]
Expand Down
2 changes: 1 addition & 1 deletion tests/console/commands/test_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def test_lock_no_update(

assert len(packages) == len(locked_repository.packages)

assert locker.lock_data["metadata"].get("lock-version") == "1.1"
assert locker.lock_data["metadata"].get("lock-version") == "1.2"

for package in packages:
assert locked_repository.find_packages(package.to_dependency())
2 changes: 1 addition & 1 deletion tests/fixtures/outdated_lock/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/fixtures/up_to_date_lock/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/installation/fixtures/extras-with-dependencies.test
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ foo = ["C"]

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
2 changes: 1 addition & 1 deletion tests/installation/fixtures/extras.test
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ foo = ["D"]

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
2 changes: 1 addition & 1 deletion tests/installation/fixtures/install-no-dev.test
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ files = []

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
2 changes: 1 addition & 1 deletion tests/installation/fixtures/no-dependencies.test
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package = []

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
2 changes: 1 addition & 1 deletion tests/installation/fixtures/remove.test
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ files = []

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
2 changes: 1 addition & 1 deletion tests/installation/fixtures/update-with-lock.test
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ files = []

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
2 changes: 1 addition & 1 deletion tests/installation/fixtures/update-with-locked-extras.test
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ files = []

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
2 changes: 1 addition & 1 deletion tests/installation/fixtures/with-category-change.test
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ A = "^1.0"

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ python = ">=3.6,<4.0"

[metadata]
python-versions = "~2.7 || ^3.4"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
2 changes: 1 addition & 1 deletion tests/installation/fixtures/with-dependencies-extras.test
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ files = []

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ files = []

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
2 changes: 1 addition & 1 deletion tests/installation/fixtures/with-dependencies.test
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ files = []

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ url = "project_with_transitive_file_dependencies"

[metadata]
content-hash = "123456789"
lock-version = "1.1"
lock-version = "1.2"
python-versions = "*"

[metadata.files]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ url = "tests/fixtures/project_with_extras"

[metadata]
content-hash = "123456789"
lock-version = "1.1"
lock-version = "1.2"
python-versions = "*"

[metadata.files]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pendulum = ">=1.4.4"

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ files = []

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ files = []

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ url = "project_with_transitive_file_dependencies"

[metadata]
content-hash = "123456789"
lock-version = "1.1"
lock-version = "1.2"
python-versions = "*"

[metadata.files]
Expand Down
2 changes: 1 addition & 1 deletion tests/installation/fixtures/with-file-dependency.test
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ files = []

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
2 changes: 1 addition & 1 deletion tests/installation/fixtures/with-multiple-updates.test
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ files = []

[metadata]
python-versions = "~2.7 || ^3.4"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ foo = ["A"]

[metadata]
python-versions = "~2.7 || ^3.4"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ foo = ["A"]

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
2 changes: 1 addition & 1 deletion tests/installation/fixtures/with-prereleases.test
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ files = []

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
2 changes: 1 addition & 1 deletion tests/installation/fixtures/with-pypi-repository.test
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ hash = "sha256:70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9"

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
2 changes: 1 addition & 1 deletion tests/installation/fixtures/with-python-versions.test
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ files = []

[metadata]
python-versions = "~2.7 || ^3.4"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ files = []

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
2 changes: 1 addition & 1 deletion tests/installation/fixtures/with-sub-dependencies.test
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ files = []

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
2 changes: 1 addition & 1 deletion tests/installation/fixtures/with-url-dependency.test
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ files = []

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ files = []

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ files = []

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ url = "tests/fixtures/wheel_with_no_requires_dist/demo-0.1.0-py2.py3-none-any.wh

[metadata]
python-versions = "*"
lock-version = "1.1"
lock-version = "1.2"
content-hash = "123456789"

[metadata.files]
Expand Down
Loading

0 comments on commit 6dc4c51

Please sign in to comment.