diff --git a/crates/uv/tests/it/pip_compile.rs b/crates/uv/tests/it/pip_compile.rs index 72b152f45733..edeed2e8aaac 100644 --- a/crates/uv/tests/it/pip_compile.rs +++ b/crates/uv/tests/it/pip_compile.rs @@ -14676,7 +14676,10 @@ fn many_pyproject_group() -> Result<()> { "###); context = new_context()?; - uv_snapshot!(context.filters(), context.pip_compile() + uv_snapshot!(context.filters().into_iter().chain([( + "warning: The dependency-group 'lies' is not defined in pyproject.toml\nwarning: The dependency-group 'lies' is not defined in subdir/pyproject.toml", + "warning: The dependency-group 'lies' is not defined in subdir/pyproject.toml\nwarning: The dependency-group 'lies' is not defined in pyproject.toml", + )]).collect::>(), context.pip_compile() .arg("pyproject.toml") .arg("subdir/pyproject.toml") .arg("--group").arg("lies"), @r###" @@ -14689,8 +14692,8 @@ fn many_pyproject_group() -> Result<()> { # via project (pyproject.toml) ----- stderr ----- - warning: The dependency-group 'lies' is not defined in pyproject.toml warning: The dependency-group 'lies' is not defined in subdir/pyproject.toml + warning: The dependency-group 'lies' is not defined in pyproject.toml Resolved 1 package in [TIME] "###); diff --git a/crates/uv/tests/it/pip_install.rs b/crates/uv/tests/it/pip_install.rs index 7c7035bc8767..685252fde9c9 100644 --- a/crates/uv/tests/it/pip_install.rs +++ b/crates/uv/tests/it/pip_install.rs @@ -8611,7 +8611,11 @@ fn many_pyproject_group() -> Result<()> { "###); context = new_context()?; - uv_snapshot!(context.filters(), context.pip_install() + + uv_snapshot!(context.filters().into_iter().chain([( + "warning: The dependency-group 'lies' is not defined in pyproject.toml\nwarning: The dependency-group 'lies' is not defined in subdir/pyproject.toml", + "warning: The dependency-group 'lies' is not defined in subdir/pyproject.toml\nwarning: The dependency-group 'lies' is not defined in pyproject.toml", + )]).collect::>(), context.pip_install() .arg("-r").arg("pyproject.toml") .arg("-r").arg("subdir/pyproject.toml") .arg("--group").arg("lies"), @r###" @@ -8620,8 +8624,8 @@ fn many_pyproject_group() -> Result<()> { ----- stdout ----- ----- stderr ----- - warning: The dependency-group 'lies' is not defined in pyproject.toml warning: The dependency-group 'lies' is not defined in subdir/pyproject.toml + warning: The dependency-group 'lies' is not defined in pyproject.toml Resolved 1 package in [TIME] Prepared 1 package in [TIME] Installed 1 package in [TIME]