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 2022-08-03 21:16:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jupyter-core (Old) and /work/SRC/openSUSE:Factory/.python-jupyter-core.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter-core" Wed Aug 3 21:16:18 2022 rev:11 rq:992082 version:4.11.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jupyter-core/python-jupyter-core.changes 2022-03-14 19:37:06.518129423 +0100 +++ /work/SRC/openSUSE:Factory/.python-jupyter-core.new.1533/python-jupyter-core.changes 2022-08-03 21:16:22.523391268 +0200 @@ -1,0 +2,13 @@ +Mon Aug 1 17:56:47 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Update to 4.11.1 + * Fix inclusion of jupyter file and check in CI by @blink1073 in + #276 +- Release 4.11.0 + * Use hatch backend by @blink1073 in #265 + * is_hidden: Use normalized paths by @martinRenou in #271 +- Release 4.10.0 + * Include all files from jupyter_core by @jonringer in #253 +- Refresh use_rpms_paths.patch + +------------------------------------------------------------------- Old: ---- jupyter_core-4.9.2.tar.gz New: ---- jupyter_core-4.11.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jupyter-core.spec ++++++ --- /var/tmp/diff_new_pack.rECcNv/_old 2022-08-03 21:16:23.235393136 +0200 +++ /var/tmp/diff_new_pack.rECcNv/_new 2022-08-03 21:16:23.243393157 +0200 @@ -31,10 +31,8 @@ %define psuffix %{nil} %bcond_with test %endif -%{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 Name: python-jupyter-core%{psuffix} -Version: 4.9.2 +Version: 4.11.1 Release: 0 Summary: Base package on which Jupyter projects rely License: BSD-3-Clause @@ -42,12 +40,11 @@ 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 setuptools} -BuildRequires: %{python_module traitlets} +BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} BuildRequires: fdupes -BuildRequires: jupyter-jupyter_core-filesystem BuildRequires: python-rpm-macros >= 20210929 -Requires: jupyter-jupyter_core-filesystem Requires: python-traitlets %if %{with libalternatives} BuildRequires: alts @@ -67,7 +64,8 @@ %endif BuildArch: noarch %if %{with test} -BuildRequires: %{python_module jupyter-core} +BuildRequires: %{python_module ipykernel} +BuildRequires: %{python_module jupyter-core = %{version}} BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest} %endif @@ -87,13 +85,16 @@ # 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 "/addopts/ s/--color=yes//" pyproject.toml +%if !%{with test} %build -%python_build +%pyproject_wheel +%endif -%install %if !%{with test} -%python_install +%install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/jupyter %python_clone -a %{buildroot}%{_bindir}/jupyter-migrate %python_clone -a %{buildroot}%{_bindir}/jupyter-troubleshoot @@ -106,10 +107,8 @@ %if %{with test} %check -pushd jupyter_core/tests # test_jupyter_path_prefer_env does not work outside venvs: gh#jupyter/jupyter_core#208 %pytest -k "not test_jupyter_path_prefer_env" -popd %endif %pre ++++++ jupyter_core-4.9.2.tar.gz -> jupyter_core-4.11.1.tar.gz ++++++ ++++ 7758 lines of diff (skipped) ++++++ use_rpms_paths.patch ++++++ --- /var/tmp/diff_new_pack.rECcNv/_old 2022-08-03 21:16:23.351393441 +0200 +++ /var/tmp/diff_new_pack.rECcNv/_new 2022-08-03 21:16:23.363393472 +0200 @@ -7,11 +7,13 @@ --- ---- a/jupyter_core/paths.py -+++ b/jupyter_core/paths.py -@@ -124,10 +124,7 @@ if os.name == 'nt': +Index: jupyter_core-4.11.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')] + SYSTEM_JUPYTER_PATH = [os.path.join(sys.prefix, "share", "jupyter")] else: - SYSTEM_JUPYTER_PATH = [ - "/usr/local/share/jupyter", @@ -19,9 +21,9 @@ - ] + SYSTEM_JUPYTER_PATH = ["_datadir_jupyter_"] - ENV_JUPYTER_PATH = [os.path.join(sys.prefix, 'share', 'jupyter')] + ENV_JUPYTER_PATH = [os.path.join(sys.prefix, "share", "jupyter")] -@@ -186,10 +183,7 @@ if os.name == 'nt': +@@ -207,10 +204,7 @@ if os.name == "nt": else: # PROGRAMDATA is not defined by default on XP. SYSTEM_CONFIG_PATH = [] else: @@ -31,6 +33,6 @@ - ] + SYSTEM_CONFIG_PATH = ["_sysconfdir_jupyter_"] - ENV_CONFIG_PATH = [os.path.join(sys.prefix, 'etc', 'jupyter')] + ENV_CONFIG_PATH = [os.path.join(sys.prefix, "etc", "jupyter")]