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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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

0 comments on commit 6dc4c51

Please sign in to comment.