From 0bd16521c7e319fda73a712b326c26b9c80454d1f34c9926a0c362bc5e822d38 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 5 Dec 2019 17:14:02 +0000 Subject: [PATCH 1/3] - 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/package/show/devel:languages:python/python-jsonpickle?expand=0&rev=12 --- python-jsonpickle.changes | 6 ++++++ python-jsonpickle.spec | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-jsonpickle.changes b/python-jsonpickle.changes index 8a82c39..3610c5f 100644 --- a/python-jsonpickle.changes +++ b/python-jsonpickle.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 5 18:13:07 CET 2019 - Matej Cepl + +- 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 diff --git a/python-jsonpickle.spec b/python-jsonpickle.spec index eea6392..e2031d1 100644 --- a/python-jsonpickle.spec +++ b/python-jsonpickle.spec @@ -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 @@ -65,7 +65,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 From 297d77d4ccf9dfa798468a8f96a95762ba9921288594981802eb29a4687e53a8 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 5 Dec 2019 17:29:28 +0000 Subject: [PATCH 2/3] Add BR: python OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonpickle?expand=0&rev=13 --- python-jsonpickle.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-jsonpickle.spec b/python-jsonpickle.spec index e2031d1..ad0e2e5 100644 --- a/python-jsonpickle.spec +++ b/python-jsonpickle.spec @@ -38,6 +38,8 @@ BuildRequires: %{python_module coverage} BuildRequires: %{python_module numpy} BuildRequires: %{python_module pymongo} BuildRequires: %{python_module pytest} +# Provided by both python and python3 +BuildRequires: python # /SECTION # SECTION python 2 test requirements BuildRequires: python-enum34 From 75904ecb7bee47f44408a1decbee617569e8446adafcdfce5943fb9e19942493 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 5 Dec 2019 17:51:38 +0000 Subject: [PATCH 3/3] Add BR: python3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonpickle?expand=0&rev=14 --- python-jsonpickle.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-jsonpickle.spec b/python-jsonpickle.spec index ad0e2e5..1573871 100644 --- a/python-jsonpickle.spec +++ b/python-jsonpickle.spec @@ -38,8 +38,8 @@ BuildRequires: %{python_module coverage} BuildRequires: %{python_module numpy} BuildRequires: %{python_module pymongo} BuildRequires: %{python_module pytest} -# Provided by both python and python3 BuildRequires: python +BuildRequires: python3 # /SECTION # SECTION python 2 test requirements BuildRequires: python-enum34