After having created a lock file 2.0, running `poetry lock` with poetry 1.2.1 results in the following output: ``` The lock file is not compatible with the current version of Poetry. Upgrade Poetry to be able to read the lock file or, alternatively, regenerate the lock file with the `poetry lock` command. ``` Ironically, the error message proposes to run `poetry lock` which results in this error message. Further, it doesn't make sense that `poetry lock` fails because it creates a new lock file from scratch (in contrast to `poetry lock --no-update`). Running `poetry lock` is now also possible if there is a broken lock file. Resolves: #1196
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| directory | Loading commit data... | |
| distributions | Loading commit data... | |
| excluded_subpackage | Loading commit data... | |
| extended_project | Loading commit data... | |
| extended_project_without_setup | Loading commit data... | |
| git/github.com/demo | Loading commit data... | |
| incompatible_lock | Loading commit data... | |
| inspection | Loading commit data... | |
| invalid_lock | Loading commit data... | |
| invalid_pyproject | Loading commit data... | |
| no_name_project | Loading commit data... | |
| old_lock | Loading commit data... | |
| outdated_lock | Loading commit data... | |
| project_with_extras | Loading commit data... | |
| project_with_git_dev_dependency | Loading commit data... | |
| project_with_local_dependencies | Loading commit data... | |
| project_with_multi_constraints_dependency | Loading commit data... | |
| project_with_nested_local | Loading commit data... | |
| project_with_setup | Loading commit data... | |
| sample_project | Loading commit data... | |
| simple_project | Loading commit data... | |
| up_to_date_lock | Loading commit data... | |
| wheel_with_no_requires_dist | Loading commit data... | |
| with-include | Loading commit data... | |
| with_conditional_path_deps | Loading commit data... | |
| with_default_source | Loading commit data... | |
| with_local_config | Loading commit data... | |
| with_non_default_multiple_secondary_sources | Loading commit data... | |
| with_non_default_multiple_sources | Loading commit data... | |
| with_non_default_secondary_source | Loading commit data... | |
| with_non_default_source | Loading commit data... | |
| with_two_default_sources | Loading commit data... | |
| complete.toml | Loading commit data... |