From 4447d331b5122798745169cd251a34a7b3fa07ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Tue, 10 Oct 2023 19:04:44 +0200 Subject: [PATCH] DOC: upgrade sphinx to 7.2.6 --- .circleci/config.yml | 4 ++-- .github/dependabot.yml | 5 +++++ .readthedocs.yml | 2 +- doc/requirements.txt => requirements/docs.txt | 3 ++- test_requirements.txt => requirements/tests.txt | 0 5 files changed, 10 insertions(+), 4 deletions(-) rename doc/requirements.txt => requirements/docs.txt (58%) rename test_requirements.txt => requirements/tests.txt (100%) diff --git a/.circleci/config.yml b/.circleci/config.yml index a7aa6e87..0fbbd3ce 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,7 +53,7 @@ commands: # install yt_astro_analysis with extra dev dependencies python -m pip install . - python -m pip install --requirement test_requirements.txt + python -m pip install --requirement requirements/tests.txt # configure yt mkdir -p $HOME/.config/yt # avoid a warning from yt @@ -117,7 +117,7 @@ commands: command: | source $HOME/venv/bin/activate python -m pip install --upgrade pip - python -m pip install --requirement doc/requirements.txt + python -m pip install --requirement requirements/docs.txt cd doc/source python -m sphinx -M html "." "_build" -W diff --git a/.github/dependabot.yml b/.github/dependabot.yml index adffb195..128a5ad3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,5 +1,10 @@ version: 2 updates: +- package-ecosystem: pip + directory: /requirements + schedule: + interval: monthly + - package-ecosystem: github-actions directory: /.github/workflows schedule: diff --git a/.readthedocs.yml b/.readthedocs.yml index 31d84591..efdbc206 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -14,4 +14,4 @@ build: python: install: - - requirements: doc/requirements.txt + - requirements: requirements/docs.txt diff --git a/doc/requirements.txt b/requirements/docs.txt similarity index 58% rename from doc/requirements.txt rename to requirements/docs.txt index 6333172b..276fb448 100644 --- a/doc/requirements.txt +++ b/requirements/docs.txt @@ -1,4 +1,5 @@ -sphinx==4.5.0 +. # install yt_astro_analysis +sphinx==7.2.6 sphinx-bootstrap-theme==0.8.1 jinja2==3.1.2 markupsafe==2.1.3 diff --git a/test_requirements.txt b/requirements/tests.txt similarity index 100% rename from test_requirements.txt rename to requirements/tests.txt