Skip to content

Commit 085c675

Browse files
authored
Fix Python-click ptest (#13912)
1 parent ec5a444 commit 085c675

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

SPECS/python-click/python-click.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ comes with good defaults out of the box.
88
Summary: Simple wrapper around optparse for powerful command line utilities
99
Name: python-%{pypi_name}
1010
Version: 8.1.7
11-
Release: 1%{?dist}
11+
Release: 2%{?dist}
1212
License: BSD-3-Clause
1313
Vendor: Microsoft Corporation
1414
Distribution: Azure Linux
@@ -17,6 +17,7 @@ Source0: https://github.com/mitsuhiko/click/archive/%{version}/%{name}-%{
1717
BuildArch: noarch
1818
%if 0%{?with_check}
1919
BuildRequires: python3-pip
20+
BuildRequires: python3-pytest
2021
%endif
2122

2223
%description %{_description}
@@ -39,7 +40,6 @@ BuildRequires: python%{python3_pkgversion}-setuptools
3940
%py3_install
4041

4142
%check
42-
pip3 install pytest==7.2.2
4343
pip3 install .
4444
pytest -v tests
4545

@@ -50,6 +50,9 @@ pytest -v tests
5050
%{python3_sitelib}/%{pypi_name}-*.egg-info/
5151

5252
%changelog
53+
* Wed May 28 2025 Riken Maharjan <rmaharjan@microsoft.com> - 8.1.7-2
54+
- Fix Ptest by using ptest version above 7.4.0. Use system pytest.
55+
5356
* Fri Oct 27 2023 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 8.1.7-1
5457
- Auto-upgrade to 8.1.7 - Azure Linux 3.0 - package upgrades
5558

0 commit comments

Comments
 (0)