- Update to 5.5.1

* Account for read only file systems in migration #379
    (@blink1073)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-core?expand=0&rev=50
This commit is contained in:
Benjamin Greiner 2023-12-23 19:34:15 +00:00 committed by Git OBS Bridge
parent 8295935a14
commit 711f3ead24
5 changed files with 24 additions and 19 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:880b86053bf298a8724994f95e99b99130659022a4f7f45f563084b6223861d3
size 85369

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1553311a97ccd12936037f36b9ab4d6ae8ceea6ad2d5c90d94a909e752178e40
size 85962

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Dec 23 19:23:58 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 5.5.1
* Account for read only file systems in migration #379
(@blink1073)
-------------------------------------------------------------------
Sun Nov 26 15:56:10 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -32,7 +32,7 @@
%endif
Name: python-jupyter-core%{psuffix}
Version: 5.5.0
Version: 5.5.1
Release: 0
Summary: Base package on which Jupyter projects rely
License: BSD-3-Clause

View File

@ -7,13 +7,13 @@ system paths in the .spec file.
---
Index: jupyter_core-5.3.2/jupyter_core/paths.py
Index: jupyter_core-5.5.1/jupyter_core/paths.py
===================================================================
--- jupyter_core-5.3.2.orig/jupyter_core/paths.py
+++ jupyter_core-5.3.2/jupyter_core/paths.py
@@ -219,10 +219,7 @@ else:
--- jupyter_core-5.5.1.orig/jupyter_core/paths.py
+++ jupyter_core-5.5.1/jupyter_core/paths.py
@@ -221,10 +221,7 @@ else:
else: # PROGRAMDATA is not defined by default on XP.
SYSTEM_JUPYTER_PATH = [os.path.join(sys.prefix, "share", "jupyter")]
SYSTEM_JUPYTER_PATH = [str(Path(sys.prefix, "share", "jupyter"))]
else:
- SYSTEM_JUPYTER_PATH = [
- "/usr/local/share/jupyter",
@ -21,9 +21,9 @@ Index: jupyter_core-5.3.2/jupyter_core/paths.py
- ]
+ SYSTEM_JUPYTER_PATH = [ "@_datadir_jupyter_@" ]
ENV_JUPYTER_PATH: List[str] = [os.path.join(sys.prefix, "share", "jupyter")]
ENV_JUPYTER_PATH: list[str] = [str(Path(sys.prefix, "share", "jupyter"))]
@@ -243,10 +240,10 @@ def jupyter_path(*subdirs: str) -> List[
@@ -245,10 +242,10 @@ def jupyter_path(*subdirs: str) -> list[
Examples:
@ -37,16 +37,14 @@ Index: jupyter_core-5.3.2/jupyter_core/paths.py
+ ['~/.local/share/jupyter/kernels', '@_datadir_jupyter_@/kernels']
"""
paths: List[str] = []
@@ -298,10 +295,7 @@ else: # noqa: PLR5501
else: # PROGRAMDATA is not defined by default on XP.
paths: list[str] = []
@@ -301,8 +298,7 @@ else:
SYSTEM_CONFIG_PATH = []
else:
- SYSTEM_CONFIG_PATH = [
SYSTEM_CONFIG_PATH = [
- "/usr/local/etc/jupyter",
- "/etc/jupyter",
- ]
+ SYSTEM_CONFIG_PATH = [ "@_distconfdir_jupyter_@" ]
ENV_CONFIG_PATH: List[str] = [os.path.join(sys.prefix, "etc", "jupyter")]
+ "@_distconfdir_jupyter_@"
]
ENV_CONFIG_PATH: list[str] = [str(Path(sys.prefix, "etc", "jupyter"))]