Accepting request 885594 from devel:languages:python:jupyter
OBS-URL: https://build.opensuse.org/request/show/885594 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter_console?expand=0&rev=16
This commit is contained in:
commit
69e148e76e
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6f6ead433b0534909df789ea64f0a14cdf9b6b2360757756f08182be4b9e431b
|
||||
size 28468
|
3
jupyter_console-6.4.0.tar.gz
Normal file
3
jupyter_console-6.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:242248e1685039cd8bff2c2ecb7ce6c1546eb50ee3b08519729e6e881aec19c7
|
||||
size 35765
|
@ -1,22 +0,0 @@
|
||||
Index: jupyter_console-6.1.0/jupyter_console/tests/test_console.py
|
||||
===================================================================
|
||||
--- jupyter_console-6.1.0.orig/jupyter_console/tests/test_console.py 2020-01-16 00:32:32.000000000 +0100
|
||||
+++ jupyter_console-6.1.0/jupyter_console/tests/test_console.py 2020-09-15 12:58:23.543962909 +0200
|
||||
@@ -9,7 +9,7 @@ import sys
|
||||
import tempfile
|
||||
from subprocess import check_output
|
||||
|
||||
-from nose import SkipTest
|
||||
+import pytest
|
||||
|
||||
from traitlets.tests.utils import check_help_all_output
|
||||
from ipython_genutils.testing import decorators as dec
|
||||
@@ -63,7 +63,7 @@ def start_console():
|
||||
try:
|
||||
p = pexpect.spawn(cmd, args=args, env=env)
|
||||
except IOError:
|
||||
- raise SkipTest("Couldn't find command %s" % cmd)
|
||||
+ pytest.skip("Couldn't find command %s" % cmd)
|
||||
|
||||
# timeout after one minute
|
||||
t = 60
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 14 16:06:32 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 6.4.0
|
||||
* no release notes
|
||||
- Drop python-jupyter_console-remove-nose.patch merged upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 10 23:30:30 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -19,14 +19,12 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-jupyter_console
|
||||
Version: 6.1.0
|
||||
Version: 6.4.0
|
||||
Release: 0
|
||||
Summary: Jupyter terminal console
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/jupyter/jupyter_console
|
||||
Source0: https://files.pythonhosted.org/packages/source/j/jupyter_console/jupyter_console-%{version}.tar.gz
|
||||
# https://github.com/jupyter/jupyter_console/pull/230
|
||||
Patch0: python-jupyter_console-remove-nose.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@ -47,7 +45,7 @@ Requires: python-jupyter-client
|
||||
Requires: python-prompt_toolkit >= 2
|
||||
Requires: python-pyzmq
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Provides: python-jupyter-console = %{version}-%{release}
|
||||
%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
|
||||
Provides: jupyter-jupyter_console = %{version}-%{release}
|
||||
@ -64,7 +62,6 @@ This code is based on the single-process IPython terminal.
|
||||
|
||||
%prep
|
||||
%setup -q -n jupyter_console-%{version}
|
||||
%patch0 -p1
|
||||
# always build and install with setuptools: it is needed to get the entrypoint gh#jupyter/jupyter_console#222
|
||||
sed -i '/import sys/ a import setuptools' setup.py
|
||||
|
||||
@ -87,7 +84,7 @@ sed -i '/import sys/ a import setuptools' setup.py
|
||||
|
||||
%files %{python_files}
|
||||
%doc CONTRIBUTING.md README.md
|
||||
%license COPYING.md
|
||||
%license COPYING.md
|
||||
%python_alternative %{_bindir}/jupyter-console
|
||||
%{python_sitelib}/jupyter_console
|
||||
%{python_sitelib}/jupyter_console-%{version}*-info
|
||||
|
Loading…
x
Reference in New Issue
Block a user