Skip to content

Test regression on Gentoo: venv::create_venv_caches_interpreter #22383

Description

@mgorny

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

Activity

  1. added
    bug
    on Oct 9, 2026
  2. woodruffw commented on Oct 9, 2026

    @woodruffw
    Member

    (Haven't triaged yet, but noting that this probably should be a snapshot test to improve the diff-ability/render of the assertion.)

  3. konstin commented on Oct 14, 2026

    @konstin
    Member

    See #22520

  4. mgorny commented on Oct 14, 2026

    @mgorny
    ContributorAuthor

    Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions