Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove sphinx.testing.util.path #233

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sphinx>=2.4.4
sphinx>=7.2
ipywidgets>=7.0.0
IPython
nbconvert>=5.4
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/*"]},
)
4 changes: 2 additions & 2 deletions tests/test_execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[tox]
envlist = py36,py37
envlist = py38,py311

[testenv]
deps =
sphinx
sphinx >= 7.2
pytest
commands =
pytest