Skip to content

Commit 50f4576

Browse files
committed
Fix dependencies without adding deptry to ci/cd
1 parent 36c15e3 commit 50f4576

File tree

3 files changed

+9
-42
lines changed

3 files changed

+9
-42
lines changed

.github/workflows/build-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run: timeout 10s poetry run pip --version || rm -rf .venv
4141

4242
- name: Install dependencies
43-
run: poetry install -E docs
43+
run: poetry install --with docs
4444

4545
- name: Build documentation
4646
run: |

poetry.lock

Lines changed: 6 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,9 @@ jsonschema-spec = "^0.1.1"
7171
backports-cached-property = {version = "^1.0.2", python = "<3.8" }
7272
asgiref = "^3.6.0"
7373
jsonschema = "^4.17.3"
74-
starlette = "^0.26.1"
74+
starlette = {version = "^0.26.1", optional = true}
7575

7676
[tool.poetry.extras]
77-
docs = ["sphinx", "sphinx-immaterial"]
7877
django = ["django"]
7978
falcon = ["falcon"]
8079
flask = ["flask"]
@@ -119,4 +118,4 @@ line-length = 79
119118
[tool.isort]
120119
profile = "black"
121120
line_length = 79
122-
force_single_line = true
121+
force_single_line = true

0 commit comments

Comments
 (0)