From 6ffa4c03416dda6c620ae3be732a38f495f9e4d7 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Tue, 16 Jul 2024 11:11:26 +0200 Subject: [PATCH] Revert the move of requirements-docs to an extra See PR #209 --- .github/workflows/mkdocs-main.yml | 2 +- .github/workflows/mkdocs-release.yml | 2 +- python/pyproject.toml | 15 +-------------- requirements-docs.txt | 11 +++++++++++ 4 files changed, 14 insertions(+), 16 deletions(-) create mode 100644 requirements-docs.txt diff --git a/.github/workflows/mkdocs-main.yml b/.github/workflows/mkdocs-main.yml index 9294fef53..e8e14b4ea 100644 --- a/.github/workflows/mkdocs-main.yml +++ b/.github/workflows/mkdocs-main.yml @@ -21,7 +21,7 @@ jobs: - name: install deps working-directory: ./python - run: cp ../README.md . && pip3 install -e .[dev] + run: cp ../README.md . && pip3 install -r ../requirements-docs.txt && pip3 install -e .[dev] - name: generate autodoc run: python3 ./python/auto_doc.py diff --git a/.github/workflows/mkdocs-release.yml b/.github/workflows/mkdocs-release.yml index 80a325760..f1c6bb814 100644 --- a/.github/workflows/mkdocs-release.yml +++ b/.github/workflows/mkdocs-release.yml @@ -26,7 +26,7 @@ jobs: - name: install deps working-directory: ./python - run: cp ../README.md . && pip3 install -e .[dev] + run: cp ../README.md . && pip3 install -r ../requirements-docs.txt && pip3 install -e .[dev] - name: generate autodoc run: python3 ./python/auto_doc.py diff --git a/python/pyproject.toml b/python/pyproject.toml index bfe782997..9452f5061 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -86,20 +86,7 @@ dev-pandas1 = [ "pandas<=1.5.3", "sqlalchemy<=1.4.48", ] -dev-docs = [ - "mkdocs==1.5.3", - "mkdocs-material==9.5.17", - "mike==2.0.0", - "sphinx==7.3.7", - "keras_autodoc @ git+https://git@github.com/logicalclocks/keras-autodoc", - "markdown-include==0.8.1", - "mkdocs-jupyter==0.24.3", - "markdown==3.6", - "pymdown-extensions==10.7.1", - "mkdocs-macros-plugin==1.0.4", - "mkdocs-minify-plugin>=0.2.0", -] -dev = ["hopsworks[dev-no-opt,great-expectations,dev-docs]"] +dev = ["hopsworks[dev-no-opt,great-expectations]"] [build-system] requires = ["setuptools", "wheel"] diff --git a/requirements-docs.txt b/requirements-docs.txt new file mode 100644 index 000000000..8bc8d6230 --- /dev/null +++ b/requirements-docs.txt @@ -0,0 +1,11 @@ +mkdocs==1.5.3 +mkdocs-material==9.5.17 +mike==2.0.0 +sphinx==7.3.7 +keras_autodoc @ git+https://git@github.com/logicalclocks/keras-autodoc +markdown-include==0.8.1 +mkdocs-jupyter==0.24.3 +markdown==3.6 +pymdown-extensions==10.7.1 +mkdocs-macros-plugin==1.0.4 +mkdocs-minify-plugin>=0.2.0