[Python-Dev] Re: Windows buildbots may be broken

2021-08-03 Thread Senthil Kumaran
On Fri, Jul 30, 2021 at 02:28:08PM +, 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



___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@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/KCMP3NZ4QXGR3R6KYRLAL4N72DVYGIMZ/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: Windows buildbots may be broken

2021-08-03 Thread Oleg Broytman
On Tue, Aug 03, 2021 at 06:29:43AM -0700, Senthil Kumaran  
wrote:
> On Fri, Jul 30, 2021 at 02:28:08PM +, 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 Broytmanhttps://phdru.name/p...@phdru.name
   Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@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/NUIO4JPCFFJZJVZHWANBKWMPULHTK3P5/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: Windows buildbots may be broken

2021-08-03 Thread Jason R. Coombs
That command causes a re-initialization of all of the files in the working 
copy. I got the recipe from here. 
There are more details in the comment I linked originally and the subsequent 
response.


From: Senthil Kumaran 
Sent: Tuesday, August 3, 2021 09:29
To: Jason R. Coombs 
Cc: python-dev@python.org 
Subject: Re: [Python-Dev] Windows buildbots may be broken

On Fri, Jul 30, 2021 at 02:28:08PM +, 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



___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@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/TSQBGQRRQFQFVV57PT5JZBEXTSB4ZLIJ/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: Windows buildbots may be broken

2021-08-04 Thread Victor Stinner
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/f83c0a321dac8bb7d0df2e3098e7d36862f0b18a
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-sta...@python.org/thread/Z27NUT4OY7IGUNQXCTMO4GGSR7RWVB4J/

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  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-le...@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/EZPAFN3BSVDBZC7CRAJEFIQVM6JOSGU5/
> Code of Conduct: http://python.org/psf/codeofconduct/



-- 
Night gathers, and now my watch begins. It shall not end until my death.
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@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/7UDB2PHSBI66WDTVRA6D5NMJLO734ZNZ/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: Windows buildbots may be broken

2021-08-09 Thread ridhimaortiz--- via Python-Dev
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-le...@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/WMJOVXKRH2ILPADU5QMLIVEIXHWPBOLZ/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: Windows buildbots may be broken

2021-08-09 Thread Tim Peters
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
 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-le...@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/WMJOVXKRH2ILPADU5QMLIVEIXHWPBOLZ/
> Code of Conduct: http://python.org/psf/codeofconduct/
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@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/INKI3S6ZZTQDVXZ3Y5BIJJO6QMGQJ5EK/
Code of Conduct: http://python.org/psf/codeofconduct/