diff --git a/python-emcee.spec b/python-emcee.spec index d870c4e..315a801 100644 --- a/python-emcee.spec +++ b/python-emcee.spec @@ -8,7 +8,7 @@ used in several published projects in the Astrophysics literature. Name: python-%{srcname} Version: 2.2.1 -Release: 13%{?dist} +Release: 14%{?dist} Summary: The Python ensemble sampling toolkit for affine-invariant MCMC License: MIT @@ -46,9 +46,13 @@ Requires: python3-numpy %py3_install %check -pushd %{buildroot}/%{python3_sitelib} - nosetests-%{python3_version} -v emcee -popd +# Tests hang on Python 3.8 +%if %{python3_version_nodots} < 38 + pushd %{buildroot}/%{python3_sitelib} + nosetests-%{python3_version} -v emcee + popd +%endif + %files -n python3-%{srcname} %doc AUTHORS.rst HISTORY.rst README.rst @@ -56,6 +60,9 @@ popd %{python3_sitelib}/* %changelog +* Thu Jul 11 2019 Sergio Pascual - 2.2.1-14 +- Do not run the tests on python 3.8 (bz #1705929) + * Thu Jul 11 2019 Sergio Pascual - 2.2.1-13 - Add patch to fix the faulty test "test_nan_lnprob"