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 2024-04-02 16:40:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyterlab-server (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyterlab-server.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyterlab-server"

Tue Apr  2 16:40:38 2024 rev:11 rq:1163577 version:2.25.4

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyterlab-server/python-jupyterlab-server.changes
        2024-03-07 22:01:21.564434078 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jupyterlab-server.new.1905/python-jupyterlab-server.changes
      2024-04-02 16:41:07.918399775 +0200
@@ -1,0 +2,6 @@
+Fri Mar 29 18:32:36 UTC 2024 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 2.25.4
+  * Maintenance and upkeep improvements
+
+-------------------------------------------------------------------

Old:
----
  jupyterlab_server-2.25.3.tar.gz

New:
----
  jupyterlab_server-2.25.4.tar.gz

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

Other differences:
------------------
++++++ python-jupyterlab-server.spec ++++++
--- /var/tmp/diff_new_pack.xdu6fS/_old  2024-04-02 16:41:08.582424245 +0200
+++ /var/tmp/diff_new_pack.xdu6fS/_new  2024-04-02 16:41:08.586424392 +0200
@@ -27,7 +27,7 @@
 %endif
 
 Name:           python-jupyterlab-server%{psuffix}
-Version:        2.25.3
+Version:        2.25.4
 Release:        0
 Summary:        Server components for JupyterLab and JupyterLab-like 
applications
 License:        BSD-3-Clause
@@ -86,12 +86,12 @@
 Summary:        The jupyterlab_server[test] requirements
 Requires:       python-Werkzeug
 Requires:       python-ipykernel
-Requires:       python-pytest >= 7
 Requires:       python-pytest-console-scripts
 Requires:       python-pytest-jupyter-server >= 0.6.2
 Requires:       python-pytest-timeout
 Requires:       python-requests-mock
 Requires:       (python-openapi-spec-validator >= 0.6 with 
python-openapi-spec-validator < 0.8)
+Requires:       (python-pytest >= 7 with python-pytest < 8)
 #Requires:       python-sphinxcontrib-spelling
 Requires:       python-strict-rfc3339
 Requires:       python-jupyterlab-server = %{version}

++++++ jupyterlab_server-2.25.3.tar.gz -> jupyterlab_server-2.25.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyterlab_server-2.25.3/.github/workflows/prep-release.yml 
new/jupyterlab_server-2.25.4/.github/workflows/prep-release.yml
--- old/jupyterlab_server-2.25.3/.github/workflows/prep-release.yml     
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.25.4/.github/workflows/prep-release.yml     
2020-02-02 01:00:00.000000000 +0100
@@ -12,10 +12,10 @@
       post_version_spec:
         description: "Post Version Specifier"
         required: false
-      # silent:
-      #   description: "Set a placeholder in the changelog and don't publish 
the release."
-      #   required: false
-      #   type: boolean
+      silent:
+        description: "Set a placeholder in the changelog and don't publish the 
release."
+        required: false
+        type: boolean
       since:
         description: "Use PRs with activity since this date or git reference"
         required: false
@@ -26,6 +26,8 @@
 jobs:
   prep_release:
     runs-on: ubuntu-latest
+    permissions:
+      contents: write
     steps:
       - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
 
@@ -33,11 +35,11 @@
         id: prep-release
         uses: jupyter-server/jupyter_releaser/.github/actions/prep-release@v2
         with:
-          token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
+          token: ${{ secrets.GITHUB_TOKEN }}
           version_spec: ${{ github.event.inputs.version_spec }}
+          silent: ${{ github.event.inputs.silent }}
           post_version_spec: ${{ github.event.inputs.post_version_spec }}
           branch: ${{ github.event.inputs.branch }}
-          # silent: ${{ github.event.inputs.silent }}
           since: ${{ github.event.inputs.since }}
           since_last_stable: ${{ github.event.inputs.since_last_stable }}
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyterlab_server-2.25.3/.github/workflows/publish-changelog.yml 
new/jupyterlab_server-2.25.4/.github/workflows/publish-changelog.yml
--- old/jupyterlab_server-2.25.3/.github/workflows/publish-changelog.yml        
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.25.4/.github/workflows/publish-changelog.yml        
2020-02-02 01:00:00.000000000 +0100
@@ -12,13 +12,21 @@
 jobs:
   publish_changelog:
     runs-on: ubuntu-latest
+    environment: release
     steps:
       - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
+
+      - uses: actions/create-github-app-token@v1
+        id: app-token
+        with:
+          app-id: ${{ vars.APP_ID }}
+          private-key: ${{ secrets.APP_PRIVATE_KEY }}
+
       - name: Publish changelog
         id: publish-changelog
         uses: 
jupyter-server/jupyter_releaser/.github/actions/publish-changelog@v2
         with:
-          token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
+          token: ${{ steps.app-token.outputs.token }}
           branch: ${{ github.event.inputs.branch }}
 
       - name: "** Next Step **"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyterlab_server-2.25.3/.github/workflows/publish-release.yml 
new/jupyterlab_server-2.25.4/.github/workflows/publish-release.yml
--- old/jupyterlab_server-2.25.3/.github/workflows/publish-release.yml  
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.25.4/.github/workflows/publish-release.yml  
2020-02-02 01:00:00.000000000 +0100
@@ -15,18 +15,23 @@
 jobs:
   publish_release:
     runs-on: ubuntu-latest
+    environment: release
     permissions:
-      # This is useful if you want to use PyPI trusted publisher
-      # and NPM provenance
       id-token: write
     steps:
       - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
 
+      - uses: actions/create-github-app-token@v1
+        id: app-token
+        with:
+          app-id: ${{ vars.APP_ID }}
+          private-key: ${{ secrets.APP_PRIVATE_KEY }}
+
       - name: Populate Release
         id: populate-release
         uses: 
jupyter-server/jupyter_releaser/.github/actions/populate-release@v2
         with:
-          token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
+          token: ${{ steps.app-token.outputs.token }}
           branch: ${{ github.event.inputs.branch }}
           release_url: ${{ github.event.inputs.release_url }}
           steps_to_skip: ${{ github.event.inputs.steps_to_skip }}
@@ -37,7 +42,7 @@
           NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
         uses: 
jupyter-server/jupyter_releaser/.github/actions/finalize-release@v2
         with:
-          token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
+          token: ${{ steps.app-token.outputs.token }}
           release_url: ${{ steps.populate-release.outputs.release_url }}
 
       - name: "** Next Step **"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyterlab_server-2.25.3/CHANGELOG.md 
new/jupyterlab_server-2.25.4/CHANGELOG.md
--- old/jupyterlab_server-2.25.3/CHANGELOG.md   2020-02-02 01:00:00.000000000 
+0100
+++ new/jupyterlab_server-2.25.4/CHANGELOG.md   2020-02-02 01:00:00.000000000 
+0100
@@ -2,6 +2,25 @@
 
 <!-- <START NEW CHANGELOG ENTRY> -->
 
+## 2.25.4
+
+([Full 
Changelog](https://github.com/jupyterlab/jupyterlab_server/compare/v2.25.3...15e796699f04e06db9ed23a689d454feae36ffbd))
+
+### Maintenance and upkeep improvements
+
+- Use updated releaser workflows 
[#442](https://github.com/jupyterlab/jupyterlab_server/pull/442) 
([@blink1073](https://github.com/blink1073))
+- Use json5 typings 
[#441](https://github.com/jupyterlab/jupyterlab_server/pull/441) 
([@blink1073](https://github.com/blink1073))
+- Enforce pytest 7 
[#439](https://github.com/jupyterlab/jupyterlab_server/pull/439) 
([@blink1073](https://github.com/blink1073))
+- Fix test util typings 
[#437](https://github.com/jupyterlab/jupyterlab_server/pull/437) 
([@blink1073](https://github.com/blink1073))
+
+### Contributors to this release
+
+([GitHub contributors page for this 
release](https://github.com/jupyterlab/jupyterlab_server/graphs/contributors?from=2024-02-14&to=2024-03-11&type=c))
+
+[@blink1073](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Ablink1073+updated%3A2024-02-14..2024-03-11&type=Issues)
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
 ## 2.25.3
 
 ([Full 
Changelog](https://github.com/jupyterlab/jupyterlab_server/compare/v2.25.2...f30fddb8f5d3acb688a3c8a75e92c386b75a18dd))
@@ -27,8 +46,6 @@
 
 
[@blink1073](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Ablink1073+updated%3A2023-11-18..2024-02-14&type=Issues)
 | 
[@dependabot](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Adependabot+updated%3A2023-11-18..2024-02-14&type=Issues)
 | 
[@fcollonval](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Afcollonval+updated%3A2023-11-18..2024-02-14&type=Issues)
 | 
[@itsmevichu](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Aitsmevichu+updated%3A2023-11-18..2024-02-14&type=Issues)
 | 
[@JasonWeill](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3AJasonWeill+updated%3A2023-11-18..2024-02-14&type=Issues)
 | 
[@pre-commit-ci](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Apre-commit-ci+updated%3A2023-11-18..2024-02-14&type=Issues)
 | 
[@welcome](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Awelco
 me+updated%3A2023-11-18..2024-02-14&type=Issues)
 
-<!-- <END NEW CHANGELOG ENTRY> -->
-
 ## 2.25.2
 
 ([Full 
Changelog](https://github.com/jupyterlab/jupyterlab_server/compare/v2.25.1...20a463e065f7cb38ee607cce95c30b6915c80f1a))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyterlab_server-2.25.3/PKG-INFO 
new/jupyterlab_server-2.25.4/PKG-INFO
--- old/jupyterlab_server-2.25.3/PKG-INFO       2020-02-02 01:00:00.000000000 
+0100
+++ new/jupyterlab_server-2.25.4/PKG-INFO       2020-02-02 01:00:00.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: jupyterlab_server
-Version: 2.25.3
+Version: 2.25.4
 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
@@ -81,7 +81,7 @@
 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: pytest<8,>=7.0; extra == 'test'
 Requires-Dist: requests-mock; extra == 'test'
 Requires-Dist: ruamel-yaml; extra == 'test'
 Requires-Dist: sphinxcontrib-spelling; extra == 'test'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyterlab_server-2.25.3/jupyterlab_server/_version.py 
new/jupyterlab_server-2.25.4/jupyterlab_server/_version.py
--- old/jupyterlab_server-2.25.3/jupyterlab_server/_version.py  2020-02-02 
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.25.4/jupyterlab_server/_version.py  2020-02-02 
01:00:00.000000000 +0100
@@ -7,7 +7,7 @@
 """
 import re
 
-__version__ = "2.25.3"
+__version__ = "2.25.4"
 
 # 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.25.3/jupyterlab_server/config.py 
new/jupyterlab_server-2.25.4/jupyterlab_server/config.py
--- old/jupyterlab_server-2.25.3/jupyterlab_server/config.py    2020-02-02 
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.25.4/jupyterlab_server/config.py    2020-02-02 
01:00:00.000000000 +0100
@@ -12,7 +12,7 @@
 from os.path import join as pjoin
 from typing import Any
 
-import json5  # type:ignore[import-untyped]
+import json5
 from jupyter_core.paths import SYSTEM_CONFIG_PATH, jupyter_config_dir, 
jupyter_path
 from jupyter_server.services.config.manager import ConfigManager, 
recursive_update
 from jupyter_server.utils import url_path_join as ujoin
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyterlab_server-2.25.3/jupyterlab_server/settings_utils.py 
new/jupyterlab_server-2.25.4/jupyterlab_server/settings_utils.py
--- old/jupyterlab_server-2.25.3/jupyterlab_server/settings_utils.py    
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.25.4/jupyterlab_server/settings_utils.py    
2020-02-02 01:00:00.000000000 +0100
@@ -9,7 +9,7 @@
 from glob import glob
 from typing import Any
 
-import json5  # type:ignore[import-untyped]
+import json5
 from jsonschema import Draft7Validator as Validator
 from jsonschema import ValidationError
 from jupyter_server import _tz as tz
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyterlab_server-2.25.3/jupyterlab_server/test_utils.py 
new/jupyterlab_server-2.25.4/jupyterlab_server/test_utils.py
--- old/jupyterlab_server-2.25.3/jupyterlab_server/test_utils.py        
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.25.4/jupyterlab_server/test_utils.py        
2020-02-02 01:00:00.000000000 +0100
@@ -61,6 +61,10 @@
         )
 
     @property
+    def content_type(self) -> str:
+        return "application/json"
+
+    @property
     def host_url(self) -> str:
         url = self.request.url
         return url[: url.index("/lab")]
@@ -95,13 +99,13 @@
         return method and method.lower() or ""
 
     @property
-    def body(self) -> str | None:
+    def body(self) -> bytes | None:
         if self.request.body is None:
             return None  # type:ignore[unreachable]
         if not isinstance(self.request.body, bytes):
             msg = "Request body is invalid"  # type:ignore[unreachable]
             raise AssertionError(msg)
-        return self.request.body.decode("utf-8")
+        return self.request.body
 
     @property
     def mimetype(self) -> str:
@@ -123,17 +127,21 @@
         self.response = response
 
     @property
-    def data(self) -> str:
+    def data(self) -> bytes | None:
         if not isinstance(self.response.body, bytes):
             msg = "Response body is invalid"  # type:ignore[unreachable]
             raise AssertionError(msg)
-        return self.response.body.decode("utf-8")
+        return self.response.body
 
     @property
     def status_code(self) -> int:
         return int(self.response.code)
 
     @property
+    def content_type(self) -> str:
+        return "application/json"
+
+    @property
     def mimetype(self) -> str:
         return str(self.response.headers.get("Content-Type", 
"application/json"))
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyterlab_server-2.25.3/pyproject.toml 
new/jupyterlab_server-2.25.4/pyproject.toml
--- old/jupyterlab_server-2.25.3/pyproject.toml 2020-02-02 01:00:00.000000000 
+0100
+++ new/jupyterlab_server-2.25.4/pyproject.toml 2020-02-02 01:00:00.000000000 
+0100
@@ -77,7 +77,7 @@
   "sphinxcontrib_spelling",
   "requests_mock",
   "ruamel.yaml",
-  "pytest>=7.0",
+  "pytest>=7.0,<8",
   "pytest-console-scripts",
   "pytest-cov",
   "pytest-timeout",

Reply via email to