mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Add verbose output on flake for run_groups_requires_python
(#14275)
See https://github.com/astral-sh/uv/issues/14160 Same as https://github.com/astral-sh/uv/pull/13817
This commit is contained in:
parent
d27cec78b4
commit
8c27c2b494
1 changed files with 16 additions and 0 deletions
|
@ -4686,6 +4686,22 @@ fn run_groups_requires_python() -> Result<()> {
|
||||||
+ typing-extensions==4.10.0
|
+ typing-extensions==4.10.0
|
||||||
");
|
");
|
||||||
|
|
||||||
|
// TMP: Attempt to catch this flake with verbose output
|
||||||
|
// See https://github.com/astral-sh/uv/issues/14160
|
||||||
|
let output = context
|
||||||
|
.run()
|
||||||
|
.arg("python")
|
||||||
|
.arg("-c")
|
||||||
|
.arg("import typing_extensions")
|
||||||
|
.arg("-vv")
|
||||||
|
.output()?;
|
||||||
|
let stderr = String::from_utf8_lossy(&output.stderr);
|
||||||
|
assert!(
|
||||||
|
!stderr.contains("Removed virtual environment"),
|
||||||
|
"{}",
|
||||||
|
stderr
|
||||||
|
);
|
||||||
|
|
||||||
// Going back to just "dev" we shouldn't churn the venv needlessly
|
// Going back to just "dev" we shouldn't churn the venv needlessly
|
||||||
uv_snapshot!(context.filters(), context.run()
|
uv_snapshot!(context.filters(), context.run()
|
||||||
.arg("python").arg("-c").arg("import typing_extensions"), @r"
|
.arg("python").arg("-c").arg("import typing_extensions"), @r"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue