New upstream source 5.1
Deselect some tests failling with Python 3.11 (https://github.com/astropy/astropy/issues/13522)
This commit is contained in:
parent
a85ac5efa3
commit
37fab01e9b
|
@ -3,8 +3,8 @@
|
|||
%global srcname astropy
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 5.0.4
|
||||
Release: 4%{?dist}
|
||||
Version: 5.1
|
||||
Release: 1%{?dist}
|
||||
Summary: A Community Python Library for Astronomy
|
||||
License: BSD
|
||||
|
||||
|
@ -106,7 +106,22 @@ export CPATH="/usr/include/cfitsio:/usr/include/wcslib"
|
|||
%if %{with check}
|
||||
%check
|
||||
export PYTEST_ADDOPTS='-p no:cacheprovider'
|
||||
# https://github.com/astropy/astropy/issues/13522
|
||||
pytest_args=(
|
||||
--deselect astropy/coordinates/tests/test_pickle.py::test_simple_object
|
||||
--deselect astropy/cosmology/flrw/tests/test_base.py::TestFLRW::test_name
|
||||
--deselect astropy/cosmology/flrw/tests/test_lambdacdm.py::TestLambdaCDM::test_name
|
||||
--deselect astropy/cosmology/flrw/tests/test_lambdacdm.py::TestFlatLambdaCDM::test_name
|
||||
--deselect astropy/cosmology/flrw/tests/test_w0cdm.py::TestwCDM::test_name
|
||||
--deselect astropy/cosmology/flrw/tests/test_w0cdm.py::TestFlatwCDM::test_name
|
||||
--deselect astropy/cosmology/flrw/tests/test_w0wacdm.py::Testw0waCDM::test_name
|
||||
--deselect astropy/cosmology/flrw/tests/test_w0wacdm.py::TestFlatw0waCDM::test_name
|
||||
--deselect astropy/cosmology/flrw/tests/test_w0wzcdm.py::Testw0wzCDM::test_name
|
||||
--deselect astropy/cosmology/flrw/tests/test_wpwazpcdm.py::TestwpwaCDM::test_name
|
||||
--deselect astropy/cosmology/tests/test_core.py::TestCosmology::test_name
|
||||
--deselect "astropy/table/tests/test_pprint.py::TestColumnsShowHide::test_remove[pprint_exclude_names]"
|
||||
--deselect "astropy/table/tests/test_pprint.py::TestColumnsShowHide::test_remove[pprint_include_names]"
|
||||
--deselect astropy/time/tests/test_mask.py::test_mask_not_writeable
|
||||
%ifarch i686
|
||||
--deselect astropy/io/fits/tests/test_table.py::TestVLATables::test_copy_vla
|
||||
%endif
|
||||
|
@ -114,7 +129,7 @@ pytest_args=(
|
|||
|
||||
cp conftest.py %{buildroot}/%{python3_sitearch}
|
||||
pushd %{buildroot}/%{python3_sitearch}
|
||||
%{pytest} "${pytest_args[@]}" --hypothesis-profile="ci" -x
|
||||
%{pytest} "${pytest_args[@]}" --hypothesis-profile="ci"
|
||||
# remove hypothesis dir
|
||||
rm -rf .hypothesis
|
||||
rm conftest.py
|
||||
|
@ -135,6 +150,10 @@ popd
|
|||
%license LICENSE.rst
|
||||
|
||||
%changelog
|
||||
* Thu Aug 25 2022 Sergio Pascual <sergiopr@fedoraproject.org> - 5.1-1
|
||||
- New upstream source 5.1
|
||||
- Deselect some tests failling with Python 3.11 (https://github.com/astropy/astropy/issues/13522)
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue