diff --git a/jupyter_core-5.5.0.tar.gz b/jupyter_core-5.5.0.tar.gz deleted file mode 100644 index bbff699..0000000 --- a/jupyter_core-5.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:880b86053bf298a8724994f95e99b99130659022a4f7f45f563084b6223861d3 -size 85369 diff --git a/jupyter_core-5.5.1.tar.gz b/jupyter_core-5.5.1.tar.gz new file mode 100644 index 0000000..41ae36e --- /dev/null +++ b/jupyter_core-5.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1553311a97ccd12936037f36b9ab4d6ae8ceea6ad2d5c90d94a909e752178e40 +size 85962 diff --git a/python-jupyter-core.changes b/python-jupyter-core.changes index ca403f6..f343bb9 100644 --- a/python-jupyter-core.changes +++ b/python-jupyter-core.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Dec 23 19:23:58 UTC 2023 - Ben Greiner + +- 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 diff --git a/python-jupyter-core.spec b/python-jupyter-core.spec index 0ecbf01..c580ed2 100644 --- a/python-jupyter-core.spec +++ b/python-jupyter-core.spec @@ -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 diff --git a/use_rpms_paths.patch b/use_rpms_paths.patch index f1ebb0d..81c3219 100644 --- a/use_rpms_paths.patch +++ b/use_rpms_paths.patch @@ -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"))]