| |
@@ -18,7 +18,7 @@
|
| |
|
| |
Name: python-%{pypi_name}
|
| |
Version: 1.4.1
|
| |
- Release: 5%{?dist}
|
| |
+ Release: 6%{?dist}
|
| |
Summary: Library for creating LaTeX files and snippets
|
| |
|
| |
# https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses
|
| |
@@ -78,7 +78,6 @@
|
| |
%if %{with tests}
|
| |
# Explicit requirements for tests
|
| |
BuildRequires: %{py3_dist matplotlib}
|
| |
- BuildRequires: %{py3_dist nose}
|
| |
BuildRequires: %{py3_dist numpy}
|
| |
BuildRequires: %{py3_dist pytest}
|
| |
BuildRequires: %{py3_dist quantities}
|
| |
@@ -160,7 +159,7 @@
|
| |
%check
|
| |
%if %{with tests}
|
| |
# Run tests
|
| |
- nosetests-3 tests/*
|
| |
+ %pytest
|
| |
|
| |
# Test examples
|
| |
pushd examples
|
| |
@@ -183,6 +182,9 @@
|
| |
%endif
|
| |
|
| |
%changelog
|
| |
+ * Wed Mar 16 2022 Charalampos Stratakis <cstratak@redhat.com> - 1.4.1-6
|
| |
+ - Utilize pytest instead of the deprecated nose test runner
|
| |
+
|
| |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-5
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
| |
|
| |