File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -249,14 +249,12 @@ def get_locked_package(
249249 ]
250250
251251 if not filtered_compatible_candidates :
252- # TODO: Support this case:
253- # https://github.com/python-poetry/poetry-plugin-export/issues/183
254252 raise DependencyWalkerError (
255253 f"The `{ dependency .name } ` package has the following compatible"
256254 f" candidates `{ compatible_candidates } `; but, the exporter dependency"
257255 f" walker previously elected `{ overlapping_candidates .pop ()} ` which is"
258- f" not compatible with the dependency `{ dependency } `. Please contribute "
259- " to `poetry-plugin-export` to solve this problem ."
256+ f" not compatible with the dependency `{ dependency } `. Please relock "
257+ " with Poetry 2.0 or later to solve this issue ."
260258 )
261259
262260 compatible_candidates = filtered_compatible_candidates
Original file line number Diff line number Diff line change 1111
1212
1313def test_walk_dependencies_multiple_versions_when_latest_is_not_compatible () -> None :
14- # TODO: Support this case:
15- # https://github.com/python-poetry/poetry-plugin-export/issues/183
1614 with pytest .raises (DependencyWalkerError ):
1715 walk_dependencies (
1816 dependencies = [
You can’t perform that action at this time.
0 commit comments