Skip to content

Commit 777c3a5

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

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
@@ -39,9 +39,6 @@ classifiers = [
3939
"Topic :: Text Processing",
4040
"Topic :: Utilities",
4141
]
42-
dependencies = [
43-
"Sphinx>=5",
44-
]
4542
dynamic = ["version"]
4643

4744
[project.optional-dependencies]
@@ -53,6 +50,9 @@ lint = [
5350
"mypy",
5451
"docutils-stubs",
5552
]
53+
standalone = [
54+
"sphinx > 5",
55+
]
5656

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

0 commit comments

Comments
 (0)