commit python-voila for openSUSE:Factory

2022-10-29 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-voila for openSUSE:Factory 
checked in at 2022-10-29 20:16:28

Comparing /work/SRC/openSUSE:Factory/python-voila (Old)
 and  /work/SRC/openSUSE:Factory/.python-voila.new.2275 (New)


Package is "python-voila"

Sat Oct 29 20:16:28 2022 rev:18 rq:1032232 version:0.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-voila/python-voila.changes
2022-10-18 12:45:36.157806072 +0200
+++ /work/SRC/openSUSE:Factory/.python-voila.new.2275/python-voila.changes  
2022-10-29 20:17:46.954426708 +0200
@@ -1,0 +2,30 @@
+Sat Oct 29 16:10:03 UTC 2022 - Ben Greiner 
+
+- re-add reruns for server-side zmq test failures
+
+---
+Fri Oct 28 15:10:16 UTC 2022 - Ben Greiner 
+
+- Update to v0.4.0
+  * Render read-only notebook #1181 (@trungleduc)
+  * Add Voila app port to kernel env #1176 (@dcnadler)
+  * Add Voila configuration option for default kernel environmental
+variables #1175 (@dcnadler)
+  * Add upper bound on jupyter_client dependency #1239
+(@martinRenou)
+  * Fix inifinite loop in property access #1185 (@martinRenou)
+  * Update nbclient #1234 (@martinRenou)
+  * Remove pin on jupyter_releaser #1232 (@jtpio)
+  * Update nbclient pinning #1224 (@martinRenou)
+  * Bump d3-color from 3.0.1 to 3.1.0 #1221 (@dependabot)
+  * Remove extra_requires #1215 (@martinRenou)
+  * Couple of ui-tests maintenance changes #1214 (@martinRenou)
+  * Use ipywidgets 8 on Binder #1210 (@jtpio)
+  * Fix typos #1198 (@kianmeng)
+  * Migrate to hatch #1197 (@jtpio)
+  * Bump terser from 4.8.0 to 4.8.1 #1174 (@dependabot)
+  * Update nbconvert pinning #1161 (@martinRenou)
+  * feat: support for ipywidgets 8 #1046 (@mariobuikhuizen)
+- Drop support-ipywidgets-8.patch, update-nbconvert.patch
+
+---

Old:

  support-ipywidgets-8.patch
  update-nbconvert.patch
  voila-0.3.6-gh.tar.gz
  voila-0.3.6.tar.gz

New:

  voila-0.4.0-gh.tar.gz
  voila-0.4.0-py3-none-any.whl



Other differences:
--
++ python-voila.spec ++
--- /var/tmp/diff_new_pack.hBBcv6/_old  2022-10-29 20:17:48.782436447 +0200
+++ /var/tmp/diff_new_pack.hBBcv6/_new  2022-10-29 20:17:48.786436469 +0200
@@ -24,39 +24,29 @@
 %define psuffix %{nil}
 %bcond_with test
 %endif
-%if 0%{?suse_version} > 1500
+
 %bcond_without libalternatives
-%else
-%bcond_with libalternatives
-%endif
-%{?!python_module:%define python_module() python3-%{**}}
-%define skip_python2 1
+
 Name:   python-voila%{psuffix}
-Version:0.3.6
+Version:0.4.0
 Release:0
 Summary:Plugin for serving read-only live Jupyter notebooks
 License:BSD-3-Clause
 URL:https://github.com/voila-dashboards/voila
-# Need both source archives: PyPI for the npm compiled JS static files, GitHub 
for the tests
-Source: 
https://files.pythonhosted.org/packages/source/v/voila/voila-%{version}.tar.gz
-Source1:
https://github.com/voila-dashboards/voila/archive/refs/tags/v%{version}.tar.gz#/voila-%{version}-gh.tar.gz
+# Need both source archives: PyPI wheel for the npm compiled JS static files, 
GitHub for the tests
+Source0:
https://github.com/voila-dashboards/voila/archive/refs/tags/v%{version}.tar.gz#/voila-%{version}-gh.tar.gz
+Source1:
https://files.pythonhosted.org/packages/py3/v/voila/voila-%{version}-py3-none-any.whl
 Source99:   python-voila-rpmlintrc
-# PATCH-FIX-UPSTREAM Support ipywidgets 8, based on
-# gh#voila-dashboards/voila#1193
-Patch0: support-ipywidgets-8.patch
-# PATCH-FIX-UPSTREAM update-nbconvert.patch based on
-# gh#voila-dashboards/voila#1161
-Patch1: update-nbconvert.patch
 BuildRequires:  %{python_module base >= 3.7}
-BuildRequires:  %{python_module jupyter-packaging >= 0.10}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module pip}
 BuildRequires:  fdupes
 BuildRequires:  jupyter-jupyterlab-filesystem
 BuildRequires:  jupyter-notebook-filesystem
 BuildRequires:  python-rpm-macros
 Requires:   jupyter-voila = %{version}
+Requires:   python-jupyter-core >= 4.11
 Requires:   python-websockets >= 9.0
-Requires:   (python-jupyter-client >= 6.1.3 with python-jupyter-client < 8)
+Requires:   (python-jupyter-client >= 6.1.3 with python-jupyter-client < 
7.4.2)
 Requires:   (python-jupyter-server >= 1.18 with python-jupyter-server < 2)
 Requires:   (python-jupyterlab-server >= 2.3.0 with 
python-jupyterlab-server < 3)
 Requires:   (python-nbclient >= 0.4.0 with python-nbclient < 0.8)
@@ -74,7 +64,9 @@
 BuildRequires:  %{python_module ipywidgets}
 

commit python-voila for openSUSE:Factory

2022-10-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-voila for openSUSE:Factory 
checked in at 2022-10-18 12:45:10

Comparing /work/SRC/openSUSE:Factory/python-voila (Old)
 and  /work/SRC/openSUSE:Factory/.python-voila.new.2275 (New)


Package is "python-voila"

Tue Oct 18 12:45:10 2022 rev:17 rq:1029570 version:0.3.6

Changes:

--- /work/SRC/openSUSE:Factory/python-voila/python-voila.changes
2022-10-06 07:42:01.032662341 +0200
+++ /work/SRC/openSUSE:Factory/.python-voila.new.2275/python-voila.changes  
2022-10-18 12:45:36.157806072 +0200
@@ -1,0 +2,7 @@
+Mon Oct 17 16:32:43 UTC 2022 - Ben Greiner 
+
+- Bump to nbclient 0.7 (See also gh#voila-dashboards/voila#1234)
+- Remove import from vendorized mistune in nbconvert: not
+  vendorized anymore
+
+---



Other differences:
--
++ python-voila.spec ++
--- /var/tmp/diff_new_pack.A4W9tQ/_old  2022-10-18 12:45:37.321808722 +0200
+++ /var/tmp/diff_new_pack.A4W9tQ/_new  2022-10-18 12:45:37.329808740 +0200
@@ -59,7 +59,7 @@
 Requires:   (python-jupyter-client >= 6.1.3 with python-jupyter-client < 8)
 Requires:   (python-jupyter-server >= 1.18 with python-jupyter-server < 2)
 Requires:   (python-jupyterlab-server >= 2.3.0 with 
python-jupyterlab-server < 3)
-Requires:   (python-nbclient >= 0.4.0 with python-nbclient < 0.7)
+Requires:   (python-nbclient >= 0.4.0 with python-nbclient < 0.8)
 Requires:   (python-nbconvert >= 6.4.5 with python-nbconvert < 8)
 Requires:   (python-traitlets >= 5.0.3 with python-traitlets < 6)
 BuildArch:  noarch
@@ -119,8 +119,6 @@
 %prep
 %setup -q -n voila-%{version}
 tar xf %{SOURCE1} --strip-components=1 voila-%{version}/tests
-sed -i s/mistune.Renderer/nbconvert.vendor.mistune.Renderer/ voila/exporter.py
-sed -i '/nbclient/ s/,<0.6//' setup.cfg
 # '.' is now considered 'hidden', which is not allowed.
 sed -i 's|./jupyter.svg|jupyter.svg|' tests/notebooks/images.ipynb
 %patch0 -p1

++ update-nbconvert.patch ++
--- /var/tmp/diff_new_pack.A4W9tQ/_old  2022-10-18 12:45:37.389808877 +0200
+++ /var/tmp/diff_new_pack.A4W9tQ/_new  2022-10-18 12:45:37.393808886 +0200
@@ -6,9 +6,9 @@
jupyter_server>=1.18,<2.0.0
jupyterlab_server>=2.3.0,<3
jupyter_client>=6.1.3,<8
--  nbclient>=0.4.0
+-  nbclient>=0.4.0,<0.6
 -  nbconvert>=6.4.5,<7
-+  nbclient>=0.4.0,<0.7
++  nbclient>=0.4.0,<0.8
 +  nbconvert>=6.4.5,<8
websockets>=9.0
traitlets>=5.0.3,<6
@@ -41,7 +41,7 @@
  """Custom HTMLExporter that inlines the images using 
VoilaMarkdownRenderer"""
  
  base_url = traitlets.Unicode(help="Base url for 
resources").tag(config=True)
--markdown_renderer_class = 
traitlets.Type('nbconvert.vendor.mistune.Renderer').tag(config=True)
+-markdown_renderer_class = 
traitlets.Type('mistune.Renderer').tag(config=True)
 +markdown_renderer_class = 
traitlets.Type(VoilaMarkdownRenderer).tag(config=True)
  # Can be a ContentsManager from notebook or jupyter_server, so Any will 
have to do for now
  contents_manager = traitlets.Any()


commit python-voila for openSUSE:Factory

2022-10-05 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-voila for openSUSE:Factory 
checked in at 2022-10-06 07:41:50

Comparing /work/SRC/openSUSE:Factory/python-voila (Old)
 and  /work/SRC/openSUSE:Factory/.python-voila.new.2275 (New)


Package is "python-voila"

Thu Oct  6 07:41:50 2022 rev:16 rq:1008126 version:0.3.6

Changes:

--- /work/SRC/openSUSE:Factory/python-voila/python-voila.changes
2022-09-12 19:08:12.950530871 +0200
+++ /work/SRC/openSUSE:Factory/.python-voila.new.2275/python-voila.changes  
2022-10-06 07:42:01.032662341 +0200
@@ -1,0 +2,6 @@
+Wed Oct  5 07:25:19 UTC 2022 - Daniel Garcia 
+
+- Add update-nbconvert.patch:
+  * Support python-nbconvert < 8
+
+---

New:

  update-nbconvert.patch



Other differences:
--
++ python-voila.spec ++
--- /var/tmp/diff_new_pack.zyA9QU/_old  2022-10-06 07:42:01.580663561 +0200
+++ /var/tmp/diff_new_pack.zyA9QU/_new  2022-10-06 07:42:01.584663570 +0200
@@ -44,6 +44,9 @@
 # PATCH-FIX-UPSTREAM Support ipywidgets 8, based on
 # gh#voila-dashboards/voila#1193
 Patch0: support-ipywidgets-8.patch
+# PATCH-FIX-UPSTREAM update-nbconvert.patch based on
+# gh#voila-dashboards/voila#1161
+Patch1: update-nbconvert.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module jupyter-packaging >= 0.10}
 BuildRequires:  %{python_module setuptools}
@@ -52,12 +55,12 @@
 BuildRequires:  jupyter-notebook-filesystem
 BuildRequires:  python-rpm-macros
 Requires:   jupyter-voila = %{version}
-Requires:   python-nbclient >= 0.4
 Requires:   python-websockets >= 9.0
 Requires:   (python-jupyter-client >= 6.1.3 with python-jupyter-client < 8)
 Requires:   (python-jupyter-server >= 1.18 with python-jupyter-server < 2)
 Requires:   (python-jupyterlab-server >= 2.3.0 with 
python-jupyterlab-server < 3)
-Requires:   (python-nbconvert >= 6.4.5 with python-nbconvert < 7)
+Requires:   (python-nbclient >= 0.4.0 with python-nbclient < 0.7)
+Requires:   (python-nbconvert >= 6.4.5 with python-nbconvert < 8)
 Requires:   (python-traitlets >= 5.0.3 with python-traitlets < 6)
 BuildArch:  noarch
 %if %{with libalternatives}
@@ -121,6 +124,7 @@
 # '.' is now considered 'hidden', which is not allowed.
 sed -i 's|./jupyter.svg|jupyter.svg|' tests/notebooks/images.ipynb
 %patch0 -p1
+%patch1 -p1
 
 %build
 %python_build

++ update-nbconvert.patch ++
Index: voila-0.3.6/setup.cfg
===
--- voila-0.3.6.orig/setup.cfg
+++ voila-0.3.6/setup.cfg
@@ -36,8 +36,8 @@ install_requires =
jupyter_server>=1.18,<2.0.0
jupyterlab_server>=2.3.0,<3
jupyter_client>=6.1.3,<8
-   nbclient>=0.4.0
-   nbconvert>=6.4.5,<7
+   nbclient>=0.4.0,<0.7
+   nbconvert>=6.4.5,<8
websockets>=9.0
traitlets>=5.0.3,<6
 
Index: voila-0.3.6/voila/exporter.py
===
--- voila-0.3.6.orig/voila/exporter.py
+++ voila-0.3.6/voila/exporter.py
@@ -28,21 +28,25 @@ from .utils import create_include_assets
 class VoilaMarkdownRenderer(IPythonRenderer):
 """Custom markdown renderer that inlines images"""
 
+def __init__(self, contents_manager, *args, **kwargs):
+self.contents_manager = contents_manager
+super().__init__(*args, **kwargs)
+
 def image(self, src, title, text):
-contents_manager = self.options['contents_manager']
+contents_manager = self.contents_manager
 if contents_manager.file_exists(src):
 content = contents_manager.get(src, format='base64')
 data = content['content'].replace('\n', '')  # remove the newline
 mime_type, encoding = mimetypes.guess_type(src)
 src = 'data:{mime_type};base64,{data}'.format(mime_type=mime_type, 
data=data)
-return super(VoilaMarkdownRenderer, self).image(src, title, text)
+return super().image(src, title, text)
 
 
 class VoilaExporter(HTMLExporter):
 """Custom HTMLExporter that inlines the images using 
VoilaMarkdownRenderer"""
 
 base_url = traitlets.Unicode(help="Base url for 
resources").tag(config=True)
-markdown_renderer_class = 
traitlets.Type('nbconvert.vendor.mistune.Renderer').tag(config=True)
+markdown_renderer_class = 
traitlets.Type(VoilaMarkdownRenderer).tag(config=True)
 # Can be a ContentsManager from notebook or jupyter_server, so Any will 
have to do for now
 contents_manager = traitlets.Any()
 


commit python-voila for openSUSE:Factory

2022-09-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-voila for openSUSE:Factory 
checked in at 2022-09-12 19:08:09

Comparing /work/SRC/openSUSE:Factory/python-voila (Old)
 and  /work/SRC/openSUSE:Factory/.python-voila.new.2083 (New)


Package is "python-voila"

Mon Sep 12 19:08:09 2022 rev:15 rq:1002583 version:0.3.6

Changes:

--- /work/SRC/openSUSE:Factory/python-voila/python-voila.changes
2022-07-26 19:44:43.493019225 +0200
+++ /work/SRC/openSUSE:Factory/.python-voila.new.2083/python-voila.changes  
2022-09-12 19:08:12.950530871 +0200
@@ -1,0 +2,6 @@
+Mon Sep 12 05:59:11 UTC 2022 - Steve Kowalik 
+
+- Add patch support-ipywidgets-8.patch:
+  * Support ipywidgets >= 8 
+
+---

New:

  support-ipywidgets-8.patch



Other differences:
--
++ python-voila.spec ++
--- /var/tmp/diff_new_pack.mBxwMH/_old  2022-09-12 19:08:13.526532490 +0200
+++ /var/tmp/diff_new_pack.mBxwMH/_new  2022-09-12 19:08:13.530532501 +0200
@@ -41,6 +41,9 @@
 Source: 
https://files.pythonhosted.org/packages/source/v/voila/voila-%{version}.tar.gz
 Source1:
https://github.com/voila-dashboards/voila/archive/refs/tags/v%{version}.tar.gz#/voila-%{version}-gh.tar.gz
 Source99:   python-voila-rpmlintrc
+# PATCH-FIX-UPSTREAM Support ipywidgets 8, based on
+# gh#voila-dashboards/voila#1193
+Patch0: support-ipywidgets-8.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module jupyter-packaging >= 0.10}
 BuildRequires:  %{python_module setuptools}
@@ -117,6 +120,7 @@
 sed -i '/nbclient/ s/,<0.6//' setup.cfg
 # '.' is now considered 'hidden', which is not allowed.
 sed -i 's|./jupyter.svg|jupyter.svg|' tests/notebooks/images.ipynb
+%patch0 -p1
 
 %build
 %python_build

++ support-ipywidgets-8.patch ++
Index: voila-0.3.6/tests/notebooks/output.ipynb
===
--- voila-0.3.6.orig/tests/notebooks/output.ipynb
+++ voila-0.3.6/tests/notebooks/output.ipynb
@@ -16,8 +16,9 @@
"Output()"
   ]
  },
+ "execution_count": 1,
  "metadata": {},
- "output_type": "display_data"
+ "output_type": "execute_result"
 }
],
"source": [
@@ -72,8 +73,9 @@
"Output()"
   ]
  },
+ "execution_count": 4,
  "metadata": {},
- "output_type": "display_data"
+ "output_type": "execute_result"
 }
],
"source": [
@@ -118,8 +120,9 @@
"Output()"
   ]
  },
+ "execution_count": 6,
  "metadata": {},
- "output_type": "display_data"
+ "output_type": "execute_result"
 }
],
"source": [
@@ -165,8 +168,9 @@
"Output()"
   ]
  },
+ "execution_count": 8,
  "metadata": {},
- "output_type": "display_data"
+ "output_type": "execute_result"
 }
],
"source": [
@@ -211,8 +215,9 @@
"Output()"
   ]
  },
+ "execution_count": 10,
  "metadata": {},
- "output_type": "display_data"
+ "output_type": "execute_result"
 }
],
"source": [
@@ -249,8 +254,9 @@
"Output()"
   ]
  },
+ "execution_count": 12,
  "metadata": {},
- "output_type": "display_data"
+ "output_type": "execute_result"
 }
],
"source": [
@@ -276,8 +282,9 @@
"Output()"
   ]
  },
+ "execution_count": 13,
  "metadata": {},
- "output_type": "display_data"
+ "output_type": "execute_result"
 }
],
"source": [
@@ -296,11 +303,20 @@
 "print('in outer')\n",
 "print('also in inner')"
]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {},
+   "outputs": [],
+   "source": []
   }
  ],
  "metadata": {
   "kernelspec": {
-   "language": "python"
+   "display_name": "Python 3 (ipykernel)",
+   "language": "python",
+   "name": "python3"
   },
   "language_info": {
"codemirror_mode": {
@@ -312,7 +328,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
-   "version": "3.7.3"
+   "version": "3.9.13"
   },
   "widgets": {
"application/vnd.jupyter.widget-state+json": {
@@ -772,5 +788,5 @@
   }
  },
  "nbformat": 4,
- "nbformat_minor": 2
+ "nbformat_minor": 4
 }


commit python-voila for openSUSE:Factory

2022-07-26 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-voila for openSUSE:Factory 
checked in at 2022-07-26 19:44:17

Comparing /work/SRC/openSUSE:Factory/python-voila (Old)
 and  /work/SRC/openSUSE:Factory/.python-voila.new.1533 (New)


Package is "python-voila"

Tue Jul 26 19:44:17 2022 rev:14 rq:990958 version:0.3.6

Changes:

--- /work/SRC/openSUSE:Factory/python-voila/python-voila.changes
2022-07-08 14:02:53.550514492 +0200
+++ /work/SRC/openSUSE:Factory/.python-voila.new.1533/python-voila.changes  
2022-07-26 19:44:43.493019225 +0200
@@ -1,0 +2,32 @@
+Sun Jul 24 23:45:15 UTC 2022 - Arun Persaud 
+
+- specfile:
+  * update python-jupyter-server requirement to 1.18
+
+- update to version 0.3.6:
+  * Enhancements made
++ adding nbextension path to voila config object #1167
+  (@dharmaquark)
+  * Bugs fixed
++ The cling tests appear to hang on OSX #1171 (@SylvainCorlay)
++ Fix default VOILA_WS_BASE_URL value in preheating mode #1141
+  (@vkaidalov-rft)
+  * Maintenance and upkeep improvements
++ Bump jquery-ui from 1.13.1 to 1.13.2 #1172 (@dependabot)
++ Bump moment from 2.29.1 to 2.29.4 #1166 (@dependabot)
++ Bump moment from 2.29.1 to 2.29.4 in /ui-tests #1165
+  (@dependabot)
++ Bump parse-url from 6.0.0 to 6.0.2 #1164 (@dependabot)
++ Update jupyter_server #1163 (@martinRenou)
++ Bump jpeg-js from 0.4.3 to 0.4.4 in /ui-tests #1162
+  (@dependabot)
++ Bump async from 2.6.3 to 2.6.4 in /ui-tests #1151 (@dependabot)
++ [tests] rerun failed tests 2 times in CI #1150 (@timkpaine)
++ Fix UI-tests detached script #1136 (@martinRenou)
++ Bump minimist from 1.2.5 to 1.2.6 in /ui-tests #1135
+  (@dependabot)
+  * Documentation improvements
++ Update deploy to Heroku instructions #1158 (@samharrison7)
++ Use pydata-sphinx-theme #1139 (@martinRenou)
+
+---

Old:

  voila-0.3.5-gh.tar.gz
  voila-0.3.5.tar.gz

New:

  voila-0.3.6-gh.tar.gz
  voila-0.3.6.tar.gz



Other differences:
--
++ python-voila.spec ++
--- /var/tmp/diff_new_pack.7uQ9FA/_old  2022-07-26 19:44:44.432873994 +0200
+++ /var/tmp/diff_new_pack.7uQ9FA/_new  2022-07-26 19:44:44.436873376 +0200
@@ -32,7 +32,7 @@
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:   python-voila%{psuffix}
-Version:0.3.5
+Version:0.3.6
 Release:0
 Summary:Plugin for serving read-only live Jupyter notebooks
 License:BSD-3-Clause
@@ -52,7 +52,7 @@
 Requires:   python-nbclient >= 0.4
 Requires:   python-websockets >= 9.0
 Requires:   (python-jupyter-client >= 6.1.3 with python-jupyter-client < 8)
-Requires:   (python-jupyter-server >= 0.3.0 with python-jupyter-server < 2)
+Requires:   (python-jupyter-server >= 1.18 with python-jupyter-server < 2)
 Requires:   (python-jupyterlab-server >= 2.3.0 with 
python-jupyterlab-server < 3)
 Requires:   (python-nbconvert >= 6.4.5 with python-nbconvert < 7)
 Requires:   (python-traitlets >= 5.0.3 with python-traitlets < 6)
@@ -69,8 +69,8 @@
 BuildRequires:  %{python_module matplotlib-web}
 BuildRequires:  %{python_module matplotlib}
 BuildRequires:  %{python_module pandas}
-BuildRequires:  %{python_module pytest-tornasync}
 BuildRequires:  %{python_module pytest-rerunfailures}
+BuildRequires:  %{python_module pytest-tornasync}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module voila = %{version}}
 %endif

++ voila-0.3.5-gh.tar.gz -> voila-0.3.6-gh.tar.gz ++
/work/SRC/openSUSE:Factory/python-voila/voila-0.3.5-gh.tar.gz 
/work/SRC/openSUSE:Factory/.python-voila.new.1533/voila-0.3.6-gh.tar.gz differ: 
char 13, line 1

++ voila-0.3.5-gh.tar.gz -> voila-0.3.6.tar.gz ++
/work/SRC/openSUSE:Factory/python-voila/voila-0.3.5-gh.tar.gz 
/work/SRC/openSUSE:Factory/.python-voila.new.1533/voila-0.3.6.tar.gz differ: 
char 4, line 1


commit python-voila for openSUSE:Factory

2022-07-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-voila for openSUSE:Factory 
checked in at 2022-07-08 14:02:45

Comparing /work/SRC/openSUSE:Factory/python-voila (Old)
 and  /work/SRC/openSUSE:Factory/.python-voila.new.1523 (New)


Package is "python-voila"

Fri Jul  8 14:02:45 2022 rev:13 rq:987758 version:0.3.5

Changes:

--- /work/SRC/openSUSE:Factory/python-voila/python-voila.changes
2022-06-16 18:22:22.240264140 +0200
+++ /work/SRC/openSUSE:Factory/.python-voila.new.1523/python-voila.changes  
2022-07-08 14:02:53.550514492 +0200
@@ -1,0 +2,5 @@
+Thu Jul  7 19:26:18 UTC 2022 - Ben Greiner 
+
+- Skip flaky tests, try a second time if more fail
+
+---



Other differences:
--
++ python-voila.spec ++
--- /var/tmp/diff_new_pack.HMZpal/_old  2022-07-08 14:02:54.030515064 +0200
+++ /var/tmp/diff_new_pack.HMZpal/_new  2022-07-08 14:02:54.034515068 +0200
@@ -70,6 +70,7 @@
 BuildRequires:  %{python_module matplotlib}
 BuildRequires:  %{python_module pandas}
 BuildRequires:  %{python_module pytest-tornasync}
+BuildRequires:  %{python_module pytest-rerunfailures}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module voila = %{version}}
 %endif
@@ -133,7 +134,9 @@
 %check
 export 
JUPYTER_PATH=%{_jupyter_prefix}:$PWD/tests/test_template/share/jupyter:$PWD/tests/skip_template/share/jupyter/
 export VOILA_TEST_DEBUG=1
-%pytest tests
+# very flaky in obs environments
+donttest="test_kernel_death or test_request_with_query"
+%pytest tests -k "not ($donttest)" --reruns 2 --reruns-delay 1
 %endif
 
 %if !%{with test}


commit python-voila for openSUSE:Factory

2022-06-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-voila for openSUSE:Factory 
checked in at 2022-06-16 18:21:01

Comparing /work/SRC/openSUSE:Factory/python-voila (Old)
 and  /work/SRC/openSUSE:Factory/.python-voila.new.1548 (New)


Package is "python-voila"

Thu Jun 16 18:21:01 2022 rev:12 rq:982895 version:0.3.5

Changes:

--- /work/SRC/openSUSE:Factory/python-voila/python-voila.changes
2022-06-06 11:10:59.555348444 +0200
+++ /work/SRC/openSUSE:Factory/.python-voila.new.1548/python-voila.changes  
2022-06-16 18:22:22.240264140 +0200
@@ -1,0 +2,6 @@
+Wed Jun 15 21:11:38 UTC 2022 - Ben Greiner 
+
+- Remove './' from test notebook - jupyter notebook refuses to
+  serve it as "hidden". -- gh#jupyter/notebook#6453
+
+---



Other differences:
--
++ python-voila.spec ++
--- /var/tmp/diff_new_pack.Hh4nnz/_old  2022-06-16 18:22:22.724264828 +0200
+++ /var/tmp/diff_new_pack.Hh4nnz/_new  2022-06-16 18:22:22.728264834 +0200
@@ -49,11 +49,11 @@
 BuildRequires:  jupyter-notebook-filesystem
 BuildRequires:  python-rpm-macros
 Requires:   jupyter-voila = %{version}
+Requires:   python-nbclient >= 0.4
 Requires:   python-websockets >= 9.0
 Requires:   (python-jupyter-client >= 6.1.3 with python-jupyter-client < 8)
 Requires:   (python-jupyter-server >= 0.3.0 with python-jupyter-server < 2)
 Requires:   (python-jupyterlab-server >= 2.3.0 with 
python-jupyterlab-server < 3)
-Requires:   python-nbclient >= 0.4
 Requires:   (python-nbconvert >= 6.4.5 with python-nbconvert < 7)
 Requires:   (python-traitlets >= 5.0.3 with python-traitlets < 6)
 BuildArch:  noarch
@@ -114,6 +114,8 @@
 tar xf %{SOURCE1} --strip-components=1 voila-%{version}/tests
 sed -i s/mistune.Renderer/nbconvert.vendor.mistune.Renderer/ voila/exporter.py
 sed -i '/nbclient/ s/,<0.6//' setup.cfg
+# '.' is now considered 'hidden', which is not allowed.
+sed -i 's|./jupyter.svg|jupyter.svg|' tests/notebooks/images.ipynb
 
 %build
 %python_build


commit python-voila for openSUSE:Factory

2022-06-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-voila for openSUSE:Factory 
checked in at 2022-06-06 11:10:48

Comparing /work/SRC/openSUSE:Factory/python-voila (Old)
 and  /work/SRC/openSUSE:Factory/.python-voila.new.1548 (New)


Package is "python-voila"

Mon Jun  6 11:10:48 2022 rev:11 rq:980928 version:0.3.5

Changes:

--- /work/SRC/openSUSE:Factory/python-voila/python-voila.changes
2022-06-05 21:28:40.801058445 +0200
+++ /work/SRC/openSUSE:Factory/.python-voila.new.1548/python-voila.changes  
2022-06-06 11:10:59.555348444 +0200
@@ -1,0 +2,5 @@
+Sun Jun  5 19:51:53 UTC 2022 - Ben Greiner 
+
+- Unpin nbclient <0.6: Tests pass with 0.6.4
+
+---



Other differences:
--
++ python-voila.spec ++
--- /var/tmp/diff_new_pack.z4KlWN/_old  2022-06-06 11:11:00.107349244 +0200
+++ /var/tmp/diff_new_pack.z4KlWN/_new  2022-06-06 11:11:00.111349249 +0200
@@ -53,7 +53,7 @@
 Requires:   (python-jupyter-client >= 6.1.3 with python-jupyter-client < 8)
 Requires:   (python-jupyter-server >= 0.3.0 with python-jupyter-server < 2)
 Requires:   (python-jupyterlab-server >= 2.3.0 with 
python-jupyterlab-server < 3)
-Requires:   (python-nbclient >= 0.4 with python-nbclient < 0.6)
+Requires:   python-nbclient >= 0.4
 Requires:   (python-nbconvert >= 6.4.5 with python-nbconvert < 7)
 Requires:   (python-traitlets >= 5.0.3 with python-traitlets < 6)
 BuildArch:  noarch
@@ -113,6 +113,7 @@
 %setup -q -n voila-%{version}
 tar xf %{SOURCE1} --strip-components=1 voila-%{version}/tests
 sed -i s/mistune.Renderer/nbconvert.vendor.mistune.Renderer/ voila/exporter.py
+sed -i '/nbclient/ s/,<0.6//' setup.cfg
 
 %build
 %python_build


commit python-voila for openSUSE:Factory

2022-06-05 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-voila for openSUSE:Factory 
checked in at 2022-06-05 21:28:35

Comparing /work/SRC/openSUSE:Factory/python-voila (Old)
 and  /work/SRC/openSUSE:Factory/.python-voila.new.1548 (New)


Package is "python-voila"

Sun Jun  5 21:28:35 2022 rev:10 rq:980882 version:0.3.5

Changes:

--- /work/SRC/openSUSE:Factory/python-voila/python-voila.changes
2022-01-08 23:24:33.606277726 +0100
+++ /work/SRC/openSUSE:Factory/.python-voila.new.1548/python-voila.changes  
2022-06-05 21:28:40.801058445 +0200
@@ -1,0 +2,87 @@
+Sun Jun  5 11:18:43 UTC 2022 - Ben Greiner 
+
+- Update to version 0.3.5:
+  * feat: support all kernel ServerConnection options #1129
+(@maartenbreddels)
+- Release 0.3.4:
+  * feat: make request info available in env for preheated kernels
+#1109 (@mariobuikhuizen)
+
+---
+Fri Mar 18 17:21:06 UTC 2022 - Arun Persaud 
+
+- update to version 0.3.3:
+  * Enhancements made
++ Add theme handling to error pages #1108 (@martinRenou)
++ Add timeout on the control comm target #1106 (@martinRenou)
+  * Documentation improvements
++ Remove extra tick from the Changelog #1099 (@martinRenou)
+
+---
+Sun Feb 27 01:04:44 UTC 2022 - Arun Persaud 
+
+- specfile
+  * require jupyterlab-server for tests
+
+- update to version 0.3.2:
+  * Enhancements made
++ JupyterLab Voila preview extension: Automatically save Notebook
+  before refreshing the preview #1094 (@legendb317)
++ Update JupyterLab extension logo #1092 (@martinRenou)
++ Handle JupyterLab custom themes #1089 (@martinRenou)
+  * Bugs fixed
++ Bump css-loader and `style-loader" #1096 (@trungleduc)
+  * Maintenance and upkeep improvements
++ Bump url-parse from 1.5.3 to 1.5.7 in /ui-tests #1097
+  (@dependabot)
++ Bump follow-redirects from 1.14.7 to 1.14.8 in /ui-tests #1093
+  (@dependabot)
++ Bump simple-get from 3.1.0 to 3.1.1 in /ui-tests #1091
+  (@dependabot)
++ Add script to automatically reset the stable branch on release
+  #1085 (@jtpio)
++ Add bot for updating Galata references #1083 (@martinRenou)
+
+- changes from version 0.3.1:
+  * Enhancements made
++ Allow all lab templates to use the lab theme #1064
+  (@martinRenou)
++ Fix element style display #1058 (@martinRenou)
++ Add more Jinja macros #1057 (@martinRenou)
++ Lab template: fix body tag #1053 (@martinRenou)
++ Implement async generator based Voila get handler #1025
+  (@davidbrochart)
++ Feature: fetch all widgets in one single comm message using the
+  control channel #766 (@maartenbreddels)
+  * Bugs fixed
++ Fix file redirect error #1073 (@trungleduc)
++ Lab template: fix body tag #1053 (@martinRenou)
+  * Maintenance and upkeep improvements
++ Bump node-fetch from 2.6.1 to 2.6.7 #1079 (@dependabot)
++ Bump node-fetch from 2.6.1 to 2.6.7 in /ui-tests #1078
+  (@dependabot)
++ Bump nanoid from 3.1.25 to 3.2.0 #1070 (@dependabot)
++ Bump nanoid from 3.1.25 to 3.2.0 in /ui-tests #1069
+  (@dependabot)
++ Bump trim-off-newlines from 1.0.1 to 1.0.3 #1066 (@dependabot)
++ Fix Binder badge PR comment being overwritten #1065 (@jtpio)
++ Automatically download labvariables CSS instead of shipping them
+  #1062 (@martinRenou)
++ Remove traitlets 4 test, add missing traitlets dependency and
+  drop Python 3.6 support #1060 (@martinRenou)
++ Bump follow-redirects from 1.14.3 to 1.14.7 in /ui-tests #1059
+  (@dependabot)
++ Try fixing UI tests #1054 (@martinRenou)
++ UI-tests: Update ipympl screenshots #1048 (@martinRenou)
++ Turn off debug mode and remove warnings for
+  many_iopub_messages_test.py #1045 (@trungleduc)
++ Use maintainer-tools base setup action, update Python versions
+  on CI #1043 (@jtpio)
++ Use nbclient to create a new kernel client #860 (@davidbrochart)
+  * Documentation improvements
++ Fix environment.yml file location in the README #1052
+  (@martinRenou)
+  * Other merged PRs
++ Pin ipympl to 0.8.7 #1068 (@trungleduc)
+
+---

Old:

  voila-0.3.0-gh.tar.gz
  voila-0.3.0.tar.gz

New:

  voila-0.3.5-gh.tar.gz
  voila-0.3.5.tar.gz



Other differences:
--
++ python-voila.spec ++
--- /var/tmp/diff_new_pack.hlyR0d/_old  2022-06-05 21:28:42.637060916 +0200
+++ /var/tmp/diff_new_pack.hlyR0d/_new  2022-06-05 21:28:42.657060942 +0200
@@ -24,24 +24,24 @@
 %define psuffix %{nil}
 %bcond_with test
 %endif
-
 %if 

commit python-voila for openSUSE:Factory

2022-01-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-voila for openSUSE:Factory 
checked in at 2022-01-08 23:23:52

Comparing /work/SRC/openSUSE:Factory/python-voila (Old)
 and  /work/SRC/openSUSE:Factory/.python-voila.new.1892 (New)


Package is "python-voila"

Sat Jan  8 23:23:52 2022 rev:9 rq:944832 version:0.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-voila/python-voila.changes
2020-04-07 10:31:42.766529176 +0200
+++ /work/SRC/openSUSE:Factory/.python-voila.new.1892/python-voila.changes  
2022-01-08 23:24:33.606277726 +0100
@@ -1,0 +2,9 @@
+Fri Jan  7 21:37:33 UTC 2022 - Ben Greiner 
+
+- Update to 0.3.0:
+  * See CHANGELOG.md for full changelog since 0.1.20
+  * Compatibility with updated jupyterlab and notebook
+- Test in multibuild
+- Use correct jinja2 test templates
+
+---

Old:

  voila-0.1.21.tar.gz

New:

  _multibuild
  python-voila-rpmlintrc
  voila-0.3.0-gh.tar.gz
  voila-0.3.0.tar.gz



Other differences:
--
++ python-voila.spec ++
--- /var/tmp/diff_new_pack.qDDr0X/_old  2022-01-08 23:24:34.522278474 +0100
+++ /var/tmp/diff_new_pack.qDDr0X/_new  2022-01-08 23:24:34.526278477 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package python-voila
+# spec file
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,33 +16,61 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
+
+%{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
-Name:   python-voila
-Version:0.1.21
+Name:   python-voila%{psuffix}
+Version:0.3.0
 Release:0
 Summary:Plugin for serving read-only live Jupyter notebooks
 License:BSD-3-Clause
-URL:https://github.com/QuantStack/voila
+URL:https://github.com/voila-dashboards/voila
 Source: 
https://files.pythonhosted.org/packages/source/v/voila/voila-%{version}.tar.gz
-BuildRequires:  %{python_module Pygments >= 2.4.1}
-BuildRequires:  %{python_module async_generator}
-BuildRequires:  %{python_module jupyter-server >= 0.1.0}
-BuildRequires:  %{python_module jupyterlab-pygments >= 0.1.0}
-BuildRequires:  %{python_module nbconvert >= 5.5}
-BuildRequires:  %{python_module pytest-tornasync}
-BuildRequires:  %{python_module pytest}
+Source1:
https://github.com/voila-dashboards/voila/archive/refs/tags/v%{version}.tar.gz#/voila-%{version}-gh.tar.gz
+Source99:   python-voila-rpmlintrc
+BuildRequires:  %{python_module jupyter-packaging >= 0.10}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  jupyter-jupyterlab-filesystem
 BuildRequires:  jupyter-notebook-filesystem
 BuildRequires:  python-rpm-macros
 Requires:   jupyter-voila = %{version}
-Requires:   python-Pygments >= 2.4.1
-Requires:   python-async_generator
-Requires:   python-jupyter-server >= 0.1.0
-Requires:   python-jupyterlab-pygments >= 0.1.0
-Requires:   python-nbconvert >= 5.5
-Requires:   python-notebook
+Requires:   python-jupyter-client >= 6.1.3
+Requires:   python-jupyter-server >= 0.3.0
+Requires:   python-nbclient >= 0.4.0
+Requires:   python-nbconvert >= 6.0.0
+Requires:   python-websockets >= 9.0
+%if %{with libalternatives}
+Requires:   alts
+BuildRequires:  alts
+%else
+Requires(post): update-alternatives
+Requires(postun):update-alternatives
+%endif
+%if %{with test}
+BuildRequires:  %{python_module ipywidgets}
+BuildRequires:  %{python_module matplotlib-web}
+BuildRequires:  %{python_module matplotlib}
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module pandas}
+BuildRequires:  %{python_module pytest-tornasync}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module voila = %{version}}
+%endif
 BuildArch:  noarch
 %python_subpackages
 
@@ -63,9 +91,6 @@
 
 %package -n jupyter-voila
 Summary:Plugin for serving read-only live Jupyter notebooksmacros
-Requires:   jupyter-jupyter-server >= 0.0.3
-Requires:   jupyter-nbconvert >= 5.4
-Requires:   jupyter-notebook
 Requires:   python3-voila = %{version}
 
 %description -n jupyter-voila
@@ -85,32 +110,54 @@
 
 %prep
 %setup -q -n