Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jupyter-core for
openSUSE:Factory checked in at 2023-01-03 15:04:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter-core (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter-core.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter-core"
Tue Jan 3 15:04:38 2023 rev:13 rq:1045952 version:5.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jupyter-core/python-jupyter-core.changes
2022-10-27 13:52:40.924112684 +0200
+++
/work/SRC/openSUSE:Factory/.python-jupyter-core.new.1563/python-jupyter-core.changes
2023-01-03 15:04:48.522314923 +0100
@@ -1,0 +2,43 @@
+Sun Dec 25 20:25:31 UTC 2022 - Ben Greiner <[email protected]>
+
+- Update to 5.1.1
+ * Only prefer envs owned by the current user #323 (@minrk)
+ * Don't treat the conda root env as an env #324 (@minrk)
+- Release 5.1.0
+ * Add run_sync and ensure_async functions #315 (@davidbrochart)
+- Release 5.0.0
+ ## Major Changes
+ * Prefer Environment Level Configuration. We now make the
+ assumption that if we are running in a virtual environment, we
+ * should prioritize the environment-level sys.prefix over the
+ user-level paths. Users can opt out of this behavior by setting
+ JUPYTER_PREFER_ENV_PATH, which takes precedence over our
+ autodetection.
+ * Migrate to Standard Platform Directories. In version 5, we
+ introduce a JUPYTER_PLATFORM_DIRS environment variable to opt
+ in * to using more appropriate platform-specific directories.
+ We raise a deprecation warning if the variable is not set. In
+ version 6, JUPYTER_PLATFORM_DIRS will be opt-out. In version 7,
+ we will remove the environment variable checks and old
+ directory logic.
+ * Drop Support for Python 3.7
+ * We are dropping support for Python 3.7 ahead of its official
+ end of life, to reduce * maintenance burden as we add support
+ for Python 3.11.
+ * Use platformdirs for path locations #292 (@blink1073)
+ * Try to detect if we are in a virtual environment and change
+ path precedence * accordingly #286 (@jasongrout)
+ * Add current working directory as first config path #291
+ (@blink1073)
+ * Fix inclusion of jupyter file and check in CI #276 (@blink1073)
+ * Bump github/codeql-action from 1 to 2 #308 (@dependabot)
+ * Bump actions/checkout from 2 to 3 #307 (@dependabot)
+ * Add dependabot #306 (@blink1073)
+ * Adopt jupyter releaser #305 (@blink1073)
+ * Add more typing #304 (@blink1073)
+ * Require Python 3.8+ #302 (@blink1073)
+ * Use hatch backend #265 (@blink1073)
+ * Switch to flit build backend #262 (@blink1073)
+ * is_hidden: Use normalized paths #271 (@martinRenou)
+
+-------------------------------------------------------------------
Old:
----
jupyter_core-4.11.2.tar.gz
New:
----
jupyter_core-5.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter-core.spec ++++++
--- /var/tmp/diff_new_pack.VcSSxo/_old 2023-01-03 15:04:49.114318379 +0100
+++ /var/tmp/diff_new_pack.VcSSxo/_new 2023-01-03 15:04:49.122318425 +0100
@@ -31,8 +31,9 @@
%define psuffix %{nil}
%bcond_with test
%endif
+
Name: python-jupyter-core%{psuffix}
-Version: 4.11.2
+Version: 5.1.1
Release: 0
Summary: Base package on which Jupyter projects rely
License: BSD-3-Clause
@@ -40,12 +41,13 @@
Source0:
https://files.pythonhosted.org/packages/source/j/jupyter_core/jupyter_core-%{version}.tar.gz
# PATCH-FIX-OPENSUSE -- use_rpms_paths.patch -- change paths so they are easy
to replace at build time
Patch0: use_rpms_paths.patch
-BuildRequires: %{python_module base >= 3.7}
+BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929
-Requires: python-traitlets
+Requires: python-platformdirs >= 2.5
+Requires: python-traitlets >= 5.3
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
@@ -83,8 +85,8 @@
%prep
%autosetup -p1 -n jupyter_core-%{version}
# Set the appropriate hardcoded paths dynamically
-sed -i "s|\"_datadir_jupyter_\"|\"%{_datadir}/jupyter\"|" jupyter_core/paths.py
-sed -i "s|\"_sysconfdir_jupyter_\"|\"%{_sysconfdir}/jupyter\"|"
jupyter_core/paths.py
+sed -i "s|@_datadir_jupyter_@|\"%{_datadir}/jupyter\"|" jupyter_core/paths.py
+sed -i "s|@_distconfdir_jupyter_@|\"%{_distconfdir}/jupyter\"|"
jupyter_core/paths.py
sed -i "/addopts/ s/--color=yes//" pyproject.toml
%if !%{with test}
@@ -107,8 +109,11 @@
%if %{with test}
%check
-# test_jupyter_path_prefer_env does not work outside venvs:
gh#jupyter/jupyter_core#208
-%pytest -k "not test_jupyter_path_prefer_env"
+# does not work outside venvs: gh#jupyter/jupyter_core#208
+donttest="test_jupyter_path_prefer_env or test_jupyter_config_path_prefer_env"
+# we changed the xdg path
+donttest="$donttest or test_config_dir_linux"
+%pytest -k "not ($donttest)"
%endif
%pre
++++++ jupyter_core-4.11.2.tar.gz -> jupyter_core-5.1.1.tar.gz ++++++
++++ 6016 lines of diff (skipped)
++++++ use_rpms_paths.patch ++++++
--- /var/tmp/diff_new_pack.VcSSxo/_old 2023-01-03 15:04:49.482320527 +0100
+++ /var/tmp/diff_new_pack.VcSSxo/_new 2023-01-03 15:04:49.482320527 +0100
@@ -7,32 +7,32 @@
---
-Index: jupyter_core-4.11.1/jupyter_core/paths.py
+Index: jupyter_core-5.1.1/jupyter_core/paths.py
===================================================================
---- jupyter_core-4.11.1.orig/jupyter_core/paths.py
-+++ jupyter_core-4.11.1/jupyter_core/paths.py
-@@ -130,10 +130,7 @@ if os.name == "nt":
- else: # PROGRAMDATA is not defined by default on XP.
- SYSTEM_JUPYTER_PATH = [os.path.join(sys.prefix, "share", "jupyter")]
- else:
-- SYSTEM_JUPYTER_PATH = [
-- "/usr/local/share/jupyter",
-- "/usr/share/jupyter",
-- ]
-+ SYSTEM_JUPYTER_PATH = ["_datadir_jupyter_"]
+--- jupyter_core-5.1.1.orig/jupyter_core/paths.py
++++ jupyter_core-5.1.1/jupyter_core/paths.py
+@@ -219,10 +219,7 @@ else:
+ else: # PROGRAMDATA is not defined by default on XP.
+ SYSTEM_JUPYTER_PATH = [os.path.join(sys.prefix, "share",
"jupyter")]
+ else:
+- SYSTEM_JUPYTER_PATH = [
+- "/usr/local/share/jupyter",
+- "/usr/share/jupyter",
+- ]
++ SYSTEM_JUPYTER_PATH = [ @_datadir_jupyter_@ ]
- ENV_JUPYTER_PATH = [os.path.join(sys.prefix, "share", "jupyter")]
+ ENV_JUPYTER_PATH: List[str] = [os.path.join(sys.prefix, "share", "jupyter")]
-@@ -207,10 +204,7 @@ if os.name == "nt":
- else: # PROGRAMDATA is not defined by default on XP.
- SYSTEM_CONFIG_PATH = []
- else:
-- SYSTEM_CONFIG_PATH = [
-- "/usr/local/etc/jupyter",
-- "/etc/jupyter",
-- ]
-+ SYSTEM_CONFIG_PATH = ["_sysconfdir_jupyter_"]
+@@ -301,10 +298,7 @@ else:
+ else: # PROGRAMDATA is not defined by default on XP.
+ SYSTEM_CONFIG_PATH = []
+ else:
+- 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")]
- ENV_CONFIG_PATH = [os.path.join(sys.prefix, "etc", "jupyter")]