Accepting request 931266 from 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. (forwarded request 931265 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/931266
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nbdime?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2021-11-13 21:48:42 +00:00 committed by Git OBS Bridge
commit c5786f7b42
4 changed files with 22 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e28da1d79344a4ae2c8ecba0ee3b849909bba5403d913a091e6d430c55ead944
size 5207475

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea4ddf919e3035800ef8bd5552b814522207cb154ca7512565e4539a54c74dbf
size 5308789

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Nov 13 15:34:18 UTC 2021 - Ben Greiner <code@bnavigator.de>
- 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 <code@bnavigator.de> Sat Apr 17 15:22:45 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -16,11 +16,11 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1 %define skip_python2 1
%define mainver 3.0.0 %define mainver 3.1.1
%define jupver 6.1.0 %define jupver 6.1.2
%define labver 2.1.0 %define labver 2.1.1
Name: python-nbdime Name: python-nbdime
Version: %{mainver} Version: %{mainver}
Release: 0 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 GitPython >= 2.1.6}
BuildRequires: %{python_module Jinja2 >= 2.9} BuildRequires: %{python_module Jinja2 >= 2.9}
BuildRequires: %{python_module Pygments} BuildRequires: %{python_module Pygments}
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module colorama} BuildRequires: %{python_module colorama}
BuildRequires: %{python_module jupyter-server-mathjax >= 0.2.2} BuildRequires: %{python_module jupyter-server-mathjax >= 0.2.2}
BuildRequires: %{python_module jupyter-server} BuildRequires: %{python_module jupyter-server}
BuildRequires: %{python_module nbformat} BuildRequires: %{python_module nbformat}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module requests} BuildRequires: %{python_module requests}
BuildRequires: %{python_module six}
BuildRequires: %{python_module tornado} BuildRequires: %{python_module tornado}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: jupyter-jupyterlab-filesystem BuildRequires: jupyter-jupyterlab-filesystem
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# SECTION test requirements (including jupyter_server[test]) # SECTION test requirements
BuildRequires: %{python_module ipykernel} BuildRequires: %{python_module jupyter-server-test}
BuildRequires: %{python_module jsonschema} BuildRequires: %{python_module jsonschema}
BuildRequires: %{python_module notebook} 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-mock}
BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest-timeout}
BuildRequires: %{python_module pytest-tornado} BuildRequires: %{python_module pytest-tornado}
BuildRequires: %{python_module pytest-tornasync}
BuildRequires: %{python_module pytest}
# /SECTION # /SECTION
Requires: jupyter-nbdime = %{jupver} Requires: jupyter-nbdime = %{jupver}
Requires: python-GitPython >= 2.1.6 Requires: python-GitPython >= 2.1.6
@ -62,7 +60,6 @@ Requires: python-jupyter-server
Requires: python-jupyter-server-mathjax >= 0.2.2 Requires: python-jupyter-server-mathjax >= 0.2.2
Requires: python-nbformat Requires: python-nbformat
Requires: python-requests Requires: python-requests
Requires: python-six
Requires: python-tornado Requires: python-tornado
Conflicts: python-jupyter_nbdime-git < 1.0.5 Conflicts: python-jupyter_nbdime-git < 1.0.5
Conflicts: python-jupyter_nbdime-hg < 1.0.5 Conflicts: python-jupyter_nbdime-hg < 1.0.5