From e2498ffe3819e7f0ee37c38d27083ff9edee93b0 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Mon, 15 Jul 2024 09:23:26 +0200 Subject: [PATCH] Fix pyproject optional docgen dependency --- .github/workflows/mkdocs-main.yml | 2 +- .github/workflows/mkdocs-release.yml | 2 +- python/pyproject.toml | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mkdocs-main.yml b/.github/workflows/mkdocs-main.yml index 9294fef53..fde82adc2 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 -e .[dev-docs] - 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..a2d746f0a 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 -e .[dev-docs] - name: generate autodoc run: python3 ./python/auto_doc.py diff --git a/python/pyproject.toml b/python/pyproject.toml index bfe782997..74d9dc25e 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -86,7 +86,9 @@ dev-pandas1 = [ "pandas<=1.5.3", "sqlalchemy<=1.4.48", ] +dev = ["hopsworks[dev-no-opt,great-expectations]"] dev-docs = [ + "hopsworks[dev]", "mkdocs==1.5.3", "mkdocs-material==9.5.17", "mike==2.0.0", @@ -99,7 +101,6 @@ dev-docs = [ "mkdocs-macros-plugin==1.0.4", "mkdocs-minify-plugin>=0.2.0", ] -dev = ["hopsworks[dev-no-opt,great-expectations,dev-docs]"] [build-system] requires = ["setuptools", "wheel"]