[Python-Dev] Re: Doc tests failing for many PRs on GitHub

2020-09-01 Thread Kyle Stanley
Thanks for reverting the setuptools version Ned, and to Victor for opening a PR to make the fix for the latest version. I'm always amazed by the efforts made and quick responses to keep things running smoothly. :-) On Tue, Sep 1, 2020 at 5:56 AM Ned Deily wrote: > On Sep 1, 2020, at 05:47, Ned D

[Python-Dev] Re: Doc tests failing for many PRs on GitHub

2020-09-01 Thread Ned Deily
On Sep 1, 2020, at 05:47, Ned Deily wrote: > I've opened https://bugs.python.org/issue41685 and pushed a temporary change > to the Docs build venv to pin the setuptools version to a previous version. > I've also restarted the failing CI test for Mark's PRs and a couple of others. But, of cours

[Python-Dev] Re: Doc tests failing for many PRs on GitHub

2020-09-01 Thread Ned Deily
I've opened https://bugs.python.org/issue41685 and pushed a temporary change to the Docs build venv to pin the setuptools version to a previous version. I've also restarted the failing CI test for Mark's PRs and a couple of others. On Sep 1, 2020, at 04:35, Victor Stinner wrote: > The documen

[Python-Dev] Re: Doc tests failing for many PRs on GitHub

2020-09-01 Thread Victor Stinner
Hi, The documentation job of our pre-commit CI fails because of a change in the newly released setuptools 50.0: it comes from the new _distutil_hack module of setuptools. I proposed https://github.com/pypa/setuptools/pull/2361 to fix Python 3.10 support in the _distutils_hack module. Sadly, in t

[Python-Dev] Re: Doc tests failing for many PRs on GitHub

2020-08-31 Thread Ammar Askar
Filed https://github.com/pypa/setuptools/issues/2362 against setuptools, not sure what we should do locally to fix this in the meantime. On Mon, Aug 31, 2020 at 1:11 PM Ammar Askar wrote: > > Karthik, your analysis is correct. You just have to import importlib > first to get the error: > > >>> im

[Python-Dev] Re: Doc tests failing for many PRs on GitHub

2020-08-31 Thread Ammar Askar
Karthik, your analysis is correct. You just have to import importlib first to get the error: >>> import importlib >>> import importlib.util >>> importlib.util.abc.Loader Traceback (most recent call last): File "", line 1, in AttributeError: module 'importlib.util' has no attribute 'abc' On Mon

[Python-Dev] Re: Doc tests failing for many PRs on GitHub

2020-08-31 Thread Karthikeyan
The last successful build is https://travis-ci.com/github/python/cpython/jobs/379161961 Recent failure build is https://travis-ci.com/github/python/cpython/jobs/379329436 I can see setuptools being upgraded from 49.6.0 to 50.0.0 as a difference. I can see the below command to print sphinx-build ve