Skip to content

Commit

Permalink
Add missing Sphinx dependency to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Jan 9, 2025
1 parent 24145b3 commit fe11602
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ classifiers = [
"Topic :: Text Processing",
"Typing :: Typed",
]
dependencies = [
"sphinx"
]

[project.urls]
"Bug Tracker" = "https://github.com/sphinx-contrib/svgbob/issues"
Expand Down
8 changes: 2 additions & 6 deletions sphinxcontrib/svgbob/tests/test_sphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@
import textwrap
import unittest

try:
import sphinx.cmd.build
import sphinx.cmd.quickstart
except ImportError:
sphinx = None
import sphinx.cmd.build
import sphinx.cmd.quickstart


@unittest.skipUnless(sphinx, "Sphinx not available")
class TestSphinx(unittest.TestCase):

@classmethod
Expand Down

0 comments on commit fe11602

Please sign in to comment.