Repository navigation
Labels
bugSomething isn't working
Description
Summary
---- venv::create_venv_caches_interpreter stdout ----
thread 'venv::create_venv_caches_interpreter' (75015) panicked at crates/uv/tests/python/venv.rs:118:9:
assertion `left == right` failed
left: PythonEnvironment(PythonEnvironmentShared { root: "/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9", interpreter: Interpreter { platform: Platform { os: Manylinux { major: 2, minor: 44 }, arch: X86_64 }, markers: MarkerEnvironment { inner: MarkerEnvironmentInner { implementation_name: "cpython", implementation_version: StringVersion { string: "3.12.15", version: "3.12.15" }, os_name: "posix", platform_machine: "x86_64", platform_python_implementation: "CPython", platform_release: "7.2.9-gentoo-dist-bin", platform_system: "Linux", platform_version: "#1 SMP PREEMPT_DYNAMIC Sat Oct 3 14:00:02 -00 2026", python_full_version: StringVersion { string: "3.12.15", version: "3.12.15" }, python_version: StringVersion { string: "3.12", version: "3.12" }, sys_platform: "linux" } }, scheme: Scheme { purelib: "/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9/lib/python3.12/site-packages", platlib: "/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9/lib/python3.12/site-packages", scripts: "/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9/bin", data: "/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9", include: "/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9/include/site/python3.12" }, virtualenv: Scheme { purelib: "lib/python3.12/site-packages", platlib: "lib/python3.12/site-packages", scripts: "bin", data: "", include: "include/site/python3.12" }, manylinux_compatible: true, sys_prefix: "/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9", sys_base_prefix: "/usr", sys_base_executable: Some("/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/python/3.12/python3"), sys_executable: "/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9/bin/python", site_packages: ["/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9/lib/python3.12/site-packages"], stdlib: "/usr/lib/python3.12", extension_suffixes: [".cpython-312-x86_64-linux-gnu.so", ".abi3.so", ".so"], standalone: false, tags: OnceLock(<uninit>), target: None, prefix: None, pointer_size: _64, gil_disabled: false, real_executable: "/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9/bin/python", debug_enabled: false } })
right: PythonEnvironment(PythonEnvironmentShared { root: "/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9", interpreter: Interpreter { platform: Platform { os: Manylinux { major: 2, minor: 44 }, arch: X86_64 }, markers: MarkerEnvironment { inner: MarkerEnvironmentInner { implementation_name: "cpython", implementation_version: StringVersion { string: "3.12.15", version: "3.12.15" }, os_name: "posix", platform_machine: "x86_64", platform_python_implementation: "CPython", platform_release: "7.2.9-gentoo-dist-bin", platform_system: "Linux", platform_version: "#1 SMP PREEMPT_DYNAMIC Sat Oct 3 14:00:02 -00 2026", python_full_version: StringVersion { string: "3.12.15", version: "3.12.15" }, python_version: StringVersion { string: "3.12", version: "3.12" }, sys_platform: "linux" } }, scheme: Scheme { purelib: "/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9/lib/python3.12/site-packages", platlib: "/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9/lib/python3.12/site-packages", scripts: "/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9/bin", data: "/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9", include: "/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9/include/site/python3.12" }, virtualenv: Scheme { purelib: "lib/python3.12/site-packages", platlib: "lib/python3.12/site-packages", scripts: "bin", data: "", include: "include/site/python3.12" }, manylinux_compatible: true, sys_prefix: "/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9", sys_base_prefix: "/usr", sys_base_executable: Some("/usr/bin/python3.12"), sys_executable: "/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9/bin/python", site_packages: ["/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9/lib/python3.12/site-packages"], stdlib: "/usr/lib/python3.12", extension_suffixes: [".cpython-312-x86_64-linux-gnu.so", ".abi3.so", ".so"], standalone: false, tags: OnceLock(<uninit>), target: None, prefix: None, pointer_size: _64, gil_disabled: false, real_executable: "/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/temp/.tmpNLOYx9/bin/python", debug_enabled: false } })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
From a quick word-diff, the difference is:
sys_base_executable: [-Some("/var/tmp/portage/dev-python/uv-0.12.24/temp/uv/tests/.tmpilWjGO/python/3.12/python3"),-]{+Some("/usr/bin/python3.12"),+}
Platform
Gentoo Linux amd64
Version
0.12.24
Python version
Python 3.12.15
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
woodruffw commentedon Oct 9, 2026
(Haven't triaged yet, but noting that this probably should be a snapshot test to improve the diff-ability/render of the assertion.)
Revert interpreter cache warming (#22520)
Resolve base Python executables independently of cached metadata
Resolve executable symlinks in cached venv metadata
konstin commentedon Oct 14, 2026
See #22520
mgorny commentedon Oct 14, 2026
Thanks.