Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jupyter-server for
openSUSE:Factory checked in at 2022-01-31 22:56:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter-server (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter-server.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter-server"
Mon Jan 31 22:56:56 2022 rev:22 rq:949904 version:1.13.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter-server/python-jupyter-server.changes
2022-01-19 00:35:04.666285440 +0100
+++
/work/SRC/openSUSE:Factory/.python-jupyter-server.new.1898/python-jupyter-server.changes
2022-01-31 22:57:24.401547323 +0100
@@ -1,0 +2,9 @@
+Sat Jan 29 19:35:29 UTC 2022 - Ben Greiner <[email protected]>
+
+- Update to 1.13.4
+ * Fix nbconvert handler run_sync() #667 (@davidbrochart)
+- Use pytest-timeout and flaky to rerun flaky failing tests
+- Use pytest-xdist for process control so that the worker does not
+ randomly hang at the end of the pytest run.
+
+-------------------------------------------------------------------
Old:
----
jupyter_server-1.13.3.tar.gz
New:
----
jupyter_server-1.13.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter-server.spec ++++++
--- /var/tmp/diff_new_pack.GI51L7/_old 2022-01-31 22:57:25.017543176 +0100
+++ /var/tmp/diff_new_pack.GI51L7/_new 2022-01-31 22:57:25.021543148 +0100
@@ -35,7 +35,7 @@
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-jupyter-server%{psuffix}
-Version: 1.13.3
+Version: 1.13.4
Release: 0
Summary: The backend to Jupyter web applications
License: BSD-3-Clause
@@ -54,7 +54,9 @@
BuildRequires: %{python_module jupyter-server-test = %{version}}
# https://github.com/jupyter-server/jupyter_server/issues/666
BuildRequires: %{python_module jupyter-client >= 7.1.1}
+BuildRequires: %{python_module flaky}
BuildRequires: %{python_module pytest-timeout}
+BuildRequires: %{python_module pytest-xdist}
%endif
Requires: python >= 3.7
Requires: python-Jinja2
@@ -146,7 +148,8 @@
echo "WARNING: Not a clean test environment."
echo "You might need to delete ~/.local/share/jupyter in order to avoid
test failures."
fi
-%pytest jupyter_server --timeout 60 -p no:threadexception -p
no:unraisableexception
+# pytest-xdist for process control so that the worker does not indefinitely
hang after success, no parallel tests
+%pytest jupyter_server --timeout 60 --force-flaky --max-runs=3
--no-flaky-report -n 1
%endif
%if ! %{with test}
++++++ jupyter_server-1.13.3.tar.gz -> jupyter_server-1.13.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_server-1.13.3/CHANGELOG.md
new/jupyter_server-1.13.4/CHANGELOG.md
--- old/jupyter_server-1.13.3/CHANGELOG.md 2022-01-14 19:51:53.000000000
+0100
+++ new/jupyter_server-1.13.4/CHANGELOG.md 2022-01-22 00:40:52.000000000
+0100
@@ -4,6 +4,22 @@
<!-- <START NEW CHANGELOG ENTRY> -->
+## 1.13.4
+
+([Full
Changelog](https://github.com/jupyter-server/jupyter_server/compare/v1.13.3...d2015290b80bfdaa6ebb990cdccc0155921696f5))
+
+### Bugs fixed
+
+- Fix nbconvert handler run_sync()
[#667](https://github.com/jupyter-server/jupyter_server/pull/667)
([@davidbrochart](https://github.com/davidbrochart))
+
+### Contributors to this release
+
+([GitHub contributors page for this
release](https://github.com/jupyter-server/jupyter_server/graphs/contributors?from=2022-01-14&to=2022-01-21&type=c))
+
+[@codecov-commenter](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server+involves%3Acodecov-commenter+updated%3A2022-01-14..2022-01-21&type=Issues)
|
[@davidbrochart](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server+involves%3Adavidbrochart+updated%3A2022-01-14..2022-01-21&type=Issues)
|
[@Zsailer](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server+involves%3AZsailer+updated%3A2022-01-14..2022-01-21&type=Issues)
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
## 1.13.3
([Full
Changelog](https://github.com/jupyter-server/jupyter_server/compare/v1.13.2...ee01e1955c8881b46075c78f1fbc932fa234bc72))
@@ -22,8 +38,6 @@
[@Zsailer](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server+involves%3AZsailer+updated%3A2022-01-12..2022-01-14&type=Issues)
-<!-- <END NEW CHANGELOG ENTRY> -->
-
## 1.13.2
([Full
Changelog](https://github.com/jupyter-server/jupyter_server/compare/v1.13.1...362d100ff24c1da7ef4cbd171c213e9570e8c289))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_server-1.13.3/PKG-INFO
new/jupyter_server-1.13.4/PKG-INFO
--- old/jupyter_server-1.13.3/PKG-INFO 2022-01-14 19:52:27.960275700 +0100
+++ new/jupyter_server-1.13.4/PKG-INFO 2022-01-22 00:41:22.290903000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: jupyter_server
-Version: 1.13.3
+Version: 1.13.4
Summary: The backend???i.e. core services, APIs, and REST endpoints???to
Jupyter web applications.
Home-page: https://jupyter.org
Author: Jupyter Development Team
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_server-1.13.3/jupyter_server/_version.py
new/jupyter_server-1.13.4/jupyter_server/_version.py
--- old/jupyter_server-1.13.3/jupyter_server/_version.py 2022-01-14
19:52:13.000000000 +0100
+++ new/jupyter_server-1.13.4/jupyter_server/_version.py 2022-01-22
00:41:10.000000000 +0100
@@ -2,5 +2,5 @@
store the current version info of the server.
"""
-version_info = (1, 13, 3, "", "")
+version_info = (1, 13, 4, "", "")
__version__ = ".".join(map(str, version_info[:3])) + "".join(version_info[3:])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_server-1.13.3/jupyter_server/nbconvert/handlers.py
new/jupyter_server-1.13.4/jupyter_server/nbconvert/handlers.py
--- old/jupyter_server-1.13.3/jupyter_server/nbconvert/handlers.py
2022-01-14 19:51:53.000000000 +0100
+++ new/jupyter_server-1.13.4/jupyter_server/nbconvert/handlers.py
2022-01-22 00:40:52.000000000 +0100
@@ -119,7 +119,7 @@
# Exporting can take a while, delegate to a thread so we don't block
the event loop
try:
output, resources = await run_sync(
- exporter.from_notebook_node(nb, resources=resource_dict)
+ lambda: exporter.from_notebook_node(nb,
resources=resource_dict)
)
except Exception as e:
self.log.exception("nbconvert failed: %s", e)
@@ -146,7 +146,7 @@
SUPPORTED_METHODS = ("POST",)
@web.authenticated
- def post(self, format):
+ async def post(self, format):
exporter = get_exporter(format, config=self.config)
model = self.get_json_body()
@@ -154,14 +154,14 @@
nbnode = from_dict(model["content"])
try:
- output, resources = exporter.from_notebook_node(
- nbnode,
- resources={
- "metadata": {
- "name": name[: name.rfind(".")],
+ output, resources = await run_sync(
+ lambda: exporter.from_notebook_node(
+ nbnode,
+ resources={
+ "metadata": {"name": name[: name.rfind(".")]},
+ "config_dir": self.application.settings["config_dir"],
},
- "config_dir": self.application.settings["config_dir"],
- },
+ )
)
except Exception as e:
raise web.HTTPError(500, "nbconvert failed: %s" % e) from e
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_server-1.13.3/jupyter_server.egg-info/PKG-INFO
new/jupyter_server-1.13.4/jupyter_server.egg-info/PKG-INFO
--- old/jupyter_server-1.13.3/jupyter_server.egg-info/PKG-INFO 2022-01-14
19:52:27.000000000 +0100
+++ new/jupyter_server-1.13.4/jupyter_server.egg-info/PKG-INFO 2022-01-22
00:41:22.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: jupyter-server
-Version: 1.13.3
+Version: 1.13.4
Summary: The backend???i.e. core services, APIs, and REST endpoints???to
Jupyter web applications.
Home-page: https://jupyter.org
Author: Jupyter Development Team
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_server-1.13.3/pyproject.toml
new/jupyter_server-1.13.4/pyproject.toml
--- old/jupyter_server-1.13.3/pyproject.toml 2022-01-14 19:52:13.000000000
+0100
+++ new/jupyter_server-1.13.4/pyproject.toml 2022-01-22 00:41:10.000000000
+0100
@@ -18,7 +18,7 @@
skip = ["check-links"]
[tool.tbump.version]
-current = "1.13.3"
+current = "1.13.4"
regex = '''
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
((?P<channel>a|b|rc|.dev)(?P<release>\d+))?