Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package jupyter-jupyterlab-server for 
openSUSE:Factory checked in at 2022-08-06 22:08:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jupyter-jupyterlab-server (Old)
 and      /work/SRC/openSUSE:Factory/.jupyter-jupyterlab-server.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "jupyter-jupyterlab-server"

Sat Aug  6 22:08:06 2022 rev:9 rq:993389 version:2.15.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/jupyter-jupyterlab-server/jupyter-jupyterlab-server.changes
      2022-01-04 19:37:29.721930513 +0100
+++ 
/work/SRC/openSUSE:Factory/.jupyter-jupyterlab-server.new.1521/jupyter-jupyterlab-server.changes
    2022-08-06 22:08:16.446676785 +0200
@@ -1,0 +2,27 @@
+Fri Aug  5 19:44:09 UTC 2022 - Ben Greiner <[email protected]>
+
+- Update to 2.15.0
+  * Suppress tornado 6.2 beta warnings #285 (@blink1073)
+  * Add compat for openapi-core 0.15 #281 (@blink1073)
+- Release 2.14.0
+  * proper setup for the fallback logger #269 (@rvalieris)
+  * Switch to hatch backend #274 (@blink1073)
+- Release 2.13.0
+  * Audit uses of print #261 (@blink1073)
+  * Switch to importlib.metadata to list entry points #264
+    (@fcollonval)
+  * Add git-blame-ignore-revs #258 (@blink1073)
+- Release 2.12.0
+  * Make openapi optional and lazy #253 (@blink1073)
+  * Adds notebook_starts_kernel option to make "canStartKernel"
+    configurable #248 (@jweill-aws)
+  * Clean up tests and add public openapi_spec #247 (@blink1073)
+- Release 2.11.2
+  * Resolve paths in tests #245 (@blink1073)
+- Release 2.11.1
+  * Restore pytest_plugin #243 (@blink1073)
+- Release 2.11.0
+  * Also look in static for license files #238 (@bollwyvl)
+- Add jupyterlab-server-fix-testing.patch
+
+-------------------------------------------------------------------

Old:
----
  jupyterlab_server-2.10.2.tar.gz

New:
----
  jupyterlab-server-fix-testing.patch
  jupyterlab_server-2.15.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ jupyter-jupyterlab-server.spec ++++++
--- /var/tmp/diff_new_pack.J9d1F7/_old  2022-08-06 22:08:16.970678308 +0200
+++ /var/tmp/diff_new_pack.J9d1F7/_new  2022-08-06 22:08:16.974678320 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package jupyter-jupyterlab-server
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,36 +16,40 @@
 #
 
 
-%define skip_python2 1
 %define oldpython python
 Name:           jupyter-jupyterlab-server
-Version:        2.10.2
+Version:        2.15.0
 Release:        0
 Summary:        Server components for JupyterLab and JupyterLab-like 
applications
 License:        BSD-3-Clause
 URL:            https://github.com/jupyterlab/jupyterlab_server
 Source:         
https://files.pythonhosted.org/packages/source/j/jupyterlab_server/jupyterlab_server-%{version}.tar.gz
 Source100:      jupyter-jupyterlab-server-rpmlintrc
+# PATCH-FIX-OPENSUSE jupyterlab-server-fix-testing.patch [email protected] -- 
remove color, failing deprecation warnings, and used nbconvert vendored mistune
+Patch0:         jupyterlab-server-fix-testing.patch
 BuildRequires:  %{python_module Babel}
-BuildRequires:  %{python_module Jinja2 >= 2.10}
-BuildRequires:  %{python_module base >= 3.5}
-BuildRequires:  %{python_module entrypoints >= 0.2.2}
+BuildRequires:  %{python_module Jinja2 >= 3.0.3}
+BuildRequires:  %{python_module base >= 3.7}
+BuildRequires:  %{python_module hatchling >= 0.25}
+BuildRequires:  %{python_module importlib-metadata >= 3.6 if %python-base < 
3.10}
 BuildRequires:  %{python_module json5}
 BuildRequires:  %{python_module jsonschema >= 3.0.1}
 BuildRequires:  %{python_module jupyter_server >= 1.4}
 BuildRequires:  %{python_module packaging > 0.9}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module requests}
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-Babel
-Requires:       python-Jinja2 >= 2.10
-Requires:       python-entrypoints >= 0.2.2
+Requires:       python-Jinja2 >= 3.0.3
 Requires:       python-json5
 Requires:       python-jsonschema >= 3.0.1
-Requires:       python-jupyter_server >= 1.4
 Requires:       python-packaging
 Requires:       python-requests
+Requires:       (python-jupyter-server >= 1.8 with python-jupyter-server < 2)
+%if 0%{?python_version_nodots} < 310
+Requires:       python-importlib-metadata >= 3.6
+%endif
 Provides:       python-jupyterlab-server = %{version}-%{release}
 Obsoletes:      python-jupyterlab-server < %{version}-%{release}
 Provides:       python-jupyterlab_server = %{version}-%{release}
@@ -74,7 +78,7 @@
 # SECTION test requirements
 BuildRequires:  %{python_module ipykernel}
 BuildRequires:  %{python_module jupyter-server-test}
-BuildRequires:  %{python_module openapi-core >= 0.13.8}
+BuildRequires:  %{python_module openapi-core >= 0.14.2}
 BuildRequires:  %{python_module pytest >= 5.3.2}
 BuildRequires:  %{python_module pytest-console-scripts}
 BuildRequires:  %{python_module ruamel.yaml}
@@ -84,7 +88,11 @@
 %python_subpackages
 
 %description
-This package is used to launch an application built using JupyterLab.
+JupyterLab Server sits between JupyterLab and Jupyter Server,
+and provides a set of REST API handlers and utilities that are
+used by JupyterLab. It is a separate project in order to
+accommodate creating JupyterLab-like applications from a more
+limited scope.
 
 %package test
 Summary:        The jupyterlab_server[test] requirements
@@ -93,42 +101,49 @@
 Requires:       python-ipykernel
 Requires:       python-jupyter-server-test
 Requires:       python-jupyterlab-server = %{version}
-Requires:       python-openapi-core >= 0.14.0
+Requires:       python-openapi-core >= 0.14.2
 Requires:       python-pytest >= 5.3.2
 Requires:       python-pytest-console-scripts
 Requires:       python-ruamel.yaml
 Requires:       python-strict-rfc3339
-Requires:       python-wheel
 
 %description test
 Metapackage for the jupyterlab_server[test] requirement specifier
 
+%package openapi
+Summary:        The jupyterlab_server[openapi]] extra
+Provides:       python-jupyterlab-server-openapi = %{version}-%{release}
+Obsoletes:      python-jupyterlab-server-openapi < %{version}-%{release}
+Requires:       python-jupyterlab-server = %{version}
+Requires:       python-openapi-core >= 0.14.2
+
+%description openapi
+Metapackage for the jupyterlab_server[openapi] extra
+
 %prep
 %autosetup -p1 -n jupyterlab_server-%{version}
-# remove color and coverage flags from pytest
-sed -i '/addopts/ d' pyproject.toml
-# mistune is imported in tests and normally installed as transitive requirement
-# from jupyter-server/nbconvert, but we had to vendorize it -- 
gh#jupyter/nbconvert#1685
-sed -i jupyterlab_server/tests/test_licenses_api.py \
-  -e 's/import mistune/from nbconvert.filters.markdown_mistune import mistune/'
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%pytest --pyargs jupyterlab_server -ra
+# pytest error when trying to import tornasync plugin pulled in by 
jupyter-server-test (?)
+%pytest -p no:tornasync
 
 %files %{python_files}
 %license LICENSE
 %doc README.md
-%{python_sitelib}/jupyterlab_server/
-%{python_sitelib}/jupyterlab_server-%{version}-py*.egg-info/
+%{python_sitelib}/jupyterlab_server
+%{python_sitelib}/jupyterlab_server-%{version}*-info
 
 %files %{python_files test}
 %license LICENSE
 
+%files %{python_files openapi}
+%license LICENSE
+
 %changelog

++++++ jupyter-jupyterlab-server-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.J9d1F7/_old  2022-08-06 22:08:17.014678436 +0200
+++ /var/tmp/diff_new_pack.J9d1F7/_new  2022-08-06 22:08:17.018678448 +0200
@@ -1,5 +1,5 @@
 # This is an important test file.
 # The tests don't work without it, and other packages' tests depend on these 
tests being available
-addFilter("backup-file-in-package 
.*/jupyterlab_server/tests/schemas/@jupyterlab/shortcuts-extension/package.json.orig")
-addFilter("filelist-forbidden 
.*/jupyterlab_server/tests/schemas/@jupyterlab/shortcuts-extension/package.json.orig")
+addFilter("backup-file-in-package 
.*/jupyterlab_server/test_data/schemas/@jupyterlab/shortcuts-extension/package.json.orig")
+addFilter("filelist-forbidden 
.*/jupyterlab_server/test_data/schemas/@jupyterlab/shortcuts-extension/package.json.orig")
 

++++++ jupyterlab-server-fix-testing.patch ++++++
Index: jupyterlab_server-2.15.0/pyproject.toml
===================================================================
--- jupyterlab_server-2.15.0.orig/pyproject.toml
+++ jupyterlab_server-2.15.0/pyproject.toml
@@ -87,7 +87,7 @@ src = "jupyterlab_server/_version.py"
 src = "pyproject.toml"
 
 [tool.pytest.ini_options]
-addopts = "-raXs --durations 10 --color=yes --doctest-modules"
+addopts = "-raXs --durations 10 --doctest-modules"
 testpaths = [
     "tests/"
 ]
@@ -99,5 +99,7 @@ filterwarnings = [
   "module:make_current is deprecated:DeprecationWarning",
   "module:clear_current is deprecated:DeprecationWarning",
   "module:There is no current event loop:DeprecationWarning",
-  "ignore:Passing a schema to Validator.iter_errors:DeprecationWarning"
+  "ignore:Passing a schema to Validator.iter_errors:DeprecationWarning",
+  # fixed in https://github.com/p1c2u/openapi-core/pull/395 (v0.15)
+  "ignore:The distutils package is deprecated:DeprecationWarning",
 ]
Index: jupyterlab_server-2.15.0/tests/test_licenses_api.py
===================================================================
--- jupyterlab_server-2.15.0.orig/tests/test_licenses_api.py
+++ jupyterlab_server-2.15.0/tests/test_licenses_api.py
@@ -5,7 +5,9 @@ import io
 import json
 import mimetypes
 
-import mistune
+# mistune is imported in tests and normally installed as transitive requirement
+# from jupyter-server/nbconvert, but we had to vendorize it -- 
gh#jupyter/nbconvert#1685
+from nbconvert.filters.markdown_mistune import mistune
 import pytest
 
 from jupyterlab_server import LicensesApp

++++++ jupyterlab_server-2.10.2.tar.gz -> jupyterlab_server-2.15.0.tar.gz ++++++
++++ 8195 lines of diff (skipped)

Reply via email to