Skip to content

Commit c41fb64

Browse files
kbukum1Copilot
andcommitted
Sync uv poetry.lock fixture to v2 format from python ecosystem
Replace old v1 format fixture (using category field) with the v2 format (using groups and files fields) already used in the python ecosystem. Update spec to use 'click' as the dev sub-dependency (matching python spec) since 'atomicwrites' is not in the v2 fixture. This fixes the subdependency_metadata test failure with poetry 2.3.4 which cannot properly parse v1 lockfile format. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent e00c67d commit c41fb64

2 files changed

Lines changed: 334 additions & 142 deletions

File tree

uv/spec/dependabot/uv/file_parser/pyproject_files_parser_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
end
135135

136136
describe "a development sub-dependency" do
137-
subject(:dep) { dependencies.find { |d| d.name == "atomicwrites" } }
137+
subject(:dep) { dependencies.find { |d| d.name == "click" } }
138138

139139
its(:subdependency_metadata) do
140140
is_expected.to eq([{ production: false }])

0 commit comments

Comments
 (0)