From 7c5af665449d49ca4adc50d38f48ffc140a092f6 Mon Sep 17 00:00:00 2001 From: Francis Charette Migneault Date: Mon, 16 Aug 2021 11:02:32 -0400 Subject: [PATCH] fix breaking astroid==2.7 with sphinx-autoapi (relates to https://github.com/readthedocs/sphinx-autoapi/issues/301) --- requirements-doc.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/requirements-doc.txt b/requirements-doc.txt index 48755e9f..7772d3c7 100644 --- a/requirements-doc.txt +++ b/requirements-doc.txt @@ -1,6 +1,8 @@ # these are doc-only requirements -# we actually need to install all requirements during docs build because of OpenAPI generation -# (see 'docs/conf.py') +# we actually need to install all requirements during docs build because of OpenAPI generation (see 'docs/conf.py') + +# sphinx-autoapi breaking with astroid==2.7 (https://github.com/readthedocs/sphinx-autoapi/issues/301) +astroid>=2.6,!=2.7,<3 pycodestyle sphinx-autoapi>=1.7.0 sphinx-paramlinks>=0.4.1