Skip to content

Commit fdb0a1f

Browse files
authored
Fix python-more-itertools Ptest (#13632)
1 parent 0e479f8 commit fdb0a1f

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

SPECS/python-more-itertools/python-more-itertools.spec

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Python iterables.}
66
Summary: More routines for operating on Python iterables, beyond itertools
77
Name: python-more-itertools
88
Version: 10.2.0
9-
Release: 1%{?dist}
9+
Release: 2%{?dist}
1010
License: MIT
1111
Vendor: Microsoft Corporation
1212
Distribution: Azure Linux
@@ -17,6 +17,9 @@ BuildRequires: python3-flit-core
1717
BuildRequires: python3-pip
1818
BuildRequires: python3-wheel
1919
BuildArch: noarch
20+
%if 0%{?with_check}
21+
BuildRequires: python3-pytest
22+
%endif
2023

2124
%description %{_description}
2225

@@ -36,14 +39,16 @@ Summary: %{summary}
3639
%pyproject_save_files more_itertools
3740

3841
%check
39-
pip3 install tox
40-
tox -e py%{python3_version_nodots}
42+
%pytest
4143

4244
%files -n python3-more-itertools -f %{pyproject_files}
4345
%doc README.rst
4446
%license LICENSE
4547

4648
%changelog
49+
* Tue Apr 29 2025 Riken Maharjan <rmaharjan@microsoft.com> - 10.2.0-2
50+
- Switch to pytest from tox to fix the pytest
51+
4752
* Fri Feb 09 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 10.2.0-1
4853
- Auto-upgrade to 10.2.0 - 3.0 package upgrade
4954

0 commit comments

Comments
 (0)