Use pytest instead of the deprecated nose test runner
This commit is contained in:
parent
951ce1e496
commit
9da0034754
1 changed files with 6 additions and 3 deletions
|
|
@ -22,7 +22,7 @@ doi: 10.1145/2945292.2945324\
|
|||
|
||||
Name: python-mmtf
|
||||
Version: 1.1.2
|
||||
Release: 14%{?dist}
|
||||
Release: 15%{?dist}
|
||||
Summary: A decoding library for the macromolecular transmission format (MMTF)
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/rcsb/mmtf-python
|
||||
|
|
@ -38,7 +38,7 @@ BuildRequires: python3-devel
|
|||
BuildRequires: python3-setuptools
|
||||
%if %{with check}
|
||||
BuildRequires: python3-msgpack
|
||||
BuildRequires: python3-nose
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-numpy
|
||||
%endif
|
||||
%{?python_provide:%python_provide python3-mmtf}
|
||||
|
|
@ -58,7 +58,7 @@ Requires: python3-msgpack
|
|||
|
||||
%if %{with check}
|
||||
%check
|
||||
nosetests-%{python3_version}
|
||||
%pytest mmtf/tests/codec_tests.py
|
||||
%endif
|
||||
|
||||
%files -n python3-mmtf
|
||||
|
|
@ -68,6 +68,9 @@ nosetests-%{python3_version}
|
|||
%{python3_sitelib}/mmtf
|
||||
|
||||
%changelog
|
||||
* Wed Dec 15 2021 Charalampos Stratakis <cstratak@redhat.com> - 1.1.2-15
|
||||
- Use pytest instead of the deprecated nose test runner
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue