Skip to content

Commit 085c900

Browse files
authored
Fix ptest for subunit (#16113)
1 parent e33721f commit 085c900

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

SPECS/subunit/subunit.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Summary: C bindings for subunit
1111
Name: subunit
1212
Version: 1.4.4
13-
Release: 6%{?dist}
13+
Release: 7%{?dist}
1414
License: Apache-2.0 OR BSD-3-Clause
1515
Vendor: Microsoft Corporation
1616
Distribution: Azure Linux
@@ -198,7 +198,7 @@ touch -r c++/SubunitTestProgressListener.h \
198198

199199
%check
200200
%if %{without bootstrap}
201-
pip3 install testtools iso8601 testscenarios fixtures
201+
pip3 install "testtools <= 2.7.2" iso8601 testscenarios fixtures
202202
# Run the tests for python3
203203
export LD_LIBRARY_PATH=$PWD/.libs
204204
export PYTHON=%{python3}
@@ -248,6 +248,9 @@ make check
248248
%{_bindir}/tap2subunit
249249

250250
%changelog
251+
* Wed Mar 04 2026 Jyoti Kanase <v-jykanase@microsoft.com> - 1.4.4-7
252+
- pin compatible version of testtools and fixtures to fix the test
253+
251254
* Fri Jan 31 2025 Sam Meluch <sammeluch@microsoft.com> - 1.4.4-6
252255
- Add testtools install to %check section to fix ptest
253256

0 commit comments

Comments
 (0)