From 9e0f7829d79d68abfda726fd759ca8953285f221ac6f908cbd2757f4c5cdf090 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sat, 13 Nov 2021 15:59:46 +0000 Subject: [PATCH] Accepting request 931265 from home:bnavigator:branches:devel:languages:python:jupyter - Update to python 3.1.1 / jupyter 6.1.2 / jupyterlab 2.1.1 * Removed py2 compatibility code. * Fixed issue with certain output diffs in web view. - Fixes CVE-2021-41134, CWE-75, CWE-80, boo#1192355 * Improper handling of user controlled input caused a stored cross-site scripting (XSS) vulnerability. All previous versions of nbdime are affected. OBS-URL: https://build.opensuse.org/request/show/931265 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=23 --- nbdime-3.0.0-py2.py3-none-any.whl | 3 --- nbdime-3.1.1-py2.py3-none-any.whl | 3 +++ python-nbdime.changes | 11 +++++++++++ python-nbdime.spec | 19 ++++++++----------- 4 files changed, 22 insertions(+), 14 deletions(-) delete mode 100644 nbdime-3.0.0-py2.py3-none-any.whl create mode 100644 nbdime-3.1.1-py2.py3-none-any.whl diff --git a/nbdime-3.0.0-py2.py3-none-any.whl b/nbdime-3.0.0-py2.py3-none-any.whl deleted file mode 100644 index 0e07a8e..0000000 --- a/nbdime-3.0.0-py2.py3-none-any.whl +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e28da1d79344a4ae2c8ecba0ee3b849909bba5403d913a091e6d430c55ead944 -size 5207475 diff --git a/nbdime-3.1.1-py2.py3-none-any.whl b/nbdime-3.1.1-py2.py3-none-any.whl new file mode 100644 index 0000000..1797a12 --- /dev/null +++ b/nbdime-3.1.1-py2.py3-none-any.whl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea4ddf919e3035800ef8bd5552b814522207cb154ca7512565e4539a54c74dbf +size 5308789 diff --git a/python-nbdime.changes b/python-nbdime.changes index 12f113e..77be50d 100644 --- a/python-nbdime.changes +++ b/python-nbdime.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sat Nov 13 15:34:18 UTC 2021 - Ben Greiner + +- Update to python 3.1.1 / jupyter 6.1.2 / jupyterlab 2.1.1 + * Removed py2 compatibility code. + * Fixed issue with certain output diffs in web view. +- Fixes CVE-2021-41134, CWE-75, CWE-80, boo#1192355 + * Improper handling of user controlled input caused a stored + cross-site scripting (XSS) vulnerability. All previous versions + of nbdime are affected. + ------------------------------------------------------------------- Sat Apr 17 15:22:45 UTC 2021 - Ben Greiner diff --git a/python-nbdime.spec b/python-nbdime.spec index da428b1..db10c85 100644 --- a/python-nbdime.spec +++ b/python-nbdime.spec @@ -16,11 +16,11 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -%define mainver 3.0.0 -%define jupver 6.1.0 -%define labver 2.1.0 +%define mainver 3.1.1 +%define jupver 6.1.2 +%define labver 2.1.1 Name: python-nbdime Version: %{mainver} Release: 0 @@ -31,27 +31,25 @@ Source: https://files.pythonhosted.org/packages/py2.py3/n/nbdime/nbdime- BuildRequires: %{python_module GitPython >= 2.1.6} BuildRequires: %{python_module Jinja2 >= 2.9} BuildRequires: %{python_module Pygments} +BuildRequires: %{python_module base >= 3.6} BuildRequires: %{python_module colorama} BuildRequires: %{python_module jupyter-server-mathjax >= 0.2.2} BuildRequires: %{python_module jupyter-server} BuildRequires: %{python_module nbformat} BuildRequires: %{python_module pip} BuildRequires: %{python_module requests} -BuildRequires: %{python_module six} BuildRequires: %{python_module tornado} BuildRequires: fdupes BuildRequires: jupyter-jupyterlab-filesystem BuildRequires: python-rpm-macros -# SECTION test requirements (including jupyter_server[test]) -BuildRequires: %{python_module ipykernel} +# SECTION test requirements +BuildRequires: %{python_module jupyter-server-test} BuildRequires: %{python_module jsonschema} BuildRequires: %{python_module notebook} -BuildRequires: %{python_module pytest-console-scripts} +BuildRequires: %{python_module pytest >= 3.6} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest-tornado} -BuildRequires: %{python_module pytest-tornasync} -BuildRequires: %{python_module pytest} # /SECTION Requires: jupyter-nbdime = %{jupver} Requires: python-GitPython >= 2.1.6 @@ -62,7 +60,6 @@ Requires: python-jupyter-server Requires: python-jupyter-server-mathjax >= 0.2.2 Requires: python-nbformat Requires: python-requests -Requires: python-six Requires: python-tornado Conflicts: python-jupyter_nbdime-git < 1.0.5 Conflicts: python-jupyter_nbdime-hg < 1.0.5