From 1b3523cfe4cab1eaf3558567529c23c28338be3b8b30af72ec4cb0a1c898d873 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Tue, 14 Jun 2022 16:59:46 +0000 Subject: [PATCH] Accepting request 982653 from home:bnavigator:python-rpm-macros - Update to 1.17.1 * no changelog - 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) OBS-URL: https://build.opensuse.org/request/show/982653 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-server?expand=0&rev=46 --- jupyter_server-1.15.6.tar.gz | 3 --- jupyter_server-1.17.1.tar.gz | 3 +++ python-jupyter-server.changes | 42 ++++++++++++++++++++++++++++++++++- python-jupyter-server.spec | 40 ++++++++++----------------------- 4 files changed, 56 insertions(+), 32 deletions(-) delete mode 100644 jupyter_server-1.15.6.tar.gz create mode 100644 jupyter_server-1.17.1.tar.gz diff --git a/jupyter_server-1.15.6.tar.gz b/jupyter_server-1.15.6.tar.gz deleted file mode 100644 index 8bea8da..0000000 --- a/jupyter_server-1.15.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:56bd6f580d1f46b62294990e8e78651025729f5d3fc798f10f2c03f0cdcbf28d -size 440539 diff --git a/jupyter_server-1.17.1.tar.gz b/jupyter_server-1.17.1.tar.gz new file mode 100644 index 0000000..7957353 --- /dev/null +++ b/jupyter_server-1.17.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a36781656645ae17b12819a49ace377c045bf633823b3e4cd4b0c88c01e7711b +size 449682 diff --git a/python-jupyter-server.changes b/python-jupyter-server.changes index 88d16fe..44bae2e 100644 --- a/python-jupyter-server.changes +++ b/python-jupyter-server.changes @@ -1,7 +1,47 @@ +------------------------------------------------------------------- +Tue Jun 14 14:19:00 UTC 2022 - Ben Greiner + +- Update to 1.17.1 + * no changelog +- 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 -- Update to verson 1.15.6 +- Update to version 1.15.6 * Missing warning when no authorizer in found ZMQ handlers #744 (@Zsailer) - Release notes for 1.15.5 diff --git a/python-jupyter-server.spec b/python-jupyter-server.spec index d1988af..fd86374 100644 --- a/python-jupyter-server.spec +++ b/python-jupyter-server.spec @@ -30,17 +30,15 @@ %else %bcond_with libalternatives %endif -%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-jupyter-server%{psuffix} -Version: 1.15.6 +Version: 1.17.1 Release: 0 Summary: The backend to Jupyter web applications License: BSD-3-Clause Group: Development/Languages/Python -URL: https://github.com/jupyter-server/jupyter_server -# need the release tarball for the static stylesheets -Source: https://github.com/jupyter-server/jupyter_server/releases/download/v%{version}/jupyter_server-%{version}.tar.gz +URL: https://jupyter-server.readthedocs.io +Source: https://files.pythonhosted.org/packages/source/j/jupyter-server/jupyter_server-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module jupyter_packaging} BuildRequires: %{python_module setuptools} @@ -53,22 +51,21 @@ Requires: python-Jinja2 Requires: python-Send2Trash Requires: python-anyio >= 3.1.0 Requires: python-argon2-cffi -Requires: python-jupyter-client >= 6.1.1 -Requires: python-jupyter-core >= 4.6.0 -Requires: python-nbconvert +Requires: python-jupyter-client >= 6.1.12 +Requires: python-jupyter-core >= 4.7.0 +Requires: python-nbconvert >= 6.4.4 Requires: python-nbformat >= 5.2.0 Requires: python-packaging Requires: python-prometheus_client Requires: python-pyzmq >= 17 Requires: python-terminado >= 0.8.3 Requires: python-tornado >= 6.1 -Requires: python-traitlets >= 5 +Requires: python-traitlets >= 5.1 Requires: python-websocket-client Provides: python-jupyter_server = %{version}-%{release} Obsoletes: python-jupyter_server < %{version}-%{release} %if %{with test} BuildRequires: %{python_module flaky} -BuildRequires: %{python_module jupyter-client >= 6.1.1} BuildRequires: %{python_module jupyter-server-test = %{version}} BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest-xdist} @@ -109,6 +106,10 @@ Metapackage for the jupyter_server[test] requirement specifier %prep %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} %build @@ -122,30 +123,13 @@ Metapackage for the jupyter_server[test] requirement specifier %if %{with test} %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 PATH=$PWD/build/testbin:$PATH if [ -e ~/.local/share/jupyter ]; then echo "WARNING: Not a clean test environment." echo "You might need to delete ~/.local/share/jupyter in order to avoid test failures." fi # 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 %if ! %{with test}