diff --git a/packages/p/python-cloudpickle/.files b/packages/p/python-cloudpickle/.files
index 5cae5f39da3..bc8e02d1cc6 100644
Binary files a/packages/p/python-cloudpickle/.files and b/packages/p/python-cloudpickle/.files differ
diff --git a/packages/p/python-cloudpickle/.rev b/packages/p/python-cloudpickle/.rev
index 70b94d32709..de23d4fb28c 100644
--- a/packages/p/python-cloudpickle/.rev
+++ b/packages/p/python-cloudpickle/.rev
@@ -122,4 +122,12 @@
* Add support for pickling "getset" descriptors (issue #290)
733396
+
+ fc089a52f35cc5e9da185e1977f8bafa
+ 1.2.2
+
+ dimstar_suse
+ - Exclude failing tests gh#cloudpipe/cloudpickle#316
+ 758142
+
diff --git a/packages/p/python-cloudpickle/python-cloudpickle.changes b/packages/p/python-cloudpickle/python-cloudpickle.changes
index cfe75d81720..c2c9b56431e 100644
--- a/packages/p/python-cloudpickle/python-cloudpickle.changes
+++ b/packages/p/python-cloudpickle/python-cloudpickle.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Thu Dec 19 11:53:07 CET 2019 - Matej Cepl
+
+- Exclude failing tests gh#cloudpipe/cloudpickle#316
+
-------------------------------------------------------------------
Thu Sep 26 10:40:19 UTC 2019 - Tomáš Chvátal
diff --git a/packages/p/python-cloudpickle/python-cloudpickle.spec b/packages/p/python-cloudpickle/python-cloudpickle.spec
index 45d07bcd25a..89632250251 100644
--- a/packages/p/python-cloudpickle/python-cloudpickle.spec
+++ b/packages/p/python-cloudpickle/python-cloudpickle.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-cloudpickle
#
-# 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
@@ -25,11 +25,6 @@ License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/cloudpipe/cloudpickle
Source: https://files.pythonhosted.org/packages/source/c/cloudpickle/cloudpickle-%{version}.tar.gz
-BuildRequires: %{python_module setuptools}
-BuildRequires: fdupes
-BuildRequires: python-futures
-BuildRequires: python-rpm-macros
-BuildArch: noarch
BuildRequires: %{python_module curses}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module numpy >= 1.8.2}
@@ -37,11 +32,16 @@ BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module scipy}
+BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tornado}
+BuildRequires: fdupes
+BuildRequires: python-futures
+BuildRequires: python-rpm-macros
Requires: python-curses
Requires: python-numpy >= 1.8.2
Requires: python-scipy
Requires: python-tornado
+BuildArch: noarch
%python_subpackages
%description
@@ -68,7 +68,8 @@ functions and classes defined interactively in the __main__ module.
%check
export PYTHONPATH='.:tests'
-%pytest -s
+# Because of gh#cloudpipe/cloudpickle#316
+%pytest -s -k 'not (test_dynamic_module or test_load_dynamic_module_in_grandchild_process)'
%files %{python_files}
%doc README.md