Skip to content

[3.14] gh-159440: Pass --work-tree to the git commands used for the version tag (GH-159442) - #159444

Merged
itamaro merged 1 commit into
python:3.14from
miss-islington:backport-637fb36-3.14
Oct 15, 2026
Merged

itamaro merged 1 commit into
python:3.14from
miss-islington:backport-637fb36-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

--git-dir alone does not imply a work tree, so in an out-of-tree build
git checked the build directory, and every tracked file looked deleted:
sys.version always carried a spurious "-dirty" suffix.
(cherry picked from commit 637fb36)

Co-authored-by: sendaoYan yansendao@hygon.cn

…rsion tag (pythonGH-159442)

`--git-dir` alone does not imply a work tree, so in an out-of-tree build
git checked the build directory, and every tracked file looked deleted:
`sys.version` always carried a spurious "-dirty" suffix.
(cherry picked from commit 637fb36)

Co-authored-by: sendaoYan <yansendao@hygon.cn>
@itamaro
itamaro enabled auto-merge (squash) October 15, 2026 04:28
@itamaro
itamaro merged commit 65feab8 into python:3.14 Oct 15, 2026
50 checks passed
@miss-islington
miss-islington deleted the backport-637fb36-3.14 branch October 15, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants