Hello community, here is the log from the commit of package python-terminado for openSUSE:Factory checked in at 2018-02-14 10:52:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-terminado (Old) and /work/SRC/openSUSE:Factory/.python-terminado.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-terminado" Wed Feb 14 10:52:36 2018 rev:5 rq:576403 version:0.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-terminado/python-terminado.changes 2017-12-29 00:03:01.562918205 +0100 +++ /work/SRC/openSUSE:Factory/.python-terminado.new/python-terminado.changes 2018-02-14 10:52:37.183529244 +0100 @@ -1,0 +2,6 @@ +Tue Feb 13 22:05:59 UTC 2018 - [email protected] + +- Disable tests until random testing race condition fixed + * see: https://github.com/jupyter/terminado/issues/21 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-terminado.spec ++++++ --- /var/tmp/diff_new_pack.oq12mc/_old 2018-02-14 10:52:37.899503474 +0100 +++ /var/tmp/diff_new_pack.oq12mc/_new 2018-02-14 10:52:37.899503474 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-terminado # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,8 @@ # -%bcond_without tests +# Disable tests until random testing race condition fixed, see: https://github.com/jupyter/terminado/issues/21 +%bcond_with tests %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-terminado @@ -25,7 +26,7 @@ Summary: Terminals served to termjs using Tornado websockets License: BSD-2-Clause Group: Development/Languages/Python -Url: https://github.com/takluyver/terminado +Url: https://github.com/jupyter/terminado Source: https://files.pythonhosted.org/packages/source/t/terminado/terminado-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module ptyprocess} @@ -34,11 +35,10 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros %if %{with tests} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} %endif Requires: python-ptyprocess Requires: python-tornado -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -62,7 +62,11 @@ %if %{with tests} %check -%python_expand nosetests-%{$python_bin_suffix} +pushd terminado/tests +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} +py.test-%{$python_bin_suffix} . +} +popd %endif %files %{python_files}
