From 93dbcacc0f55960cd66343f6dee503976881584d Mon Sep 17 00:00:00 2001 From: Vicente Adolfo Bolea Sanchez Date: Mon, 7 Aug 2023 12:58:09 -0400 Subject: [PATCH] readthedocs: build current ADIOS2 - Solely use Conda to install deps --- docs/environment.yml | 13 ++++++------- docs/requirements.txt | 44 ------------------------------------------- readthedocs.yml | 13 +++++++++---- 3 files changed, 15 insertions(+), 55 deletions(-) delete mode 100644 docs/requirements.txt diff --git a/docs/environment.yml b/docs/environment.yml index 998a6d65b4..20b0939ac2 100644 --- a/docs/environment.yml +++ b/docs/environment.yml @@ -2,17 +2,16 @@ name: adios2-python-docs channels: - conda-forge - - williamfgc dependencies: - - adios2-openmpi - - breathe==4.33.0 + - breathe==4.35.0 + - cmake - docutils==0.17 - - python - - sphinx=4 -# - funcparserlib>=0.3.6 + - libpython-static + - numpy - pip + - sphinx=5.3 - pip: - blockdiag==3.0.0 - sphinxcontrib-blockdiag==3.0.0 - - sphinx_rtd_theme==1.0.0 + - sphinx_rtd_theme==1.1.1 diff --git a/docs/requirements.txt b/docs/requirements.txt deleted file mode 100644 index 846a653114..0000000000 --- a/docs/requirements.txt +++ /dev/null @@ -1,44 +0,0 @@ -alabaster==0.7.12 -Babel==2.11.0 -blockdiag==3.0.0 -breathe==4.33.0 -brotlipy==0.7.0 -certifi==2023.7.22 -cffi==1.15.1 -charset-normalizer==2.1.1 -colorama==0.4.6 -cryptography==41.0.3 -docutils==0.17 -funcparserlib==1.0.1 -idna==3.4 -imagesize==1.4.1 -importlib-metadata==4.11.4 -Jinja2==3.1.2 -MarkupSafe==2.1.1 -mpi4py==3.1.3 -numpy==1.22.0 -packaging==22.0 -Pillow==9.4.0 -pip==22.3.1 -pycparser==2.21 -Pygments==2.15.0 -pyOpenSSL==23.0.0 -PySocks==1.7.1 -pytz==2022.7 -requests==2.31.0 -setuptools==65.6.3 -snowballstemmer==2.2.0 -Sphinx==4.5.0 -sphinx-rtd-theme==1.0.0 -sphinxcontrib-applehelp==1.0.2 -sphinxcontrib-blockdiag==3.0.0 -sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-htmlhelp==2.0.0 -sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.3 -sphinxcontrib-serializinghtml==1.1.5 -typing_extensions==4.4.0 -urllib3==1.26.13 -webcolors==1.12 -wheel==0.38.4 -zipp==3.11.0 diff --git a/readthedocs.yml b/readthedocs.yml index b2faeb48a6..e3981630cc 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -4,10 +4,15 @@ version: 2 conda: environment: docs/environment.yml -python: - version: 3.7 - system_packages: true - +build: + os: "ubuntu-22.04" + tools: + python: "miniconda3-4.7" + jobs: + pre_install: + - cmake -B build -S . -DADIOS2_USE_PYTHON=ON -DBUILD_TESTING=OFF -DADIOS2_BUILD_EXAMPLES=OFF + - cmake --build build + - cmake --install build --prefix "$HOME/.local" formats: - pdf - epub