Skip to content

Commit 719cc97

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

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
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 & 3 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]
@@ -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)