![](https://secure.gravatar.com/avatar/163acaf31cfd01645493404a2d379df6.jpg?s=120&d=mm&r=g)
Jeremy informed me<https://github.com/python/cpython/pull/27436#issuecomment-889815333> that due to a race condition on a test file and the CPython repo configuration for newline conversion, build bots on Windows may now be failing. If you run such a buildbot, please consider running this command on your repo to bypass the issue: git rm -r :/ ; git checkout HEAD -- :/ You may want to consider adding this command after every update to the repo to avoid the stale state.
![](https://secure.gravatar.com/avatar/1ecbc9244c44128e90038a6e0376663b.jpg?s=120&d=mm&r=g)
On Fri, Jul 30, 2021 at 02:28:08PM +0000, Jason R. Coombs wrote:
If you run such a buildbot, please consider running this command on your repo to bypass the issue:
git rm -r :/ ; git checkout HEAD -- :/
You may want to consider adding this command after every update to the repo to avoid the stale state.
What does this do? Especially the first command. Is this Windows specific? -- Senthil
![](https://secure.gravatar.com/avatar/512cfbaf98d63ca4acd57b2df792aec6.jpg?s=120&d=mm&r=g)
On Tue, Aug 03, 2021 at 06:29:43AM -0700, Senthil Kumaran <senthil@python.org> wrote:
On Fri, Jul 30, 2021 at 02:28:08PM +0000, Jason R. Coombs wrote:
If you run such a buildbot, please consider running this command on your repo to bypass the issue:
git rm -r :/ ; git checkout HEAD -- :/
You may want to consider adding this command after every update to the repo to avoid the stale state.
What does this do? Especially the first command. Is this Windows specific?
Git specific. It means "remove every file and directory recursively starting from the root of the repository". ``-r`` means recursive; ``:/`` is a "magic" git-specific path "root of the repo". The second command checks out everything from the HEAD commit back to the filesystem.
-- Senthil
Oleg. -- Oleg Broytman https://phdru.name/ phd@phdru.name Programmers don't die, they just GOSUB without RETURN.
![](https://secure.gravatar.com/avatar/163acaf31cfd01645493404a2d379df6.jpg?s=120&d=mm&r=g)
That command causes a re-initialization of all of the files in the working copy. I got the recipe from here<https://stackoverflow.com/a/56457412/70170>. There are more details in the comment I linked originally and the subsequent response. ________________________________ From: Senthil Kumaran <senthil@python.org> Sent: Tuesday, August 3, 2021 09:29 To: Jason R. Coombs <jaraco@jaraco.com> Cc: python-dev@python.org <python-dev@python.org> Subject: Re: [Python-Dev] Windows buildbots may be broken On Fri, Jul 30, 2021 at 02:28:08PM +0000, Jason R. Coombs wrote:
If you run such a buildbot, please consider running this command on your repo to bypass the issue:
git rm -r :/ ; git checkout HEAD -- :/
You may want to consider adding this command after every update to the repo to avoid the stale state.
What does this do? Especially the first command. Is this Windows specific? -- Senthil
![](https://secure.gravatar.com/avatar/15b1cd41a4c23e7dc10893777afb4281.jpg?s=120&d=mm&r=g)
Hi Jason, One month ago, I changed the Buildbot configuration: --- Use Git "fresh" method Git "clean" method keeps most files created by a previous build. Use Git "fresh" method instead to ignores .gitignore rules and so remove all generated files (like ".o" files): run a fresh build rather than an incremental build. https://github.com/python/buildmaster-config/commit/f83c0a321dac8bb7d0df2e30... https://github.com/python/buildmaster-config/pull/255 --- See https://docs.buildbot.net/latest/manual/configuration/steps/source_git.html documentation. I made this change to fix the following issue: https://mail.python.org/archives/list/buildbot-status@python.org/thread/Z27N... setup.py failed with: "RuntimeError: subprocess not supported for isolated subinterpreters". It seems like aarch64 Fedora Rawhide 3.x doesn't use a fresh build, but incremental build. I get such error when I use incremental build. Victor On Fri, Jul 30, 2021 at 5:53 PM Jason R. Coombs <jaraco@jaraco.com> wrote:
Jeremy informed me that due to a race condition on a test file and the CPython repo configuration for newline conversion, build bots on Windows may now be failing.
If you run such a buildbot, please consider running this command on your repo to bypass the issue:
git rm -r :/ ; git checkout HEAD -- :/
You may want to consider adding this command after every update to the repo to avoid the stale state.
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/EZPAFN3B... Code of Conduct: http://python.org/psf/codeofconduct/
-- Night gathers, and now my watch begins. It shall not end until my death.
![](https://secure.gravatar.com/avatar/7c721b6de34c82ce39324dae5214dbf8.jpg?s=120&d=mm&r=g)
Sorry, all! This post was pure spam - I clicked the wrong button on the moderator UI. The list has already been set to auto-reject any future posts from this member. On Mon, Aug 9, 2021 at 10:51 AM ridhimaortiz--- via Python-Dev <python-dev@python.org> wrote:
It is really nice post. https://bit.ly/3fsxwwl _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/WMJOVXKR... Code of Conduct: http://python.org/psf/codeofconduct/
participants (6)
-
Jason R. Coombs
-
Oleg Broytman
-
ridhimaortiz@yahoo.com
-
Senthil Kumaran
-
Tim Peters
-
Victor Stinner