diff --git a/jupyter_core-4.8.1.tar.gz b/jupyter_core-4.8.1.tar.gz deleted file mode 100644 index 1d9bf69..0000000 --- a/jupyter_core-4.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ef210dcb4fca04de07f2ead4adf408776aca94d17151d6f750ad6ded0b91ea16 -size 73579 diff --git a/jupyter_core-4.9.1.tar.gz b/jupyter_core-4.9.1.tar.gz new file mode 100644 index 0000000..a0b8b7a --- /dev/null +++ b/jupyter_core-4.9.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dce8a7499da5a53ae3afd5a9f4b02e5df1d57250cf48f3ad79da23b4778cd6fa +size 74787 diff --git a/python-jupyter-core.changes b/python-jupyter-core.changes index c6b1773..fbfd230 100644 --- a/python-jupyter-core.changes +++ b/python-jupyter-core.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Nov 12 21:09:24 UTC 2021 - Ben Greiner + +- Update to 4.9.1 + * Add Python site user base subdirectories to config and data + user-level paths if site.ENABLE_USER_SITE is True. One way to + disable these directory additions is to set the + PYTHONNOUSERSITE environment variable. These locations can be + customized by setting the PYTHONUSERBASE environment variable. + * Add a workaround for virtualenv for getting the user site + directory. + ------------------------------------------------------------------- Fri Nov 12 08:25:01 UTC 2021 - Stefan Schubert diff --git a/python-jupyter-core.spec b/python-jupyter-core.spec index 85eab42..a15ff7d 100644 --- a/python-jupyter-core.spec +++ b/python-jupyter-core.spec @@ -1,5 +1,5 @@ # -# spec file for package python-jupyter-core +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -34,7 +34,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-jupyter-core%{psuffix} -Version: 4.8.1 +Version: 4.9.1 Release: 0 Summary: Base package on which Jupyter projects rely License: BSD-3-Clause @@ -42,7 +42,7 @@ URL: https://github.com/jupyter/jupyter_core 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 -# argv0_subcommand.patch can be removed with releasing version > 4.9.1 +# PATCH-FIX-UPSTREAM argv0_subcommand.patch -- gh#jupyter/jupyter_core#248, merged after the release of 4.9.1 Patch1: argv0_subcommand.patch BuildRequires: %{python_module setuptools} BuildRequires: %{python_module traitlets} @@ -85,9 +85,7 @@ There is no reason to install this package on its own. It will be pulled in as a dependency by packages that require it. %prep -%setup -q -n jupyter_core-%{version} -%patch0 -p1 -%patch1 -p1 +%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 @@ -117,7 +115,6 @@ popd %endif %pre -# removing old update-alternatives entries # If libalternatives is used: Removing old update-alternatives entries. %python_libalternatives_reset_alternative jupyter