diff --git a/python-ipykernel.changes b/python-ipykernel.changes index 3cd46a5..d56795c 100644 --- a/python-ipykernel.changes +++ b/python-ipykernel.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Sep 25 12:42:14 UTC 2024 - Ben Greiner + +- Always install the python3 kernelspec. The command replacement + was inactive since v6.13. A plain python command is transformed + correctly by the calling interpreter. + ------------------------------------------------------------------- Fri Aug 30 09:27:37 UTC 2024 - Ben Greiner diff --git a/python-ipykernel.spec b/python-ipykernel.spec index 1221503..b612c6e 100644 --- a/python-ipykernel.spec +++ b/python-ipykernel.spec @@ -96,9 +96,6 @@ sed -i -e 's/, "--color=yes"//' pyproject.toml %install %pyproject_install -# use the symlink for the default python3 flavor, which was installed during the install but used python3.X name -# from the primary flavor. -sed -i "s|$(readlink -f python3)|python3|" %{buildroot}%{_jupyter_kernel_dir}/python3/kernel.json %{python_expand # install kernelspecs for each flavor PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m ipykernel install \ @@ -127,8 +124,6 @@ donttest="$donttest or test_do_apply" %{python_sitelib}/ipykernel-%{version}*-info %pycache_only %{python_sitelib}/__pycache__/ipykernel_launcher*.pyc %{_jupyter_kernel_dir}/python%{python_bin_suffix} -%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" %{_jupyter_kernel_dir}/python3 -%endif %changelog