From bbe663bdcff24f6d6de796741a96edd130538fbe Mon Sep 17 00:00:00 2001 From: Jonathan Ballet Date: Fri, 31 Dec 2021 11:18:45 +0100 Subject: [PATCH] Fix RTD doc compilation https://github.com/aio-libs/aiokafka/pull/810 imports errors from `setuptools` instead of `distutils` This is available only starting from `setuptools` v59.0.0 (https://github.com/pypa/setuptools/pull/2858) but RTD currently defaults to v58.2.0 (https://docs.readthedocs.io/en/stable/builds.html#python) --- requirements-docs.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements-docs.txt b/requirements-docs.txt index 6c8760b98..5fb65f653 100644 --- a/requirements-docs.txt +++ b/requirements-docs.txt @@ -1,4 +1,5 @@ -r requirements-cython.txt +setuptools>=59.0.0 # Install a newer setuptools on rtd, which defaults to pre-https://github.com/pypa/setuptools/pull/2858 Sphinx==4.3.0 sphinxcontrib-asyncio==0.3.0 sphinxcontrib-spelling==7.2.1