From 6e8114ae53c289d3693e87e359c9851333d83f40 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sat, 21 Dec 2024 16:01:10 -0500 Subject: [PATCH] Update PyTorch test to latest `jinja2` (#10084) ## Summary This index doesn't include `exclude_newer`, unfortunately, so this happens from time to time. --- crates/uv/tests/it/lock.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/uv/tests/it/lock.rs b/crates/uv/tests/it/lock.rs index f8cf0bbc5264..d7a5904cb0aa 100644 --- a/crates/uv/tests/it/lock.rs +++ b/crates/uv/tests/it/lock.rs @@ -21071,7 +21071,7 @@ fn lock_pytorch_cpu() -> Result<()> { name = "project" version = "0.1.0" requires-python = ">=3.12.0" - dependencies = [] + dependencies = ["jinja2<=3.1.4"] [project.optional-dependencies] cpu = [ @@ -21438,6 +21438,9 @@ fn lock_pytorch_cpu() -> Result<()> { name = "project" version = "0.1.0" source = { virtual = "." } + dependencies = [ + { name = "jinja2" }, + ] [package.optional-dependencies] cpu = [ @@ -21453,6 +21456,7 @@ fn lock_pytorch_cpu() -> Result<()> { [package.metadata] requires-dist = [ + { name = "jinja2", specifier = "<=3.1.4" }, { name = "torch", marker = "extra == 'cpu'", specifier = ">=2.5.1", index = "https://download.pytorch.org/whl/cpu", conflict = { package = "project", extra = "cpu" } }, { name = "torch", marker = "extra == 'cu124'", specifier = ">=2.5.1", index = "https://download.pytorch.org/whl/cu124", conflict = { package = "project", extra = "cu124" } }, { name = "torchvision", marker = "extra == 'cpu'", specifier = ">=0.20.1", index = "https://download.pytorch.org/whl/cpu", conflict = { package = "project", extra = "cpu" } },