Skip to content

Tidy Python virtual environment path possibly incorrect on Windows #155480

@Walnut356

Description

@Walnut356

Found when running ./x test tidy --extra-checks py:fmt

Currently the relative path is set to Scripts/python3.exe. I'm not sure if it's for CI runner or legacy reasons or just the usual "nobody really develops on windows", but both Python's built-in venv and uv use python.exe as the executable name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-PythonArea: Python, like bootstrap/CI scripts or linters/formatters, etc.C-bugCategory: This is a bug.O-windowsOperating system: WindowsT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions