Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-nbsphinx for openSUSE:Factory
checked in at 2023-08-28 17:16:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nbsphinx (Old)
and /work/SRC/openSUSE:Factory/.python-nbsphinx.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nbsphinx"
Mon Aug 28 17:16:28 2023 rev:16 rq:1106239 version:0.9.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nbsphinx/python-nbsphinx.changes
2023-06-04 00:12:41.361565152 +0200
+++
/work/SRC/openSUSE:Factory/.python-nbsphinx.new.1766/python-nbsphinx.changes
2023-08-28 17:16:32.627513309 +0200
@@ -1,0 +2,6 @@
+Sun Aug 27 21:08:10 UTC 2023 - Arun Persaud <[email protected]>
+
+- update to version 0.9.3:
+ * Fix gallery regression in Sphinx 7.2
+
+-------------------------------------------------------------------
Old:
----
nbsphinx-0.9.2.tar.gz
New:
----
nbsphinx-0.9.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-nbsphinx.spec ++++++
--- /var/tmp/diff_new_pack.wooggB/_old 2023-08-28 17:16:33.771554392 +0200
+++ /var/tmp/diff_new_pack.wooggB/_new 2023-08-28 17:16:33.775554535 +0200
@@ -17,7 +17,7 @@
Name: python-nbsphinx
-Version: 0.9.2
+Version: 0.9.3
Release: 0
Summary: Jupyter Notebook Tools for Sphinx
License: MIT
++++++ nbsphinx-0.9.2.tar.gz -> nbsphinx-0.9.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbsphinx-0.9.2/NEWS.rst new/nbsphinx-0.9.3/NEWS.rst
--- old/nbsphinx-0.9.2/NEWS.rst 2023-05-24 22:51:58.000000000 +0200
+++ new/nbsphinx-0.9.3/NEWS.rst 2023-08-27 12:56:08.000000000 +0200
@@ -1,3 +1,9 @@
+Version 0.9.3 -- 2023-08-27 -- PyPI__ -- diff__
+ * Fix gallery regression in Sphinx 7.2
+
+__ https://pypi.org/project/nbsphinx/0.9.3/
+__ https://github.com/spatialaudio/nbsphinx/compare/0.9.2...0.9.3
+
Version 0.9.2 -- 2023-05-24 -- PyPI__ -- diff__
* Improve support for ``sphinx_immaterial`` theme
* Improve support for links starting with ``#``
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbsphinx-0.9.2/PKG-INFO new/nbsphinx-0.9.3/PKG-INFO
--- old/nbsphinx-0.9.2/PKG-INFO 2023-05-24 22:53:04.985066400 +0200
+++ new/nbsphinx-0.9.3/PKG-INFO 2023-08-27 12:57:29.736750100 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: nbsphinx
-Version: 0.9.2
+Version: 0.9.3
Summary: Jupyter Notebook Tools for Sphinx
Home-page: https://nbsphinx.readthedocs.io/
Author: Matthias Geier
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbsphinx-0.9.2/doc/conf.py
new/nbsphinx-0.9.3/doc/conf.py
--- old/nbsphinx-0.9.2/doc/conf.py 2023-05-24 21:44:25.000000000 +0200
+++ new/nbsphinx-0.9.3/doc/conf.py 2023-07-07 20:38:14.000000000 +0200
@@ -50,6 +50,7 @@
<a class="reference external"
href="https://github.com/spatialaudio/nbsphinx/blob/{{ env.config.release|e
}}/{{ docname|e }}">{{ docname|e }}</a>.
Interactive online version:
<span style="white-space: nowrap;"><a
href="https://mybinder.org/v2/gh/spatialaudio/nbsphinx/{{ env.config.release|e
}}?filepath={{ docname|e }}"><img alt="Binder badge"
src="https://mybinder.org/badge_logo.svg"
style="vertical-align:text-bottom"></a>.</span>
+ <a href="{{ env.docname.split('/')|last|e + '.ipynb' }}"
class="reference download internal" download>Download notebook</a>.
<script>
if (document.location.host) {
let nbviewer_link = document.createElement('a');
@@ -59,7 +60,7 @@
window.location.host +
window.location.pathname.slice(0, -4) +
'ipynb');
- nbviewer_link.innerHTML = 'View in <em>nbviewer</em>';
+ nbviewer_link.innerHTML = 'Or view it on <em>nbviewer</em>';
nbviewer_link.classList.add('reference');
nbviewer_link.classList.add('external');
document.currentScript.replaceWith(nbviewer_link, '.');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbsphinx-0.9.2/src/nbsphinx/__init__.py
new/nbsphinx-0.9.3/src/nbsphinx/__init__.py
--- old/nbsphinx-0.9.2/src/nbsphinx/__init__.py 2023-05-24 22:49:14.000000000
+0200
+++ new/nbsphinx-0.9.3/src/nbsphinx/__init__.py 2023-08-27 12:56:06.000000000
+0200
@@ -3,7 +3,7 @@
https://nbsphinx.readthedocs.io/
"""
-__version__ = '0.9.2'
+__version__ = '0.9.3'
import collections.abc
import copy
@@ -1479,7 +1479,13 @@
node['width'], node['height'] = map(str, size)
-original_toctree_resolve = sphinx.environment.adapters.toctree.TocTree.resolve
+if hasattr(sphinx.environment.adapters.toctree, '_resolve_toctree'):
+ # Since Sphinx 7.2.0
+ original_toctree_resolve = \
+ sphinx.environment.adapters.toctree._resolve_toctree
+else:
+ original_toctree_resolve = \
+ sphinx.environment.adapters.toctree.TocTree.resolve
def patched_toctree_resolve(self, docname, builder, toctree, *args, **kwargs):
@@ -2048,8 +2054,13 @@
rst.directives.register_directive('code', sphinx.directives.code.CodeBlock)
# Monkey-patch Sphinx TocTree adapter
- sphinx.environment.adapters.toctree.TocTree.resolve = \
- patched_toctree_resolve
+ if hasattr(sphinx.environment.adapters.toctree, '_resolve_toctree'):
+ # Since Sphinx 7.2.0
+ sphinx.environment.adapters.toctree._resolve_toctree = \
+ patched_toctree_resolve
+ else:
+ sphinx.environment.adapters.toctree.TocTree.resolve = \
+ patched_toctree_resolve
return {
'version': __version__,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nbsphinx-0.9.2/src/nbsphinx.egg-info/PKG-INFO
new/nbsphinx-0.9.3/src/nbsphinx.egg-info/PKG-INFO
--- old/nbsphinx-0.9.2/src/nbsphinx.egg-info/PKG-INFO 2023-05-24
22:53:04.000000000 +0200
+++ new/nbsphinx-0.9.3/src/nbsphinx.egg-info/PKG-INFO 2023-08-27
12:57:29.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: nbsphinx
-Version: 0.9.2
+Version: 0.9.3
Summary: Jupyter Notebook Tools for Sphinx
Home-page: https://nbsphinx.readthedocs.io/
Author: Matthias Geier