Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The virtualenv activate script does not correctly detect the Windows Git Bash shell #125398

Closed
Labels
stdlibStandard Library Python modules in the Lib/ directorytopic-venvRelated to the venv moduletype-bugAn unexpected behavior, bug, or error
@julienp

Description

@julienp

Bug report

Bug description:

When using the virtualenv activate script in Git Bash for Windows, the environment is not correctly detected and paths are not converted.

This results in$PATH being set to something likeD:\a\github-actions-shells\github-actions-shells\venv/Scripts:..., instead of/d/a/github-actions-shells/github-actions-shells/venv/Scripts.

Prior to#112508, the detection used$OSTYPE, which reportsmsys in Git Bash for Windows, howeveruname returnsMINGW....

This is a regression in Python 3.13.0

CPython versions tested on:

3.13

Operating systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytopic-venvRelated to the venv moduletype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2026 Movatter.jp