Skip to content

Commit

Permalink
deps: Make Sphinx optional
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
phlax committed Aug 24, 2023
1 parent 41c0826 commit 32d5a29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install .[test]
python -m pip install .[standalone]
- name: Test with pytest
run: python -m pytest -vv --durations 25
Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ classifiers = [
"Topic :: Text Processing",
"Topic :: Utilities",
]
dependencies = [
"Sphinx>=5",
]
dynamic = ["version"]

[project.optional-dependencies]
Expand All @@ -53,7 +50,9 @@ lint = [
"mypy",
"docutils-stubs",
]

standalone = [
"sphinx > 5",
]
[[project.authors]]
name = "Georg Brandl"
email = "georg@python.org"
Expand Down

0 comments on commit 32d5a29

Please sign in to comment.