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
This commit is contained in:
Markéta Machová 2021-02-15 12:41:06 +00:00 committed by Git OBS Bridge
parent f5e618309b
commit e11f70fab1
4 changed files with 20 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e20ceb7e52cb4d250452e1230be76e0b2323f33bd46c6b2bc7abb6601740e182
size 111450

3
ipykernel-5.4.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:697103d218e9a8828025af7986e033c89e0b36e2b6eb84a5bda4739b9a27f3cb
size 111751

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat Feb 13 23:21:18 UTC 2021 - Ben Greiner <code@bnavigator.de>
- 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 <code@bnavigator.de>

View File

@ -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