Skip to content

Commit 7946942

Browse files
committed
deps: Make Sphinx optional
Signed-off-by: Ryan Northey <[email protected]>
1 parent ff4bcae commit 7946942

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/test.yml

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
run: |
4646
python -m pip install --upgrade pip
4747
python -m pip install .[test]
48+
python -m pip install .[standalone]
4849
4950
- name: Test with pytest
5051
run: python -m pytest -vv --durations 25

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ classifiers = [
4040
"Topic :: Text Processing",
4141
"Topic :: Utilities",
4242
]
43-
dependencies = [
44-
"Sphinx>=5",
45-
]
4643
dynamic = ["version"]
4744

4845
[project.optional-dependencies]
@@ -54,6 +51,9 @@ lint = [
5451
"mypy",
5552
"docutils-stubs",
5653
]
54+
standalone = [
55+
"sphinx > 5",
56+
]
5757

5858
[[project.authors]]
5959
name = "Georg Brandl"

0 commit comments

Comments
 (0)