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 2021-08-23 10:07:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jupyter-jupyterlab-server (Old)
and /work/SRC/openSUSE:Factory/.jupyter-jupyterlab-server.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jupyter-jupyterlab-server"
Mon Aug 23 10:07:56 2021 rev:5 rq:912678 version:2.7.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/jupyter-jupyterlab-server/jupyter-jupyterlab-server.changes
2021-02-10 21:30:08.066262523 +0100
+++
/work/SRC/openSUSE:Factory/.jupyter-jupyterlab-server.new.1899/jupyter-jupyterlab-server.changes
2021-08-23 10:08:36.244216017 +0200
@@ -1,0 +2,48 @@
+Mon Aug 16 13:45:07 UTC 2021 - Ben Greiner <[email protected]>
+
+- Update to 2.7.0
+ * Switch to entrypoints package #187
+- Changelog for release 2.6.2
+ * PR: Add preferred dir option to config #190
+ * PR: Update new_defaults dictionary instead of copy #194
+ * Update tests workflow #193
+- Changelog for release 2.6.1
+ * Merge overrides settings if values are dicts #188
+- Changelog for release 2.6.0
+ * LicensesManager and API/CLI #161
+- Changelog for release 2.5.1
+ * Maintenance and upkeep improvements
+ * Remove Packaging Dependency #181
+- Changelog for release 2.5.0
+ * Support for overrides.json5 #179
+ * Documentation improvements
+ * Make LabConfig configurable and add config API docs #172
+ * Upgrade packaging #178
+ * Add more API docs #177
+ * Add cli config options documentation #176
+ * Add example request/responses to REST docs #174
+ * Add Swagger Docs #173
+ * Update Readme Badges #171
+- Changelog for release 2.4.0
+ * Add Sphinx docs #169
+ * Cleanup unused imports #165
+ * Fill in missing changelog entries #164
+ * Improve documentation: Instructions for development and test
+ setups #130
+- Changelog for release 2.3.0
+ * Set file_url_prefix trait for opening notebooks directly #162
+- Changelog for release 2.2.1
+ * Alleviate invalid locale issue by only setting it if language
+ pack exists #159
+- Changelog for release 2.2.0
+ * Add URL and description for federated extension data #154
+- Changelog for release 2.1.5
+ * Fix/cp949 encoding error #158
+- Changelog for release 2.1.4
+ * Reduce path length of installed package #157 (@afshin)
+- Changelog for release 2.1.3
+ * Fix mathjax URL handling #153
+- Add jupyterlab-server-pr198-openapi014.patch for new API in
+ openapi-core >= 0.14
+
+-------------------------------------------------------------------
Old:
----
jupyterlab_server-2.1.3.tar.gz
New:
----
jupyterlab-server-pr198-openapi014.patch
jupyterlab_server-2.7.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ jupyter-jupyterlab-server.spec ++++++
--- /var/tmp/diff_new_pack.T5hw6A/_old 2021-08-23 10:08:36.756215420 +0200
+++ /var/tmp/diff_new_pack.T5hw6A/_new 2021-08-23 10:08:36.760215415 +0200
@@ -19,19 +19,22 @@
%define skip_python2 1
%define oldpython python
Name: jupyter-jupyterlab-server
-Version: 2.1.3
+Version: 2.7.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-UPSTREAM jupyterlab-server-pr198-openapi014.patch --
gh#jupyterlab/jupyterlab_server#198
+Patch0: jupyterlab-server-pr198-openapi014.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 json5}
BuildRequires: %{python_module jsonschema >= 3.0.1}
-BuildRequires: %{python_module jupyter_server >= 1.1}
+BuildRequires: %{python_module jupyter_server >= 1.4}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
@@ -39,9 +42,10 @@
BuildRequires: python-rpm-macros
Requires: python-Babel
Requires: python-Jinja2 >= 2.10
+Requires: python-entrypoints >= 0.2.2
Requires: python-json5
Requires: python-jsonschema >= 3.0.1
-Requires: python-jupyter_server >= 1.1
+Requires: python-jupyter_server >= 1.4
Requires: python-packaging
Requires: python-requests
Provides: python-jupyterlab-server = %{version}-%{release}
@@ -71,9 +75,11 @@
%endif
# SECTION test requirements
BuildRequires: %{python_module ipykernel}
+BuildRequires: %{python_module openapi-core >= 0.13.8}
+BuildRequires: %{python_module pytest >= 5.3.2}
BuildRequires: %{python_module pytest-console-scripts}
BuildRequires: %{python_module pytest-tornasync}
-BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module ruamel.yaml}
BuildRequires: %{python_module strict-rfc3339}
BuildRequires: %{python_module wheel}
# /SECTION
@@ -83,9 +89,9 @@
This package is used to launch an application built using JupyterLab.
%prep
-%setup -q -n jupyterlab_server-%{version}
-# don't check code coverage
-sed -i '/--cov/ d' setup.cfg
+%autosetup -p1 -n jupyterlab_server-%{version}
+# remove color and coverage flags from pytest
+sed -i '/addopts/ d' pyproject.toml
%build
%python_build
@@ -99,6 +105,7 @@
donttest+=" or (test_translation_api and (get_locale or backend_locale or
get_installed or get_language) and not (_not_ or bad or fails))"
# flaky
donttest+=" or (test_workspaces_api and test_get_non_existant)"
+mv jupyterlab_server/tests/conftest.py ./
%pytest -ra -k "not (${donttest:4})"
%files %{python_files}
++++++ jupyterlab-server-pr198-openapi014.patch ++++++
Index: jupyterlab_server-2.7.0/jupyterlab_server/tests/utils.py
===================================================================
--- jupyterlab_server-2.7.0.orig/jupyterlab_server/tests/utils.py
+++ jupyterlab_server-2.7.0/jupyterlab_server/tests/utils.py
@@ -10,9 +10,10 @@ from urllib.parse import parse_qs, urlpa
from openapi_core.validation.request.datatypes import (
RequestParameters, OpenAPIRequest
)
-from openapi_core.validation.response.datatypes import OpenAPIResponse
from openapi_core import create_spec
+from openapi_core.exceptions import OpenAPIError
from openapi_core.validation.request.validators import RequestValidator
+from openapi_core.validation.response.datatypes import OpenAPIResponse
from openapi_core.validation.response.validators import ResponseValidator
import requests
from ruamel.yaml import YAML
@@ -44,7 +45,13 @@ def wrap_request(request, spec):
# work around lack of support for path parameters which can contain slashes
# https://github.com/OAI/OpenAPI-Specification/issues/892
url = None
- for path in spec.paths:
+ try:
+ # with openapi-core >= 0.14 spec is a SpecPath object
+ specpaths = spec['paths']
+ except OpenAPIError:
+ # openapi-core < 0.14 spec is a Spec object
+ specpaths = spec.paths
+ for path in specpaths:
if url:
continue
has_arg = '{' in path
Index: jupyterlab_server-2.7.0/setup.cfg
===================================================================
--- jupyterlab_server-2.7.0.orig/setup.cfg
+++ jupyterlab_server-2.7.0/setup.cfg
@@ -37,7 +37,7 @@ install_requires =
jupyter_server~=1.4
[options.extras_require]
-test = codecov; ipykernel; pytest>=5.3.2; pytest-cov; jupyter_server[test];
openapi_core~=0.13.8; pytest-console-scripts; strict-rfc3339; ruamel.yaml; wheel
+test = codecov; ipykernel; pytest>=5.3.2; pytest-cov; jupyter_server[test];
openapi_core>=0.13.8; pytest-console-scripts; strict-rfc3339; ruamel.yaml; wheel
[options.packages.find]
exclude = ['docs*']
++++++ jupyterlab_server-2.1.3.tar.gz -> jupyterlab_server-2.7.0.tar.gz ++++++
++++ 3803 lines of diff (skipped)