15
0
forked from pool/python-rope

Accepting request 666513 from devel:languages:python

- Workaround gh#python-rope/rope#247 (some tests fail on Python 3.7)

OBS-URL: https://build.opensuse.org/request/show/666513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=13
This commit is contained in:
Stephan Kulow
2019-02-04 13:24:08 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 16 17:41:43 CET 2019 - mcepl@suse.com
- Workaround gh#python-rope/rope#247 (some tests fail on Python 3.7)
-------------------------------------------------------------------
Wed Aug 29 11:52:04 UTC 2018 - tchvatal@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-rope
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -26,6 +26,7 @@ License: GPL-2.0-or-later
Group: Development/Languages/Python
URL: https://github.com/python-rope/rope
Source: https://files.pythonhosted.org/packages/source/r/rope/rope-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -51,7 +52,10 @@ export LANG=en_US.UTF-8
%check
export LANG=en_US.UTF-8
%python_exec setup.py test
# %%python_exec setup.py test
py.test2 -v
# Work around gh#python-rope/rope#247
py.test3 -v -k 'not (test_hint_parametrized_iterable or test_hint_parametrized_iterator)'
%files %{python_files}
%license COPYING