[packages/python-jupyter_core] fix docs generation with sphinx 8; rel 8

atler atler at pld-linux.org
Sat Apr 19 15:49:26 CEST 2025


commit e3d6cfca6db99d8322121d19354530e6896a7c75
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Apr 19 15:10:15 2025 +0200

    fix docs generation with sphinx 8; rel 8

 python-jupyter_core.spec | 6 ++++--
 sphinx8.patch            | 8 ++++++++
 2 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/python-jupyter_core.spec b/python-jupyter_core.spec
index 6d91f93..80ec723 100644
--- a/python-jupyter_core.spec
+++ b/python-jupyter_core.spec
@@ -9,7 +9,7 @@ Summary:	Core common functionality of Jupyter projects
 Summary(pl.UTF-8):	Główna, wspólna funkcjonalność projektów Jupyter
 Name:		python-jupyter_core
 Version:	4.6.3
-Release:	7
+Release:	8
 License:	BSD
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/jupyter_core/
@@ -17,6 +17,7 @@ Source0:	https://files.pythonhosted.org/packages/source/j/jupyter_core/jupyter_c
 # Source0-md5:	aaed36bf01888c9e810462e6226db70a
 Patch0:		%{name}-tests.patch
 Patch1:		%{name}-completions.patch
+Patch2:		sphinx8.patch
 URL:		https://pypi.org/project/jupyter_core/
 %if %{with python2}
 BuildRequires:	python-modules >= 1:2.7
@@ -40,7 +41,7 @@ BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with doc}
 BuildRequires:	python3-sphinxcontrib_github_alt
 BuildRequires:	python3-traitlets >= 4.0
-BuildRequires:	sphinx-pdg-3
+BuildRequires:	sphinx-pdg-3 >= 8
 %endif
 Requires:	python-modules >= 1:2.7
 BuildArch:	noarch
@@ -109,6 +110,7 @@ Dopełnianie parametrów w zsh dla poleceń jupyter.
 %setup -q -n jupyter_core-%{version}
 %patch -P 0 -p1
 %patch -P 1 -p1
+%patch -P 2 -p1
 
 %build
 %if %{with python2}
diff --git a/sphinx8.patch b/sphinx8.patch
new file mode 100644
index 0000000..17f4c10
--- /dev/null
+++ b/sphinx8.patch
@@ -0,0 +1,8 @@
+--- jupyter_core-4.6.3/docs/conf.py.orig	2019-09-14 00:09:00.000000000 +0200
++++ jupyter_core-4.6.3/docs/conf.py	2025-04-19 15:06:52.296934881 +0200
+@@ -294,4 +294,4 @@
+ 
+ 
+ # Example configuration for intersphinx: refer to the Python standard library.
+-intersphinx_mapping = {'https://docs.python.org/3/': None}
++intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-jupyter_core.git/commitdiff/e3d6cfca6db99d8322121d19354530e6896a7c75



More information about the pld-cvs-commit mailing list