From 2552dc2748fcde6730058f9745167ee1fe9ecfeb Mon Sep 17 00:00:00 2001 From: konsti Date: Wed, 2 Oct 2024 16:20:34 +0200 Subject: [PATCH] Add missing bound on tomli tests (#7868) --- crates/uv/tests/pip_install.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/uv/tests/pip_install.rs b/crates/uv/tests/pip_install.rs index e8a889512599..1d8c2a66fe08 100644 --- a/crates/uv/tests/pip_install.rs +++ b/crates/uv/tests/pip_install.rs @@ -3944,7 +3944,7 @@ fn respect_no_build_isolation_env_var() -> Result<()> { fn install_utf16le_requirements() -> Result<()> { let context = TestContext::new("3.12"); let requirements_txt = context.temp_dir.child("requirements.txt"); - requirements_txt.write_binary(&utf8_to_utf16_with_bom_le("tomli"))?; + requirements_txt.write_binary(&utf8_to_utf16_with_bom_le("tomli<=2.0.1"))?; uv_snapshot!(context.pip_install() .env_remove("UV_EXCLUDE_NEWER") @@ -3971,7 +3971,7 @@ fn install_utf16le_requirements() -> Result<()> { fn install_utf16be_requirements() -> Result<()> { let context = TestContext::new("3.12"); let requirements_txt = context.temp_dir.child("requirements.txt"); - requirements_txt.write_binary(&utf8_to_utf16_with_bom_be("tomli"))?; + requirements_txt.write_binary(&utf8_to_utf16_with_bom_be("tomli<=2.0.1"))?; uv_snapshot!(context.pip_install() .env_remove("UV_EXCLUDE_NEWER")