Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jupyter-sphinx for
openSUSE:Factory checked in at 2023-08-23 14:58:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter-sphinx (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter-sphinx.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter-sphinx"
Wed Aug 23 14:58:39 2023 rev:7 rq:1105444 version:0.4.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter-sphinx/python-jupyter-sphinx.changes
2022-07-13 13:46:00.330084379 +0200
+++
/work/SRC/openSUSE:Factory/.python-jupyter-sphinx.new.1766/python-jupyter-sphinx.changes
2023-08-23 14:59:50.330228770 +0200
@@ -1,0 +2,8 @@
+Wed Aug 23 08:50:53 UTC 2023 - Ben Greiner <[email protected]>
+
+- Add ipykernel to requirements
+ * jupyter-sphinx-pr226-ipykernel.patch
+ * gh#jupyter/jupyter-sphinx#226
+- PEP517
+
+-------------------------------------------------------------------
New:
----
jupyter-sphinx-pr226-ipykernel.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter-sphinx.spec ++++++
--- /var/tmp/diff_new_pack.3EqKsB/_old 2023-08-23 14:59:50.918229821 +0200
+++ /var/tmp/diff_new_pack.3EqKsB/_new 2023-08-23 14:59:50.926229835 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-jupyter-sphinx
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
-%define oldpython python
Name: python-jupyter-sphinx
Version: 0.4.0
Release: 0
@@ -26,11 +23,16 @@
License: BSD-3-Clause
URL: https://github.com/jupyter-widgets/jupyter-sphinx
Source:
https://github.com/jupyter/jupyter-sphinx/archive/v%{version}.tar.gz#/jupyter-sphinx-%{version}-gh.tar.gz
+# PATCH-FIX-UPSTREAM jupyter-sphinx-pr226-ipykernel.patch
gh#upyter-widgets/jupyter-sphinx#226
+Patch0: jupyter-sphinx-pr226-ipykernel.patch
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-IPython
Requires: python-Sphinx >= 2
+Requires: python-ipykernel >= 4.5.1
Requires: python-ipywidgets >= 7.0.0
Requires: python-nbconvert >= 5.5
Requires: python-nbformat
@@ -41,6 +43,7 @@
BuildRequires: %{python_module IPython}
BuildRequires: %{python_module Sphinx >= 2}
BuildRequires: %{python_module Sphinx-latex}
+BuildRequires: %{python_module ipykernel >= 4.5.1}
BuildRequires: %{python_module ipywidgets >= 7.0.0}
BuildRequires: %{python_module nbconvert >= 5.5}
BuildRequires: %{python_module nbformat}
@@ -49,23 +52,19 @@
%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3"
Provides: jupyter-jupyter-sphinx = %{version}
%endif
-%ifpython2
-Provides: %{oldpython}-jupyter_sphinx = %{version}
-Obsoletes: %{oldpython}-jupyter_sphinx < %{version}
-%endif
%python_subpackages
%description
Jupyter Sphinx extensions enable jupyter-specific features in sphinx.
%prep
-%setup -q -n jupyter-sphinx-%{version}
+%autosetup -p1 -n jupyter-sphinx-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -74,7 +73,7 @@
%files %{python_files}
%doc README.md
%license LICENSE
-%{python_sitelib}/jupyter_sphinx-%{version}-py*.egg-info
+%{python_sitelib}/jupyter_sphinx-%{version}.dist-info
%{python_sitelib}/jupyter_sphinx/
%changelog
++++++ jupyter-sphinx-pr226-ipykernel.patch ++++++
>From ff54324169ccf92acf8ef511967a717628cad5a5 Mon Sep 17 00:00:00 2001
From: Jim Garrison <[email protected]>
Date: Tue, 1 Aug 2023 14:17:51 -0400
Subject: [PATCH] Add direct dependency on ipykernel
ipywidgets 8.1.0 has been released, which includes the change at
https://github.com/jupyter-widgets/ipywidgets/pull/3811.
With this change, ipykernel is no longer a dependnecy of ipywidgets,
so jupyer-sphinx must now depend on ipykernel directly rather
than assume it will be installed as a transitive dependency of
ipywidgets. Without this change, jupyter-sphinx tests will fail CI.
This has additionally led to CI failures in some packages that
depend on jupyter-sphinx but not ipykernel.
---
requirements.txt | 1 +
1 file changed, 1 insertion(+)
Index: jupyter-sphinx-0.4.0/requirements.txt
===================================================================
--- jupyter-sphinx-0.4.0.orig/requirements.txt
+++ jupyter-sphinx-0.4.0/requirements.txt
@@ -1,4 +1,5 @@
sphinx>=2.4.4
+ipykernel>=4.5.1
ipywidgets>=7.0.0
IPython
nbconvert>=5.4
Index: jupyter-sphinx-0.4.0/setup.py
===================================================================
--- jupyter-sphinx-0.4.0.orig/setup.py
+++ jupyter-sphinx-0.4.0/setup.py
@@ -30,6 +30,7 @@ setup(
packages=["jupyter_sphinx"],
install_requires=[
"Sphinx>=2",
+ "ipykernel>=4.5.1",
"ipywidgets>=7.0.0",
"IPython",
"nbconvert>=5.5",