GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||
GeezerVison is showing github.com — gh-151365: Temporarily downgrade Git to prevent fatal error by hugovk · Pull Request #155495 · python/cpython Conversation
|
|
Is it possible to explicitly declare the version limit in the command, plz? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
It works as expected. For example, I see "git version 2.43.0" in the "Downgrade Git" step of Docs/Docs CI job.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| # to avoid "fatal: shallow file has changed since we read it" bug. | ||
| # See https://github.com/python/cpython/issues/151365. | ||
| run: | | ||
| sudo apt-get install -y --allow-downgrades git/noble-updates git-man/noble-updates |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I didn't know this /noble-updates syntax. I understand that it's a way to request the git version of Ubuntu 24.04.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Something like this? sudo apt-get install -y --allow-downgrades 'git=1:2.43.*' 'git-man=1:2.43.*' |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@hugovk yep, something along those lines. I was hoping for a |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I suppose that this change should be backported to stable branches (3.13 to 3.15). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@vstinner I've already labeled it for 3.15, but one of the workflow files doesn't exist in 3.14 so automatic backporting will fail farther back. Once it's ported into 3.15, somebody needs to look into picking it back into older branches manually. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The "needs backport to 3.15" label is better for that: it backports automatically the change to 3.15. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Thanks @hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-155532 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…H-155495) (#155532) Co-authored-by: Hugo van Kemenade <[email protected]>
…H-155495) (GH-155532) (#155533) Co-authored-by: Miss Islington (bot) <[email protected]>
…H-155495) (GH-155532) (GH-155533) (#155535) Co-authored-by: Hugo van Kemenade <[email protected]>
|
@vstinner oops, for some reason I thought I did that but confused the two labels 🤦♂️ sry |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…) (#156600) [3.14] gh-151365: Revert temporary Git downgrade (GH-156584) (GH-156599) Revert "gh-151365: Temporarily downgrade Git to prevent fatal error (GH-155495)" (cherry picked from commit da06c4c) This reverts commit 6d2b551. (cherry picked from commit 3e9efe5) Co-authored-by: Stan Ulbrych <[email protected]>
…) (#156601) [3.14] gh-151365: Revert temporary Git downgrade (GH-156584) (GH-156599) Revert "gh-151365: Temporarily downgrade Git to prevent fatal error (GH-155495)" (cherry picked from commit da06c4c) This reverts commit 6d2b551. (cherry picked from commit 3e9efe5) Co-authored-by: Stan Ulbrych <[email protected]>
Revert "pythongh-151365: Temporarily downgrade Git to prevent fatal error (python#155495)" This reverts commit 6d2b551.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.