diff --git a/requirements.txt b/requirements.txt index ac9d9f1..0c2d2e0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -sphinx>=2.4.4 +sphinx>=7.2 ipywidgets>=7.0.0 IPython nbconvert>=5.4 diff --git a/setup.py b/setup.py index 1ff1ef1..142fcb2 100644 --- a/setup.py +++ b/setup.py @@ -29,12 +29,12 @@ license="BSD", packages=["jupyter_sphinx"], install_requires=[ - "Sphinx>=2", + "Sphinx>=7.2", "ipywidgets>=7.0.0", "IPython", "nbconvert>=5.5", "nbformat", ], - python_requires=">= 3.6", + python_requires=">= 3.8", package_data={"jupyter_sphinx": ["thebelab/*", "css/*"]}, ) diff --git a/tests/test_execute.py b/tests/test_execute.py index 1df4102..da4f2eb 100644 --- a/tests/test_execute.py +++ b/tests/test_execute.py @@ -12,7 +12,7 @@ from nbformat import from_dict from sphinx.addnodes import download_reference from sphinx.errors import ExtensionError -from sphinx.testing.util import SphinxTestApp, assert_node, path +from sphinx.testing.util import SphinxTestApp, assert_node from jupyter_sphinx.ast import ( JupyterCellNode, @@ -48,7 +48,7 @@ def doctree( warnings = StringIO() app = SphinxTestApp( - srcdir=path(src_dir.as_posix()), + srcdir=src_dir, status=StringIO(), warning=warnings, buildername=buildername, diff --git a/tox.ini b/tox.ini index 0fbf3c2..2c357c7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,9 @@ [tox] -envlist = py36,py37 +envlist = py38,py311 [testenv] deps = - sphinx + sphinx >= 7.2 pytest commands = pytest