Accepting request 982746 from devel:languages:python:jupyter
- Update to 1.17.1 * Address security advisory GHSA-q874-g24w-4q9g - boo#1200548, CVE-2022-29241 OBS-URL: https://build.opensuse.org/request/show/982746 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-server?expand=0&rev=24
This commit is contained in:
commit
60351732c2
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:56bd6f580d1f46b62294990e8e78651025729f5d3fc798f10f2c03f0cdcbf28d
|
|
||||||
size 440539
|
|
3
jupyter_server-1.17.1.tar.gz
Normal file
3
jupyter_server-1.17.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a36781656645ae17b12819a49ace377c045bf633823b3e4cd4b0c88c01e7711b
|
||||||
|
size 449682
|
@ -1,7 +1,48 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 14 14:19:00 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 1.17.1
|
||||||
|
* Address security advisory GHSA-q874-g24w-4q9g
|
||||||
|
- boo#1200548, CVE-2022-29241
|
||||||
|
- Release 1.17.0
|
||||||
|
* Add the root_dir value to the logging message in case of non
|
||||||
|
compliant preferred_dir #804 (@echarles)
|
||||||
|
* missing required arguments in utils.fetch #798 (@minrk)
|
||||||
|
* Add helper jobs for branch protection #797 (@blink1073)
|
||||||
|
* [pre-commit.ci] pre-commit autoupdate #793
|
||||||
|
(@pre-commit-ci[bot])
|
||||||
|
* Update branch references and links #791 (@blink1073)
|
||||||
|
- Release notes for 1.16.0
|
||||||
|
* add hook to observe pending sessions #751 (@Zsailer)
|
||||||
|
* Add max-age Cache-Control header to kernel logos #760
|
||||||
|
(@divyansshhh)
|
||||||
|
* Regression in connection URL calcuation in ServerApp #761
|
||||||
|
(@jhamet93)
|
||||||
|
* Include explicit package data #757 (@blink1073)
|
||||||
|
* Ensure terminal cwd exists #755 (@fcollonval)
|
||||||
|
* make 'cwd' param for TerminalManager absolute #749 (@rccern)
|
||||||
|
* wait to cleanup kernels after kernel is finished pending #748
|
||||||
|
(@Zsailer)
|
||||||
|
* Skip jsonschema in CI #766 (@blink1073)
|
||||||
|
* Remove redundant job and problematic check #765 (@blink1073)
|
||||||
|
* Update pre-commit #764 (@blink1073)
|
||||||
|
* Install pre-commit automatically #763 (@blink1073)
|
||||||
|
* Add pytest opts and use isort #762 (@blink1073)
|
||||||
|
* Ensure minimal nbconvert support jinja2 v2 & v3 #756
|
||||||
|
(@fcollonval)
|
||||||
|
* Fix error handler in simple extension examples #750
|
||||||
|
(@andreyvelich)
|
||||||
|
* Clean up workflows #747 (@blink1073)
|
||||||
|
* Remove Redundant Dir_Exists Invocation When Creating New Files
|
||||||
|
with ContentsManager #720 (@jhamet93)
|
||||||
|
* Handle importstring pre/post save hooks #754 (@dleen)
|
||||||
|
- Remove extra code in check section: Python flavored alternatives
|
||||||
|
have been merged into python-rpm-macros
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 23 18:53:06 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
Wed Mar 23 18:53:06 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
- Update to verson 1.15.6
|
- Update to version 1.15.6
|
||||||
* Missing warning when no authorizer in found ZMQ handlers #744
|
* Missing warning when no authorizer in found ZMQ handlers #744
|
||||||
(@Zsailer)
|
(@Zsailer)
|
||||||
- Release notes for 1.15.5
|
- Release notes for 1.15.5
|
||||||
|
@ -30,17 +30,14 @@
|
|||||||
%else
|
%else
|
||||||
%bcond_with libalternatives
|
%bcond_with libalternatives
|
||||||
%endif
|
%endif
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
Name: python-jupyter-server%{psuffix}
|
Name: python-jupyter-server%{psuffix}
|
||||||
Version: 1.15.6
|
Version: 1.17.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The backend to Jupyter web applications
|
Summary: The backend to Jupyter web applications
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/jupyter-server/jupyter_server
|
URL: https://jupyter-server.readthedocs.io
|
||||||
# need the release tarball for the static stylesheets
|
Source: https://files.pythonhosted.org/packages/source/j/jupyter-server/jupyter_server-%{version}.tar.gz
|
||||||
Source: https://github.com/jupyter-server/jupyter_server/releases/download/v%{version}/jupyter_server-%{version}.tar.gz
|
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
BuildRequires: %{python_module jupyter_packaging}
|
BuildRequires: %{python_module jupyter_packaging}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@ -53,22 +50,21 @@ Requires: python-Jinja2
|
|||||||
Requires: python-Send2Trash
|
Requires: python-Send2Trash
|
||||||
Requires: python-anyio >= 3.1.0
|
Requires: python-anyio >= 3.1.0
|
||||||
Requires: python-argon2-cffi
|
Requires: python-argon2-cffi
|
||||||
Requires: python-jupyter-client >= 6.1.1
|
Requires: python-jupyter-client >= 6.1.12
|
||||||
Requires: python-jupyter-core >= 4.6.0
|
Requires: python-jupyter-core >= 4.7.0
|
||||||
Requires: python-nbconvert
|
Requires: python-nbconvert >= 6.4.4
|
||||||
Requires: python-nbformat >= 5.2.0
|
Requires: python-nbformat >= 5.2.0
|
||||||
Requires: python-packaging
|
Requires: python-packaging
|
||||||
Requires: python-prometheus_client
|
Requires: python-prometheus_client
|
||||||
Requires: python-pyzmq >= 17
|
Requires: python-pyzmq >= 17
|
||||||
Requires: python-terminado >= 0.8.3
|
Requires: python-terminado >= 0.8.3
|
||||||
Requires: python-tornado >= 6.1
|
Requires: python-tornado >= 6.1
|
||||||
Requires: python-traitlets >= 5
|
Requires: python-traitlets >= 5.1
|
||||||
Requires: python-websocket-client
|
Requires: python-websocket-client
|
||||||
Provides: python-jupyter_server = %{version}-%{release}
|
Provides: python-jupyter_server = %{version}-%{release}
|
||||||
Obsoletes: python-jupyter_server < %{version}-%{release}
|
Obsoletes: python-jupyter_server < %{version}-%{release}
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module flaky}
|
BuildRequires: %{python_module flaky}
|
||||||
BuildRequires: %{python_module jupyter-client >= 6.1.1}
|
|
||||||
BuildRequires: %{python_module jupyter-server-test = %{version}}
|
BuildRequires: %{python_module jupyter-server-test = %{version}}
|
||||||
BuildRequires: %{python_module pytest-timeout}
|
BuildRequires: %{python_module pytest-timeout}
|
||||||
BuildRequires: %{python_module pytest-xdist}
|
BuildRequires: %{python_module pytest-xdist}
|
||||||
@ -109,6 +105,10 @@ Metapackage for the jupyter_server[test] requirement specifier
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n jupyter_server-%{version}
|
%setup -q -n jupyter_server-%{version}
|
||||||
|
sed -i pyproject.toml \
|
||||||
|
-e 's/--color=yes//' \
|
||||||
|
-e '/filterwarnings/,/]/ {/error/ a \ "ignore:Module already imported so cannot be rewritten",
|
||||||
|
}'
|
||||||
|
|
||||||
%if ! %{with test}
|
%if ! %{with test}
|
||||||
%build
|
%build
|
||||||
@ -122,30 +122,13 @@ Metapackage for the jupyter_server[test] requirement specifier
|
|||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
%{python_expand # provide u-a entrypoints in the correct flavor version -- installed packages and jupyter-server
|
|
||||||
mkdir -p build/xdgflavorconfig
|
|
||||||
export XDG_CONFIG_HOME=$PWD/build/xdgflavorconfig
|
|
||||||
if [ -d %{_datadir}/libalternatives/ ]; then
|
|
||||||
for b in %{_datadir}/libalternatives/*; do
|
|
||||||
if [ -e "${b}/%{$python_version_nodots}.conf" ]; then
|
|
||||||
alts -n $(basename ${b}) -p %{$python_version_nodots}
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
mkdir -p build/testbin
|
|
||||||
for bin in %{_bindir}/*-%{$python_bin_suffix}; do
|
|
||||||
# four percent into 1 by rpm/python expansions
|
|
||||||
ln -s ${bin} build/testbin/$(basename ${bin%%%%-%{$python_bin_suffix}})
|
|
||||||
done
|
|
||||||
}
|
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
export PATH=$PWD/build/testbin:$PATH
|
|
||||||
if [ -e ~/.local/share/jupyter ]; then
|
if [ -e ~/.local/share/jupyter ]; then
|
||||||
echo "WARNING: Not a clean test environment."
|
echo "WARNING: Not a clean test environment."
|
||||||
echo "You might need to delete ~/.local/share/jupyter in order to avoid test failures."
|
echo "You might need to delete ~/.local/share/jupyter in order to avoid test failures."
|
||||||
fi
|
fi
|
||||||
# pytest-xdist for process control so that the worker does not indefinitely hang after success, no parallel tests
|
# 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
|
%pytest --timeout 60 --force-flaky --max-runs=3 --no-flaky-report -n 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if ! %{with test}
|
%if ! %{with test}
|
||||||
|
Loading…
Reference in New Issue
Block a user