From e11f70fab1c22247d2faea6c37f4e40862a590738eecc18a0a7f099519139c70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 15 Feb 2021 12:41:06 +0000 Subject: [PATCH] Accepting request 872038 from home:bnavigator:branches:devel:languages:python:jupyter - Update to version 5.4.3 * Rework wait_for_ready logic. - Don't test with python36-numpy because it is no more (NEP 29) - Skip two completion tests due to newer jedi support in ipython gh#ipython/ipykernel#578 gh#ipython/ipykernel#579 OBS-URL: https://build.opensuse.org/request/show/872038 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-ipykernel?expand=0&rev=31 --- ipykernel-5.4.2.tar.gz | 3 --- ipykernel-5.4.3.tar.gz | 3 +++ python-ipykernel.changes | 9 +++++++++ python-ipykernel.spec | 13 ++++++++----- 4 files changed, 20 insertions(+), 8 deletions(-) delete mode 100644 ipykernel-5.4.2.tar.gz create mode 100644 ipykernel-5.4.3.tar.gz diff --git a/ipykernel-5.4.2.tar.gz b/ipykernel-5.4.2.tar.gz deleted file mode 100644 index 95dbcc1..0000000 --- a/ipykernel-5.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e20ceb7e52cb4d250452e1230be76e0b2323f33bd46c6b2bc7abb6601740e182 -size 111450 diff --git a/ipykernel-5.4.3.tar.gz b/ipykernel-5.4.3.tar.gz new file mode 100644 index 0000000..69aeb59 --- /dev/null +++ b/ipykernel-5.4.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:697103d218e9a8828025af7986e033c89e0b36e2b6eb84a5bda4739b9a27f3cb +size 111751 diff --git a/python-ipykernel.changes b/python-ipykernel.changes index 3025a97..4907fcd 100644 --- a/python-ipykernel.changes +++ b/python-ipykernel.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sat Feb 13 23:21:18 UTC 2021 - Ben Greiner + +- Update to version 5.4.3 + * Rework wait_for_ready logic. +- Don't test with python36-numpy because it is no more (NEP 29) +- Skip two completion tests due to newer jedi support in ipython + gh#ipython/ipykernel#578 gh#ipython/ipykernel#579 + ------------------------------------------------------------------- Wed Feb 3 22:39:49 UTC 2021 - Benjamin Greiner diff --git a/python-ipykernel.spec b/python-ipykernel.spec index 28fcbdf..01712cb 100644 --- a/python-ipykernel.spec +++ b/python-ipykernel.spec @@ -1,7 +1,7 @@ # # spec file for package python-ipykernel # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-ipykernel -Version: 5.4.2 +Version: 5.4.3 Release: 0 Summary: IPython Kernel for Jupyter License: BSD-3-Clause @@ -27,9 +27,9 @@ Group: Development/Languages/Python URL: https://github.com/ipython/ipykernel Source: https://files.pythonhosted.org/packages/source/i/ipykernel/ipykernel-%{version}.tar.gz BuildRequires: %{python_module setuptools} -BuildRequires: jupyter-jupyter_core-filesystem BuildRequires: fdupes BuildRequires: hicolor-icon-theme +BuildRequires: jupyter-jupyter_core-filesystem BuildRequires: python-rpm-macros Requires: jupyter-ipykernel = %{version} Requires: python-ipython >= 5.0.0 @@ -53,10 +53,11 @@ BuildRequires: %{python_module jupyter-client} BuildRequires: %{python_module jupyter-core} BuildRequires: %{python_module nose_warnings_filters} BuildRequires: %{python_module nose} -BuildRequires: %{python_module numpy} BuildRequires: %{python_module pytest} BuildRequires: %{python_module tornado >= 4.2} BuildRequires: %{python_module traitlets >= 4.1.0} +BuildRequires: %{python_module matplotlib if (%python-base without python36-base)} +BuildRequires: %{python_module numpy if (%python-base without python36-base)} # /SECTION # typing is only built-in for later versions of python %if 0%{?suse_version} <= 1320 @@ -94,7 +95,9 @@ This package provides the jupyter components. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +# These tests expect jedi 0.17.2 return messages, but we use patches to support jedi 0.18 in ipython715 +# and ipython 7.20 fixed its support for jedi 0.18 gh#ipython/ipykernel#578 gh#ipython/ipykernel#579 +%pytest -ra -k "not (test_complete or test_inspect)" %files %{python_files} %doc README.md docs/changelog.rst