Skip to content

Commit 1e2cdc2

Browse files
bnavigatorbmwiedemann
bnavigator
authored andcommitted
Update python-jupyter-sphinx to version 0.4.0 / rev 8 via SR 1111064
https://build.opensuse.org/request/show/1111064 by user bnavigator + anag+factory - Add jupyter-sphinx-pr233-pathlib.patch gh#jupyter/jupyter-sphinx#233
1 parent 90bf966 commit 1e2cdc2

File tree

5 files changed

+88
-1
lines changed

5 files changed

+88
-1
lines changed
72 Bytes
Binary file not shown.

packages/p/python-jupyter-sphinx/.rev

+10
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,14 @@
6161
- PEP517</comment>
6262
<requestid>1105444</requestid>
6363
</revision>
64+
<revision rev="8" vrev="3">
65+
<srcmd5>61f533f188ba06350eadf89cef02c5fc</srcmd5>
66+
<version>0.4.0</version>
67+
<time>1694701565</time>
68+
<user>anag+factory</user>
69+
<comment>- Add jupyter-sphinx-pr233-pathlib.patch
70+
gh#jupyter/jupyter-sphinx#233
71+
</comment>
72+
<requestid>1111064</requestid>
73+
</revision>
6474
</revisionlist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
Index: jupyter-sphinx-0.4.0/requirements.txt
2+
===================================================================
3+
--- jupyter-sphinx-0.4.0.orig/requirements.txt
4+
+++ jupyter-sphinx-0.4.0/requirements.txt
5+
@@ -1,4 +1,4 @@
6+
-sphinx>=2.4.4
7+
+sphinx>=7.2
8+
ipykernel>=4.5.1
9+
ipywidgets>=7.0.0
10+
IPython
11+
Index: jupyter-sphinx-0.4.0/setup.py
12+
===================================================================
13+
--- jupyter-sphinx-0.4.0.orig/setup.py
14+
+++ jupyter-sphinx-0.4.0/setup.py
15+
@@ -29,13 +29,13 @@ setup(
16+
license="BSD",
17+
packages=["jupyter_sphinx"],
18+
install_requires=[
19+
- "Sphinx>=2",
20+
+ "Sphinx>=7.2",
21+
"ipykernel>=4.5.1",
22+
"ipywidgets>=7.0.0",
23+
"IPython",
24+
"nbconvert>=5.5",
25+
"nbformat",
26+
],
27+
- python_requires=">= 3.6",
28+
+ python_requires=">= 3.8",
29+
package_data={"jupyter_sphinx": ["thebelab/*", "css/*"]},
30+
)
31+
Index: jupyter-sphinx-0.4.0/tests/test_execute.py
32+
===================================================================
33+
--- jupyter-sphinx-0.4.0.orig/tests/test_execute.py
34+
+++ jupyter-sphinx-0.4.0/tests/test_execute.py
35+
@@ -12,7 +12,7 @@ from docutils.nodes import container, im
36+
from nbformat import from_dict
37+
from sphinx.addnodes import download_reference
38+
from sphinx.errors import ExtensionError
39+
-from sphinx.testing.util import SphinxTestApp, assert_node, path
40+
+from sphinx.testing.util import SphinxTestApp, assert_node
41+
42+
from jupyter_sphinx.ast import (
43+
JupyterCellNode,
44+
@@ -48,7 +48,7 @@ def doctree():
45+
46+
warnings = StringIO()
47+
app = SphinxTestApp(
48+
- srcdir=path(src_dir.as_posix()),
49+
+ srcdir=src_dir,
50+
status=StringIO(),
51+
warning=warnings,
52+
buildername=buildername,
53+
Index: jupyter-sphinx-0.4.0/tox.ini
54+
===================================================================
55+
--- jupyter-sphinx-0.4.0.orig/tox.ini
56+
+++ jupyter-sphinx-0.4.0/tox.ini
57+
@@ -1,9 +1,9 @@
58+
[tox]
59+
-envlist = py36,py37
60+
+envlist = py38,py311
61+
62+
[testenv]
63+
deps =
64+
- sphinx
65+
+ sphinx >= 7.2
66+
pytest
67+
commands =
68+
pytest

packages/p/python-jupyter-sphinx/python-jupyter-sphinx.changes

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
-------------------------------------------------------------------
2+
Thu Sep 14 09:29:25 UTC 2023 - Ben Greiner <[email protected]>
3+
4+
- Add jupyter-sphinx-pr233-pathlib.patch
5+
gh#jupyter/jupyter-sphinx#233
6+
17
-------------------------------------------------------------------
28
Wed Aug 23 08:50:53 UTC 2023 - Ben Greiner <[email protected]>
39

packages/p/python-jupyter-sphinx/python-jupyter-sphinx.spec

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,14 @@ Summary: Jupyter Sphinx Extensions
2323
License: BSD-3-Clause
2424
URL: https://github.com/jupyter-widgets/jupyter-sphinx
2525
Source: https://github.com/jupyter/jupyter-sphinx/archive/v%{version}.tar.gz#/jupyter-sphinx-%{version}-gh.tar.gz
26-
# PATCH-FIX-UPSTREAM jupyter-sphinx-pr226-ipykernel.patch gh#upyter-widgets/jupyter-sphinx#226
26+
# PATCH-FIX-UPSTREAM jupyter-sphinx-pr226-ipykernel.patch gh#jupyter-widgets/jupyter-sphinx#226
2727
Patch0: jupyter-sphinx-pr226-ipykernel.patch
28+
# PATCH-FIX-UPSTREAM jupyter-sphinx-pr233-pathlib.patch gh#jupyter-widgets/jupyter-sphinx#233
29+
Patch1: jupyter-sphinx-pr233-pathlib.patch
2830
BuildRequires: %{python_module pip}
2931
BuildRequires: %{python_module setuptools}
3032
BuildRequires: %{python_module wheel}
33+
BuildRequires: %{python_module base >= 3.8}
3134
BuildRequires: fdupes
3235
BuildRequires: python-rpm-macros
3336
Requires: python-IPython

0 commit comments

Comments
 (0)