From ad36eaf3ffe1b0af929a5695cd4f7e56748c7883 Mon Sep 17 00:00:00 2001 From: dougiesquire Date: Mon, 9 Oct 2023 15:01:16 +1100 Subject: [PATCH] pin astroid<3.0 --- docs/conf.py | 2 +- docs/environment-doc.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 290d937d..27551a42 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -45,7 +45,7 @@ # autoapi directives autoapi_dirs = ["../src/access_nri_intake"] autoapi_add_toctree_entry = False -autoapi_ignore = ["*/*.ipynb_checkpoints"] +autoapi_ignore = ["*/.ipynb_checkpoints", "*/_version.py", "*/__init__.py"] autoapi_python_class_content = "both" autoapi_options = [ "members", diff --git a/docs/environment-doc.yaml b/docs/environment-doc.yaml index 4ee1551e..b1f8de07 100644 --- a/docs/environment-doc.yaml +++ b/docs/environment-doc.yaml @@ -4,6 +4,7 @@ channels: - defaults dependencies: - python==3.11 + - astroid<3.0 # see https://github.com/readthedocs/sphinx-autoapi/issues/407 - hdf5 - ipython - numpy