Skip to content

Commit d5d5d4f

Browse files
committed
Fix pyproject optional docgen dependency
1 parent 8348823 commit d5d5d4f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/mkdocs-main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- name: install deps
2323
working-directory: ./python
24-
run: cp ../README.md . && pip3 install -e .[dev]
24+
run: cp ../README.md . && pip3 install -e .[dev-docs]
2525

2626
- name: generate autodoc
2727
run: python3 ./python/auto_doc.py

.github/workflows/mkdocs-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: install deps
2828
working-directory: ./python
29-
run: cp ../README.md . && pip3 install -e .[dev]
29+
run: cp ../README.md . && pip3 install -e .[dev-docs]
3030

3131
- name: generate autodoc
3232
run: python3 ./python/auto_doc.py

python/pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ dev-pandas1 = [
8686
"pandas<=1.5.3",
8787
"sqlalchemy<=1.4.48",
8888
]
89+
dev = ["hopsworks[dev-no-opt,great-expectations]"]
8990
dev-docs = [
91+
"hopsworks[dev]",
9092
"mkdocs==1.5.3",
9193
"mkdocs-material==9.5.17",
9294
"mike==2.0.0",
@@ -99,7 +101,6 @@ dev-docs = [
99101
"mkdocs-macros-plugin==1.0.4",
100102
"mkdocs-minify-plugin>=0.2.0",
101103
]
102-
dev = ["hopsworks[dev-no-opt,great-expectations,dev-docs]"]
103104

104105
[build-system]
105106
requires = ["setuptools", "wheel"]

0 commit comments

Comments
 (0)