Skip to content

tool_install::tool_install_removed_python tries to copy whole /usr #18361

@mgorny

Description

@mgorny

Summary

IIRC the tool_install::tool_install_removed_python tries to copy the whole /usr into a temporary directory, but thankfully fails early with a weird error:

failures:

---- tool_install::tool_install_removed_python stdout ----

thread 'tool_install::tool_install_removed_python' (84324) panicked at crates/uv/tests/it/tool_install.rs:4707:50:
called `Result::unwrap()` on an `Err` value: Custom { kind: InvalidInput, error: SourceDestError { kind: Copy, source: Error { kind: InvalidInput, message: "the source path is neither a regular file nor a symlink to a regular file" }, from_path: "/usr/share/keymaps/ppc", to_path: "/var/tmp/portage/dev-python/uv-0.10.9/temp/uv/tests/.tmphbCzKo/temp/temp-python/share/keymaps/ppc" } }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    tool_install::tool_install_removed_python

Blame says 8efb542, CC @konstin.

Platform

Gentoo Linux amd64

Version

0.10.9

Python version

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions