forked from pool/python-jupyter-core
Compare commits
5 Commits
Author | SHA256 | Date | |
---|---|---|---|
394c79b4ae | |||
869af343a7 | |||
87c9025091 | |||
933ef440b2 | |||
b0b1d0259f |
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aa5f8d32bbf6b431ac830496da7392035d6f61b4f54872f15c4bd2a9c3f536d9
|
||||
size 87629
|
3
jupyter_core-5.8.1.tar.gz
Normal file
3
jupyter_core-5.8.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0a5f9706f70e64786b75acba995988915ebd4601c8a52e534a40b51c95f59941
|
||||
size 88923
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 21 15:50:34 UTC 2025 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 5.8.1
|
||||
* Fixes a regression in 5.8.0 for code which may assume
|
||||
SYSTEM_CONFIG_PATH is non-empty (Jupyter Server).
|
||||
- Release
|
||||
* Fixes CVE-2025-30167 / GHSA-33p9-3p43-82vq on Windows (advisory
|
||||
to be published 2025-06-02)
|
||||
* fix: handle RuntimeError correctly in run_sync #425
|
||||
(@hugokerstens)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 25 08:33:08 UTC 2024 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Add %{?sle15_python_module_pythons}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 22 04:15:02 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-jupyter-core
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -24,16 +24,15 @@
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define skip_python39 1
|
||||
%define psuffix -test
|
||||
%bcond_without test
|
||||
%else
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-jupyter-core%{psuffix}
|
||||
Version: 5.7.2
|
||||
Version: 5.8.1
|
||||
Release: 0
|
||||
Summary: Base package on which Jupyter projects rely
|
||||
License: BSD-3-Clause
|
||||
@ -115,7 +114,7 @@ donttest="test_jupyter_path_prefer_env or test_jupyter_config_path_prefer_env"
|
||||
donttest="$donttest or test_config_dir_linux"
|
||||
# async failure
|
||||
donttest="$donttest or test_ensure_async"
|
||||
%pytest --import-mode=importlib -k "not ($donttest)"
|
||||
%pytest --import-mode=importlib -k "not ($donttest)" --ignore docs
|
||||
%endif
|
||||
|
||||
%pre
|
||||
|
@ -7,12 +7,12 @@ system paths in the .spec file.
|
||||
|
||||
---
|
||||
|
||||
Index: jupyter_core-5.5.1/jupyter_core/paths.py
|
||||
Index: jupyter_core-5.8.1/jupyter_core/paths.py
|
||||
===================================================================
|
||||
--- 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.
|
||||
--- jupyter_core-5.8.1.orig/jupyter_core/paths.py
|
||||
+++ jupyter_core-5.8.1/jupyter_core/paths.py
|
||||
@@ -241,10 +241,7 @@ else:
|
||||
else:
|
||||
SYSTEM_JUPYTER_PATH = [str(Path(sys.prefix, "share", "jupyter"))]
|
||||
else:
|
||||
- SYSTEM_JUPYTER_PATH = [
|
||||
@ -23,7 +23,7 @@ Index: jupyter_core-5.5.1/jupyter_core/paths.py
|
||||
|
||||
ENV_JUPYTER_PATH: list[str] = [str(Path(sys.prefix, "share", "jupyter"))]
|
||||
|
||||
@@ -245,10 +242,10 @@ def jupyter_path(*subdirs: str) -> list[
|
||||
@@ -286,10 +283,10 @@ def jupyter_path(*subdirs: str) -> list[
|
||||
|
||||
Examples:
|
||||
|
||||
@ -38,13 +38,14 @@ Index: jupyter_core-5.5.1/jupyter_core/paths.py
|
||||
"""
|
||||
|
||||
paths: list[str] = []
|
||||
@@ -301,8 +298,7 @@ else:
|
||||
SYSTEM_CONFIG_PATH = []
|
||||
else:
|
||||
SYSTEM_CONFIG_PATH = [
|
||||
- "/usr/local/etc/jupyter",
|
||||
- "/etc/jupyter",
|
||||
+ "@_distconfdir_jupyter_@"
|
||||
]
|
||||
ENV_CONFIG_PATH: list[str] = [str(Path(sys.prefix, "etc", "jupyter"))]
|
||||
@@ -383,8 +380,8 @@ def jupyter_config_path() -> list[str]:
|
||||
|
||||
Examples:
|
||||
|
||||
- >>> jupyter_config_path()
|
||||
- ['~/.jupyter', '~/.local/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter']
|
||||
+ >>> jupyter_config_path() # doctest: +SKIP
|
||||
+ ['~/.jupyter', '~/.local/etc/jupyter', "@_distconfdir_jupyter_@"]
|
||||
|
||||
"""
|
||||
if os.environ.get("JUPYTER_NO_CONFIG"):
|
||||
|
Reference in New Issue
Block a user