From cec6425694e01606b1f0e7e825bd945b6c7db921 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Sep 21 2021 09:36:16 +0000 Subject: Update to 6.4.1 --- diff --git a/python-ipykernel.spec b/python-ipykernel.spec index 168e2c3..7b08f64 100644 --- a/python-ipykernel.spec +++ b/python-ipykernel.spec @@ -1,18 +1,21 @@ %global modname ipykernel Name: python-%{modname} -Version: 5.5.0 -Release: 4%{?dist} +Version: 6.4.1 +Release: 1%{?dist} Summary: IPython Kernel for Jupyter License: BSD URL: https://github.com/ipython/%{modname} -Source0: https://github.com/ipython/%{modname}/archive/%{version}/%{modname}-%{version}.tar.gz +Source0: https://github.com/ipython/%{modname}/releases/download/v%{version}/%{modname}-%{version}.tar.gz BuildArch: noarch BuildRequires: make +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros BuildRequires: python3-sphinx BuildRequires: python3-sphinxcontrib-github-alt +BuildRequires: python3-myst-parser %global _description \ This package provides the IPython kernel for Jupyter. @@ -22,17 +25,6 @@ This package provides the IPython kernel for Jupyter. %package -n python%{python3_pkgversion}-%{modname} Summary: %{summary} %{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}} -BuildRequires: python%{python3_pkgversion}-devel -BuildRequires: python%{python3_pkgversion}-setuptools -BuildRequires: python%{python3_pkgversion}-flaky -BuildRequires: python%{python3_pkgversion}-ipython >= 5 -BuildRequires: python%{python3_pkgversion}-jupyter-client -BuildRequires: python%{python3_pkgversion}-traitlets >= 4.1.0 -BuildRequires: python%{python3_pkgversion}-tornado >= 4.2 -# we utilize pytest to run the tests, but the testsuite still imports from nose -BuildRequires: python%{python3_pkgversion}-nose -BuildRequires: python%{python3_pkgversion}-pytest -BuildRequires: python%{python3_pkgversion}-numpy Requires: python-jupyter-filesystem # When we bootstrap new Python, we don't yet have all the documentation packages @@ -65,6 +57,11 @@ This package contains the documentation of %{name}. %prep %autosetup -p1 -n %{modname}-%{version} +# Remove the dependency on debugpy. +# See https://github.com/ipython/ipykernel/pull/767 +sed -i "/'debugpy.*',/d" setup.py +sed -i '/"debugpy",/d' pyproject.toml + %if %{with intersphinx} # Use local objects.inv for intersphinx: sed -e "s|\(('https://docs.python.org/3/', \)None)|\1'/usr/share/doc/python3-docs/html/objects.inv')|" \ @@ -73,13 +70,16 @@ sed -e "s|\(('https://docs.python.org/3/', \)None)|\1'/usr/share/doc/python3-doc -i docs/conf.py %endif +%generate_buildrequires +%pyproject_buildrequires -r -x test + %build -%py3_build +%pyproject_wheel %make_build -C docs html %install -%py3_install +%pyproject_install mkdir -p %{buildroot}%{_docdir}/%{name} cp -fpavr docs/_build/html %{buildroot}%{_docdir}/%{name} rm %{buildroot}%{_docdir}/%{name}/html/.buildinfo @@ -92,7 +92,7 @@ cat %{buildroot}%{_datadir}/jupyter/kernels/python3/kernel.json %check -%{python3} -m pytest ipykernel +%pytest %files -n python%{python3_pkgversion}-%{modname} @@ -100,7 +100,7 @@ cat %{buildroot}%{_datadir}/jupyter/kernels/python3/kernel.json %doc CONTRIBUTING.md MANIFEST.in README.md %{python3_sitelib}/%{modname} %pycached %{python3_sitelib}/%{modname}_launcher.py -%{python3_sitelib}/%{modname}*.egg-info/ +%{python3_sitelib}/%{modname}*.dist-info/ %{_datadir}/jupyter/kernels/python3 %files doc @@ -108,6 +108,10 @@ cat %{buildroot}%{_datadir}/jupyter/kernels/python3/kernel.json %changelog +* Tue Aug 31 2021 Lumír Balhar - 6.4.1-1 +- Update to 6.4.1 +Resolves: rhbz#1936895 + * Fri Jul 23 2021 Fedora Release Engineering - 5.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 66641fb..fe4183e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ipykernel-5.5.0.tar.gz) = 81ec522d04fda44530fc5bf702250bd4fd46fa5780b3b9432edc20952057ad4bbb242b43fa62eba2a24fbdca3df75db622af2a6bc4e8b399a4b80cd7bea63050 +SHA512 (ipykernel-6.4.1.tar.gz) = 31dcebe5c347425062bdec7884ba336a3e08a40d9c650f35512a972e0493b594ad8ba51a76da1bdfcc71306217666c07e39b931bdc23c0641bc35cb720552f30