diff --git a/crates/uv/tests/build/build.rs b/crates/uv/tests/build/build.rs index 292608eca88..20187e67288 100644 --- a/crates/uv/tests/build/build.rs +++ b/crates/uv/tests/build/build.rs @@ -2595,45 +2595,6 @@ fn build_with_symlink() -> Result<()> { Ok(()) } -#[test] -fn build_with_hardlink() -> Result<()> { - let context = uv_test::test_context!("3.12"); - context - .temp_dir - .child("pyproject.toml.real") - .write_str(indoc! {r#" - [project] - name = "hardlinked" - version = "0.1.0" - requires-python = ">=3.12" - - [build-system] - requires = ["hatchling"] - build-backend = "hatchling.build" - "#})?; - fs_err::hard_link( - context.temp_dir.child("pyproject.toml.real"), - context.temp_dir.child("pyproject.toml"), - )?; - context - .temp_dir - .child("src/hardlinked/__init__.py") - .touch()?; - fs_err::remove_dir_all(&context.venv)?; - uv_snapshot!(context.filters(), context.build(), @" - success: true - exit_code: 0 - ----- stdout ----- - - ----- stderr ----- - Building source distribution... - Building wheel from source distribution... - Successfully built dist/hardlinked-0.1.0.tar.gz - Successfully built dist/hardlinked-0.1.0-py3-none-any.whl - "); - Ok(()) -} - /// This is bad project layout that is allowed: A project that defines PEP 621 metadata, but no /// PEP 517 build system not a setup.py, so we fallback to setuptools implicitly. #[test]