Skip to content

Commit fbe424e

Browse files
AA-Turnerphlax
authored andcommitted
deps: Make Sphinx optional
Signed-off-by: Ryan Northey <[email protected]>
1 parent 5c62ad4 commit fbe424e

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
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

CHANGES

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Release 1.1.9 (2023-08-20)
2+
==========================
3+
4+
* Serialise context["script_files"] and context["css_files"] as their filenames
5+
on Sphinx 7.2.0.
6+
17
Release 1.1.8 (2023-08-14)
28
==========================
39

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ classifiers = [
4040
"Topic :: Text Processing",
4141
"Topic :: Utilities",
4242
]
43-
dependencies = [
44-
"Sphinx>=5",
45-
]
4643
dynamic = ["version"]
4744

4845
[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"

sphinxcontrib/serializinghtml/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
from sphinxcontrib.serializinghtml import jsonimpl
1515

16-
__version__ = '1.1.8'
17-
__version_info__ = (1, 1, 8)
16+
__version__ = '1.1.9'
17+
__version_info__ = (1, 1, 9)
1818

1919
package_dir = path.abspath(path.dirname(__file__))
2020

0 commit comments

Comments
 (0)