From ad92aaf186f59e7f9b3145b62308c8f8a7230bd5 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sat, 21 Dec 2024 18:43:09 -0500 Subject: [PATCH] Update PyTorch test to latest `numpy` (#10087) --- crates/uv/tests/it/lock.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/uv/tests/it/lock.rs b/crates/uv/tests/it/lock.rs index d7a5904cb..2d8220444 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 = ["jinja2<=3.1.4"] + dependencies = ["jinja2<=3.1.4", "numpy<=2.2.0"] [project.optional-dependencies] cpu = [ @@ -21440,6 +21440,7 @@ fn lock_pytorch_cpu() -> Result<()> { source = { virtual = "." } dependencies = [ { name = "jinja2" }, + { name = "numpy" }, ] [package.optional-dependencies] @@ -21457,6 +21458,7 @@ fn lock_pytorch_cpu() -> Result<()> { [package.metadata] requires-dist = [ { name = "jinja2", specifier = "<=3.1.4" }, + { name = "numpy", specifier = "<=2.2.0" }, { 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" } },