15
0

Accepting request 754492 from devel:languages:python

- Exclude tests failing with python 3.8 (test_thing_with_fd,
  test_list_with_fd, and test_dict_with_fd). gh#jsonpickle/jsonpickle#281

OBS-URL: https://build.opensuse.org/request/show/754492
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jsonpickle?expand=0&rev=5
This commit is contained in:
2019-12-11 11:10:05 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Dec 5 18:13:07 CET 2019 - Matej Cepl <mcepl@suse.com>
- Exclude tests failing with python 3.8 (test_thing_with_fd,
test_list_with_fd, and test_dict_with_fd). gh#jsonpickle/jsonpickle#281
-------------------------------------------------------------------
Mon Jun 17 11:54:50 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-jsonpickle
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -38,6 +38,8 @@ BuildRequires: %{python_module coverage}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pymongo}
BuildRequires: %{python_module pytest}
BuildRequires: python
BuildRequires: python3
# /SECTION
# SECTION python 2 test requirements
BuildRequires: python-enum34
@@ -65,7 +67,8 @@ Additionally, it can reconstitute the object back into Python.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
# Exclusions because of gh#jsonpickle/jsonpickle#281
%pytest -k 'not (test_thing_with_fd or test_list_with_fd or test_dict_with_fd)'
%files %{python_files}
%doc README.rst docs/source/changelog.rst