[Python-buildbots] Re: How to detect running under a buildbot?

2025-08-25 Thread Gregory P. Smith
I think an environment variable could be set globally for all workers via the code in https://github.com/python/buildmaster-config/tree/main/master/custom On Mon, Aug 25, 2025 at 7:34 AM Jason R. Coombs wrote: > In https://github.com/python/cpython/issues/132947, I'm struggling with > an elusive

[Python-buildbots] Re: How to detect running under a buildbot?

2025-08-25 Thread Zachary Ware
On Mon, Aug 25, 2025 at 11:39 AM Gregory P. Smith wrote: > I think an environment variable could be set globally for all workers via > the code in > https://github.com/python/buildmaster-config/tree/main/master/custom It could, but I personally really don't think we want to. There should not be

[Python-buildbots] How to detect running under a buildbot?

2025-08-25 Thread Jason R. Coombs
In https://github.com/python/cpython/issues/132947, I'm struggling with an elusive issue where ResourceWarnings are emitted but only on a handful of buildbots. I'm unable to replicate the issue in GitHub CI or locally. So for a temporary workaround, I want to disable the test that surfaces the w