22Summary: Python execution distributor
33Name: python-%{pkgname }
44Version: 1.9.0
5- Release: 2 %{?dist }
5+ Release: 3 %{?dist }
66License: MIT
77URL: https://codespeak.net/execnet/
88Vendor: Microsoft Corporation
@@ -13,6 +13,8 @@ BuildRequires: python3-setuptools
1313BuildRequires: python3-setuptools_scm
1414BuildRequires: 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
1618BuildRequires: python3-pip
1719%endif
1820BuildArch: 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
4650pip3 install tox
4751sed -i " s/pytest$/pytest==7.1.3/" tox.ini
4852LANG=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