Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-jupyterlab-server for 
openSUSE:Factory checked in at 2023-09-13 20:45:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyterlab-server (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyterlab-server.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyterlab-server"

Wed Sep 13 20:45:43 2023 rev:7 rq:1110842 version:2.25.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyterlab-server/python-jupyterlab-server.changes
        2023-07-31 15:24:34.083393034 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyterlab-server.new.1766/python-jupyterlab-server.changes
      2023-09-13 20:47:58.065357835 +0200
@@ -1,0 +2,6 @@
+Wed Sep 13 07:53:32 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 2.25.0
+  * Bump openapi deps and support Python 3.8-3.12 #410 (@blink1073)
+
+-------------------------------------------------------------------

Old:
----
  jupyterlab_server-2.24.0.tar.gz

New:
----
  jupyterlab_server-2.25.0.tar.gz

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

Other differences:
------------------
++++++ python-jupyterlab-server.spec ++++++
--- /var/tmp/diff_new_pack.97MKMZ/_old  2023-09-13 20:47:59.137396080 +0200
+++ /var/tmp/diff_new_pack.97MKMZ/_new  2023-09-13 20:47:59.137396080 +0200
@@ -25,27 +25,25 @@
 %bcond_with test
 %endif
 
-# https://github.com/jupyterlab/jupyterlab_server/issues/400
-%bcond_with openapi
 Name:           python-jupyterlab-server%{psuffix}
-Version:        2.24.0
+Version:        2.25.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:      python-jupyterlab-server-rpmlintrc
-BuildRequires:  %{python_module base >= 3.7}
-BuildRequires:  %{python_module hatchling >= 1.5}
+BuildRequires:  %{python_module base >= 3.8}
+BuildRequires:  %{python_module hatchling >= 1.7}
 BuildRequires:  %{python_module pip}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-Babel >= 2.10
 Requires:       python-Jinja2 >= 3.0.3
 Requires:       python-json5 >= 0.9.0
-Requires:       python-jsonschema >= 4.17.3
+Requires:       python-jsonschema >= 4.18
 Requires:       python-packaging >= 21.3
-Requires:       python-requests >= 2.28
+Requires:       python-requests >= 2.31
 Requires:       (python-jupyter-server >= 1.21 with python-jupyter-server < 3)
 %if 0%{?python_version_nodots} < 310
 Requires:       python-importlib-metadata >= 4.8.3
@@ -92,11 +90,12 @@
 Requires:       python-pytest-jupyter-server >= 0.6.2
 Requires:       python-pytest-timeout
 Requires:       python-requests-mock
-Requires:       (python-openapi-spec-validator >= 0.5.1 with 
python-openapi-spec-validator < 0.7)
+Requires:       (python-openapi-spec-validator >= 0.6 with 
python-openapi-spec-validator < 0.7)
 #Requires:       python-sphinxcontrib-spelling
 Requires:       python-strict-rfc3339
 Requires:       python-jupyterlab-server = %{version}
-%{?_with_openapi:Requires:       python-jupyterlab-server-openapi = %{version}}
+Requires:       python-ruamel.yaml
+Requires:       (python-openapi-core >= 0.18 with python-openapi-core < 0.19)
 
 %description test
 Metapackage for the jupyterlab_server[test] requirement specifier
@@ -106,7 +105,7 @@
 Summary:        The jupyterlab_server[openapi]] extra
 Requires:       python-jupyterlab-server = %{version}
 Requires:       python-ruamel.yaml
-Requires:       (python-openapi-core >= 0.16.1 with python-openapi-core < 0.17)
+Requires:       (python-openapi-core >= 0.18 with python-openapi-core < 0.19)
 
 %description openapi
 Metapackage for the jupyterlab_server[openapi] extra
@@ -157,9 +156,7 @@
 %files %{python_files test}
 %license LICENSE
 
-%if %{with openapi}
 %files %{python_files openapi}
 %license LICENSE
 %endif
-%endif
 

++++++ jupyterlab_server-2.24.0.tar.gz -> jupyterlab_server-2.25.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyterlab_server-2.24.0/.github/workflows/codeql-analysis.yml 
new/jupyterlab_server-2.25.0/.github/workflows/codeql-analysis.yml
--- old/jupyterlab_server-2.24.0/.github/workflows/codeql-analysis.yml  
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.25.0/.github/workflows/codeql-analysis.yml  
2020-02-02 01:00:00.000000000 +0100
@@ -34,7 +34,7 @@
 
     steps:
     - name: Checkout repository
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
       with:
         # We must fetch at least the immediate parents so that if this is
         # a pull request then we can checkout the head.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyterlab_server-2.24.0/.github/workflows/downstream.yml 
new/jupyterlab_server-2.25.0/.github/workflows/downstream.yml
--- old/jupyterlab_server-2.24.0/.github/workflows/downstream.yml       
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.25.0/.github/workflows/downstream.yml       
2020-02-02 01:00:00.000000000 +0100
@@ -12,7 +12,7 @@
 
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
 
       - name: Base Setup
         uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyterlab_server-2.24.0/.github/workflows/fix-license-header.yml 
new/jupyterlab_server-2.25.0/.github/workflows/fix-license-header.yml
--- old/jupyterlab_server-2.24.0/.github/workflows/fix-license-header.yml       
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.25.0/.github/workflows/fix-license-header.yml       
2020-02-02 01:00:00.000000000 +0100
@@ -13,7 +13,7 @@
 
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         with:
           token: ${{ secrets.GITHUB_TOKEN }}
 
@@ -26,7 +26,8 @@
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 
       - name: Fix License Header
-        uses: apache/skywalking-eyes/header@v0.4.0
+        # pin to include https://github.com/apache/skywalking-eyes/pull/168
+        uses: 
apache/skywalking-eyes/header@e19b828cea6a6027cceae78f05d81317347d21be
         with:
           mode: fix
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyterlab_server-2.24.0/.github/workflows/tests.yml 
new/jupyterlab_server-2.25.0/.github/workflows/tests.yml
--- old/jupyterlab_server-2.24.0/.github/workflows/tests.yml    2020-02-02 
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.25.0/.github/workflows/tests.yml    2020-02-02 
01:00:00.000000000 +0100
@@ -19,19 +19,19 @@
       fail-fast: false
       matrix:
         os: [ubuntu-latest, windows-latest, macos-latest]
-        python-version: ["3.7", "3.11"]
+        python-version: ["3.8", "3.12"]
         include:
           - os: windows-latest
             python-version: "3.9"
           - os: ubuntu-latest
-            python-version: "pypy-3.8"
+            python-version: "pypy-3.9"
           - os: ubuntu-latest
             python-version: "3.10"
           - os: macos-latest
-            python-version: "3.8"
+            python-version: "3.11"
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
       - name: Base Setup
         uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
       - name: Run the tests
@@ -47,7 +47,7 @@
     needs: test
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
       - uses: jupyterlab/maintainer-tools/.github/actions/report-coverage@v1
         with:
           fail_under: 80
@@ -56,7 +56,7 @@
     name: Test Lint
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
       - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
       -  name: Run Linters
          run: |
@@ -68,7 +68,7 @@
   docs:
     runs-on: windows-latest
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
       - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
       - run: hatch run docs:build
 
@@ -76,7 +76,7 @@
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
       - name: Base Setup
         uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
       - name: Install Dependencies
@@ -92,7 +92,7 @@
     timeout-minutes: 20
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
       - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
         with:
           dependency_type: minimum
@@ -105,7 +105,7 @@
     runs-on: ubuntu-latest
     timeout-minutes: 20
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
       - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
         with:
           dependency_type: pre
@@ -118,7 +118,7 @@
     runs-on: ubuntu-latest
     timeout-minutes: 10
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
       - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
       - uses: jupyterlab/maintainer-tools/.github/actions/make-sdist@v1
 
@@ -140,7 +140,7 @@
     runs-on: ubuntu-latest
     timeout-minutes: 10
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
       - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
       - uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyterlab_server-2.24.0/.pre-commit-config.yaml 
new/jupyterlab_server-2.25.0/.pre-commit-config.yaml
--- old/jupyterlab_server-2.24.0/.pre-commit-config.yaml        2020-02-02 
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.25.0/.pre-commit-config.yaml        2020-02-02 
01:00:00.000000000 +0100
@@ -19,24 +19,24 @@
       - id: trailing-whitespace
 
   - repo: https://github.com/python-jsonschema/check-jsonschema
-    rev: 0.23.2
+    rev: 0.26.3
     hooks:
       - id: check-github-workflows
 
   - repo: https://github.com/executablebooks/mdformat
-    rev: 0.7.16
+    rev: 0.7.17
     hooks:
       - id: mdformat
         additional_dependencies:
           [mdformat-gfm, mdformat-frontmatter, mdformat-footnote]
 
   - repo: https://github.com/psf/black
-    rev: 23.3.0
+    rev: 23.7.0
     hooks:
       - id: black
 
   - repo: https://github.com/astral-sh/ruff-pre-commit
-    rev: v0.0.276
+    rev: v0.0.287
     hooks:
       - id: ruff
         args: ["--fix"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyterlab_server-2.24.0/CHANGELOG.md 
new/jupyterlab_server-2.25.0/CHANGELOG.md
--- old/jupyterlab_server-2.24.0/CHANGELOG.md   2020-02-02 01:00:00.000000000 
+0100
+++ new/jupyterlab_server-2.25.0/CHANGELOG.md   2020-02-02 01:00:00.000000000 
+0100
@@ -2,6 +2,24 @@
 
 <!-- <START NEW CHANGELOG ENTRY> -->
 
+## 2.25.0
+
+([Full 
Changelog](https://github.com/jupyterlab/jupyterlab_server/compare/v2.24.0...91b576d6a87e2fca0958e815c32391ebc8398945))
+
+### Maintenance and upkeep improvements
+
+- Bump openapi deps and support Python 3.8-3.12 
[#410](https://github.com/jupyterlab/jupyterlab_server/pull/410) 
([@blink1073](https://github.com/blink1073))
+- Bump actions/checkout from 3 to 4 
[#408](https://github.com/jupyterlab/jupyterlab_server/pull/408) 
([@dependabot](https://github.com/dependabot))
+- Bump apache/skywalking-eyes from 0.4.0 to 0.5.0 
[#407](https://github.com/jupyterlab/jupyterlab_server/pull/407) 
([@dependabot](https://github.com/dependabot))
+
+### Contributors to this release
+
+([GitHub contributors page for this 
release](https://github.com/jupyterlab/jupyterlab_server/graphs/contributors?from=2023-07-24&to=2023-09-12&type=c))
+
+[@blink1073](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Ablink1073+updated%3A2023-07-24..2023-09-12&type=Issues)
 | 
[@dependabot](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Adependabot+updated%3A2023-07-24..2023-09-12&type=Issues)
 | 
[@pre-commit-ci](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Apre-commit-ci+updated%3A2023-07-24..2023-09-12&type=Issues)
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
 ## 2.24.0
 
 ([Full 
Changelog](https://github.com/jupyterlab/jupyterlab_server/compare/v2.23.0...de8f61e8175b0ebbb0a38beedb2bba579e6efc72))
@@ -21,8 +39,6 @@
 
 
[@blink1073](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Ablink1073+updated%3A2023-06-13..2023-07-24&type=Issues)
 | 
[@dependabot](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Adependabot+updated%3A2023-06-13..2023-07-24&type=Issues)
 | 
[@pauky](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Apauky+updated%3A2023-06-13..2023-07-24&type=Issues)
 | 
[@pre-commit-ci](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Apre-commit-ci+updated%3A2023-06-13..2023-07-24&type=Issues)
 | 
[@welcome](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Awelcome+updated%3A2023-06-13..2023-07-24&type=Issues)
 
-<!-- <END NEW CHANGELOG ENTRY> -->
-
 ## 2.23.0
 
 ([Full 
Changelog](https://github.com/jupyterlab/jupyterlab_server/compare/v2.22.1...19aa4d68e92e24523c88a88c92ee9e621de8f427))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyterlab_server-2.24.0/PKG-INFO 
new/jupyterlab_server-2.25.0/PKG-INFO
--- old/jupyterlab_server-2.24.0/PKG-INFO       2020-02-02 01:00:00.000000000 
+0100
+++ new/jupyterlab_server-2.25.0/PKG-INFO       2020-02-02 01:00:00.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: jupyterlab_server
-Version: 2.24.0
+Version: 2.25.0
 Summary: A set of server components for JupyterLab and JupyterLab like 
applications.
 Project-URL: Homepage, https://jupyterlab-server.readthedocs.io
 Project-URL: Documentation, https://jupyterlab-server.readthedocs.io
@@ -45,21 +45,21 @@
 Classifier: License :: OSI Approved :: BSD License
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3 :: Only
-Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: 3.11
+Classifier: Programming Language :: Python :: 3.12
 Classifier: Typing :: Typed
-Requires-Python: >=3.7
+Requires-Python: >=3.8
 Requires-Dist: babel>=2.10
 Requires-Dist: importlib-metadata>=4.8.3; python_version < '3.10'
 Requires-Dist: jinja2>=3.0.3
 Requires-Dist: json5>=0.9.0
-Requires-Dist: jsonschema>=4.17.3
+Requires-Dist: jsonschema>=4.18.0
 Requires-Dist: jupyter-server<3,>=1.21
 Requires-Dist: packaging>=21.3
-Requires-Dist: requests>=2.28
+Requires-Dist: requests>=2.31
 Provides-Extra: docs
 Requires-Dist: autodoc-traits; extra == 'docs'
 Requires-Dist: jinja2<3.2.0; extra == 'docs'
@@ -70,19 +70,20 @@
 Requires-Dist: sphinx-copybutton; extra == 'docs'
 Requires-Dist: sphinxcontrib-openapi>0.8; extra == 'docs'
 Provides-Extra: openapi
-Requires-Dist: openapi-core~=0.16.1; extra == 'openapi'
+Requires-Dist: openapi-core~=0.18.0; extra == 'openapi'
 Requires-Dist: ruamel-yaml; extra == 'openapi'
 Provides-Extra: test
 Requires-Dist: hatch; extra == 'test'
 Requires-Dist: ipykernel; extra == 'test'
-Requires-Dist: jupyterlab-server[openapi]; extra == 'test'
-Requires-Dist: openapi-spec-validator<0.7.0,>=0.5.1; extra == 'test'
+Requires-Dist: openapi-core~=0.18.0; extra == 'test'
+Requires-Dist: openapi-spec-validator<0.7.0,>=0.6.0; extra == 'test'
 Requires-Dist: pytest-console-scripts; extra == 'test'
 Requires-Dist: pytest-cov; extra == 'test'
 Requires-Dist: pytest-jupyter[server]>=0.6.2; extra == 'test'
 Requires-Dist: pytest-timeout; extra == 'test'
 Requires-Dist: pytest>=7.0; extra == 'test'
 Requires-Dist: requests-mock; extra == 'test'
+Requires-Dist: ruamel-yaml; extra == 'test'
 Requires-Dist: sphinxcontrib-spelling; extra == 'test'
 Requires-Dist: strict-rfc3339; extra == 'test'
 Requires-Dist: werkzeug; extra == 'test'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyterlab_server-2.24.0/jupyterlab_server/_version.py 
new/jupyterlab_server-2.25.0/jupyterlab_server/_version.py
--- old/jupyterlab_server-2.24.0/jupyterlab_server/_version.py  2020-02-02 
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.25.0/jupyterlab_server/_version.py  2020-02-02 
01:00:00.000000000 +0100
@@ -7,7 +7,7 @@
 """
 import re
 
-__version__ = "2.24.0"
+__version__ = "2.25.0"
 
 # Build up version_info tuple for backwards compatibility
 pattern = r"(?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(?P<rest>.*)"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyterlab_server-2.24.0/jupyterlab_server/listings_handler.py 
new/jupyterlab_server-2.25.0/jupyterlab_server/listings_handler.py
--- old/jupyterlab_server-2.24.0/jupyterlab_server/listings_handler.py  
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.25.0/jupyterlab_server/listings_handler.py  
2020-02-02 01:00:00.000000000 +0100
@@ -22,9 +22,7 @@
         blocked_extensions = []
         for blocked_extensions_uri in ListingsHandler.blocked_extensions_uris:
             logger.info(
-                "Fetching blocked_extensions from {}".format(
-                    ListingsHandler.blocked_extensions_uris
-                )
+                f"Fetching blocked_extensions from 
{ListingsHandler.blocked_extensions_uris}"
             )
             r = requests.request(
                 "GET", blocked_extensions_uri, 
**ListingsHandler.listings_request_opts
@@ -37,9 +35,7 @@
         allowed_extensions = []
         for allowed_extensions_uri in ListingsHandler.allowed_extensions_uris:
             logger.info(
-                "Fetching allowed_extensions from {}".format(
-                    ListingsHandler.allowed_extensions_uris
-                )
+                f"Fetching allowed_extensions from 
{ListingsHandler.allowed_extensions_uris}"
             )
             r = requests.request(
                 "GET", allowed_extensions_uri, 
**ListingsHandler.listings_request_opts
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyterlab_server-2.24.0/jupyterlab_server/test_utils.py 
new/jupyterlab_server-2.25.0/jupyterlab_server/test_utils.py
--- old/jupyterlab_server-2.24.0/jupyterlab_server/test_utils.py        
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.25.0/jupyterlab_server/test_utils.py        
2020-02-02 01:00:00.000000000 +0100
@@ -12,13 +12,7 @@
 
 import tornado.httpclient
 import tornado.web
-
-try:
-    from openapi_core import V30RequestValidator, V30ResponseValidator  # 
type:ignore[attr-defined]
-except ImportError:
-    V30RequestValidator = None
-    V30ResponseValidator = None
-    from openapi_core import openapi_request_validator, 
openapi_response_validator
+from openapi_core import V30RequestValidator, V30ResponseValidator
 from openapi_core.spec.paths import Spec
 from openapi_core.validation.request.datatypes import RequestParameters
 from tornado.httpclient import HTTPRequest, HTTPResponse
@@ -152,18 +146,10 @@
     openapi_spec = get_openapi_spec()
 
     request = TornadoOpenAPIRequest(response.request, openapi_spec)
-    if V30RequestValidator:
-        result = V30RequestValidator(openapi_spec).validate(request)
-    else:
-        result = openapi_request_validator.validate(openapi_spec, request)
-    result.raise_for_errors()
+    V30RequestValidator(openapi_spec).validate(request)
 
     response = TornadoOpenAPIResponse(response)
-    if V30ResponseValidator:
-        result2 = V30ResponseValidator(openapi_spec).validate(request, 
response)
-    else:
-        result2 = openapi_response_validator.validate(openapi_spec, request, 
response)
-    result2.raise_for_errors()
+    V30ResponseValidator(openapi_spec).validate(request, response)
 
 
 def maybe_patch_ioloop():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyterlab_server-2.24.0/jupyterlab_server/themes_handler.py 
new/jupyterlab_server-2.25.0/jupyterlab_server/themes_handler.py
--- old/jupyterlab_server-2.24.0/jupyterlab_server/themes_handler.py    
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.25.0/jupyterlab_server/themes_handler.py    
2020-02-02 01:00:00.000000000 +0100
@@ -82,7 +82,7 @@
             """Replace the matched relative url with the mangled url."""
             group = m.group()
             # Get the part that matched
-            part = [g for g in m.groups() if g][0]
+            part = next(g for g in m.groups() if g)
 
             # Ignore urls that start with `/` or have a protocol like `http`.
             parsed = urlparse(part)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyterlab_server-2.24.0/jupyterlab_server/workspaces_handler.py 
new/jupyterlab_server-2.25.0/jupyterlab_server/workspaces_handler.py
--- old/jupyterlab_server-2.24.0/jupyterlab_server/workspaces_handler.py        
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.25.0/jupyterlab_server/workspaces_handler.py        
2020-02-02 01:00:00.000000000 +0100
@@ -150,10 +150,7 @@
         metadata_id = metadata_id if metadata_id.startswith("/") else "/" + 
metadata_id
         metadata_id = urllib.parse.unquote(metadata_id)
         if metadata_id != "/" + space_name:
-            message = "Workspace metadata ID mismatch: expected {!r} got 
{!r}".format(
-                space_name,
-                metadata_id,
-            )
+            message = f"Workspace metadata ID mismatch: expected 
{space_name!r} got {metadata_id!r}"
             raise ValueError(message)
 
         slug = slugify(space_name)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyterlab_server-2.24.0/pyproject.toml 
new/jupyterlab_server-2.25.0/pyproject.toml
--- old/jupyterlab_server-2.24.0/pyproject.toml 2020-02-02 01:00:00.000000000 
+0100
+++ new/jupyterlab_server-2.25.0/pyproject.toml 2020-02-02 01:00:00.000000000 
+0100
@@ -2,7 +2,7 @@
 # Distributed under the terms of the Modified BSD License.
 
 [build-system]
-requires = ["hatchling>=1.5"]
+requires = ["hatchling>=1.7"]
 build-backend = "hatchling.build"
 
 [project]
@@ -20,22 +20,22 @@
   "License :: OSI Approved :: BSD License",
   "Programming Language :: Python",
   "Programming Language :: Python :: 3 :: Only",
-  "Programming Language :: Python :: 3.7",
   "Programming Language :: Python :: 3.8",
   "Programming Language :: Python :: 3.9",
   "Programming Language :: Python :: 3.10",
   "Programming Language :: Python :: 3.11",
+  "Programming Language :: Python :: 3.12",
   "Typing :: Typed"]
-requires-python = ">=3.7"
+requires-python = ">=3.8"
 dependencies = [
   "babel>=2.10",
   "importlib_metadata>=4.8.3;python_version<\"3.10\"",
   "jinja2>=3.0.3",
   "json5>=0.9.0",
-  "jsonschema>=4.17.3",
+  "jsonschema>=4.18.0",
   "jupyter_server>=1.21,<3",
   "packaging>=21.3",
-  "requests>=2.28",
+  "requests>=2.31",
 ]
 
 [[project.authors]]
@@ -65,17 +65,18 @@
   "jinja2<3.2.0"
 ]
 openapi = [
-  "openapi_core~=0.16.1",
+  "openapi_core~=0.18.0",
   "ruamel.yaml",
 ]
 test = [
   "hatch",
   "ipykernel",
   "pytest-jupyter[server]>=0.6.2",
-  "jupyterlab_server[openapi]",
-  "openapi-spec-validator>=0.5.1,<0.7.0",
+  "openapi_core~=0.18.0",
+  "openapi-spec-validator>=0.6.0,<0.7.0",
   "sphinxcontrib_spelling",
   "requests_mock",
+  "ruamel.yaml",
   "pytest>=7.0",
   "pytest-console-scripts",
   "pytest-cov",
@@ -108,7 +109,7 @@
 
 [tool.hatch.envs.typing]
 features = ["test"]
-dependencies = ["mypy>=0.990"]
+dependencies = ["mypy>=1.5.1"]
 [tool.hatch.envs.typing.scripts]
 test = "mypy --install-types --non-interactive {args:jupyterlab_server tests}"
 
@@ -148,6 +149,9 @@
   "module:read property is deprecated:DeprecationWarning",
   # From tornado.netutil.bind_sockets
   "module:unclosed <socket.socket:ResourceWarning",
+  # From jupyter_client
+  "module:datetime.datetime.utcfromtimestamp:DeprecationWarning",
+  "module:datetime.datetime.utcnow:DeprecationWarning",
 ]
 
 [tool.coverage.report]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyterlab_server-2.24.0/tests/test_settings_api.py 
new/jupyterlab_server-2.25.0/tests/test_settings_api.py
--- old/jupyterlab_server-2.24.0/tests/test_settings_api.py     2020-02-02 
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.25.0/tests/test_settings_api.py     2020-02-02 
01:00:00.000000000 +0100
@@ -124,7 +124,7 @@
 
     # Checks there is only the 'id' key in each item
     assert all(
-        (len(item.keys()) == 1 and list(item.keys())[0] == 'id') for item in 
response["settings"]
+        (len(item.keys()) == 1 and next(iter(item.keys())) == 'id') for item 
in response["settings"]
     )
 
 
@@ -177,7 +177,7 @@
     validate_request(r)
     data = json.loads(r.body.decode())
     listing = data["settings"]
-    list_data = [item for item in listing if item["id"] == id][0]
+    list_data = next(item for item in listing if item["id"] == id)
     # TODO(@echarles) Check this...
 
 

Reply via email to