]> git.pld-linux.org Git - packages/python-ipykernel.git/commitdiff
- jupyter_client is required also for setup; added ipykernel 5.x note
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 15 Sep 2020 14:15:00 +0000 (16:15 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 15 Sep 2020 14:15:00 +0000 (16:15 +0200)
python-ipykernel.spec

index 00c746ec7ccead24c125003fe44fb27ee382b21f..4a39fc864019ab84bc57b1af681fe32b4a7d73bb 100644 (file)
@@ -1,3 +1,4 @@
+# NOTE: for versions >= 5 (for python 3.4+) see python3-ipykernel.spec
 #
 # Conditional build:
 %bcond_without doc     # Sphinx documentation
@@ -8,6 +9,7 @@
 Summary:       IPython kernel for Jupyter
 Summary(pl.UTF-8):     JÄ…dro IPythona dla Jupytera
 Name:          python-ipykernel
+# keep 4.x here for python2 support
 Version:       4.10.1
 Release:       3
 License:       BSD
@@ -18,11 +20,11 @@ Source0:    https://files.pythonhosted.org/packages/source/i/ipykernel/ipykernel-%{
 Patch0:                %{name}-use_setuptools.patch
 URL:           https://pypi.org/project/ipykernel/
 %if %{with python2}
+BuildRequires: python-jupyter_client
 BuildRequires: python-modules >= 1:2.7
 BuildRequires: python-setuptools
 %if %{with tests}
 BuildRequires: python-ipython >= 4.0.0
-BuildRequires: python-jupyter_client
 BuildRequires: python-mock
 BuildRequires: python-nose
 BuildRequires: python-pytest
@@ -32,11 +34,12 @@ BuildRequires:      python-tornado >= 4.0
 %endif
 %endif
 %if %{with python3}
+BuildRequires: python3-jupyter_client
 BuildRequires: python3-modules >= 1:3.4
 BuildRequires: python3-setuptools
 %if %{with tests}
 BuildRequires: python3-ipython >= 4.0.0
-BuildRequires: python3-jupyter_client
+BuildRequires: python3-jupyter_client < 6
 BuildRequires: python3-nose
 BuildRequires: python3-pytest
 BuildRequires: python3-pytest-cov
This page took 0.070171 seconds and 4 git commands to generate.