Skip to content

Commit 1792e52

Browse files
authored
python-execnet: fix ptest (#12515)
1 parent 5591826 commit 1792e52

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

SPECS/python-execnet/python-execnet.spec

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Summary: Python execution distributor
33
Name: python-%{pkgname}
44
Version: 1.9.0
5-
Release: 2%{?dist}
5+
Release: 3%{?dist}
66
License: MIT
77
URL: https://codespeak.net/execnet/
88
Vendor: Microsoft Corporation
@@ -13,6 +13,8 @@ BuildRequires: python3-setuptools
1313
BuildRequires: python3-setuptools_scm
1414
BuildRequires: python3-wheel
1515
%if %{with check}
16+
# The mariner-release package is required to use tdnf to uninstall a package for the tests
17+
BuildRequires: mariner-release
1618
BuildRequires: python3-pip
1719
%endif
1820
BuildArch: noarch
@@ -31,7 +33,7 @@ a minimal and fast API targetting the following uses:
3133

3234
-distribute tasks to local or remote processes
3335
-write and deploy hybrid multi-process applications
34-
-write scripts to administer multiple hosts}
36+
-write scripts to administer multiple hosts
3537

3638
%prep
3739
%autosetup -n %{pkgname}-%{version}
@@ -43,6 +45,8 @@ a minimal and fast API targetting the following uses:
4345
%py3_install
4446

4547
%check
48+
# Need to remove tomli to allow tox installation via pip
49+
tdnf erase -y python3-tomli
4650
pip3 install tox
4751
sed -i "s/pytest$/pytest==7.1.3/" tox.ini
4852
LANG=en_US.UTF-8 tox -e py%{python3_version_nodots}
@@ -53,6 +57,9 @@ LANG=en_US.UTF-8 tox -e py%{python3_version_nodots}
5357
%{python3_sitelib}/*
5458

5559
%changelog
60+
* Wed Feb 19 2025 Andrew Phelps <anphel@microsoft.com> - 1.9.0-3
61+
- Fix tomli conflict seen during package test setup
62+
5663
* Wed Oct 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.9.0-2
5764
- Freezing 'pytest' test dependency to version 7.1.3.
5865

0 commit comments

Comments
 (0)