Skip to content

Commit 32d5a29

Browse files
committed
deps: Make Sphinx optional
Signed-off-by: Ryan Northey <[email protected]>
1 parent 41c0826 commit 32d5a29

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
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

Lines changed: 3 additions & 4 deletions
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,7 +50,9 @@ lint = [
5350
"mypy",
5451
"docutils-stubs",
5552
]
56-
53+
standalone = [
54+
"sphinx > 5",
55+
]
5756
[[project.authors]]
5857
name = "Georg Brandl"
5958

0 commit comments

Comments
 (0)