From 4da6419974e686279856e795d29e0b0af5dabb0d Mon Sep 17 00:00:00 2001 From: cherry530 <707078654@qq.com> Date: Wed, 5 Jul 2023 15:01:08 +0800 Subject: [PATCH] fix module 'py' has no attribute 'test' Signed-off-by: cherry530 <707078654@qq.com> --- python-execnet.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-execnet.spec b/python-execnet.spec index a54a973..b3ff2c6 100644 --- a/python-execnet.spec +++ b/python-execnet.spec @@ -1,6 +1,6 @@ Name: python-execnet Version: 1.9.0 -Release: 1 +Release: 2 Summary: Rapid multi-Python deployment License: MIT and GPLv2+ URL: http://codespeak.net/execnet @@ -17,7 +17,7 @@ write scripts to administer multiple hosts %package -n python3-execnet Summary: Rapid multi-Python deployment BuildRequires: python3-apipkg python3-devel python3-pytest python3-setuptools -BuildRequires: python3-setuptools_scm python3-sphinx +BuildRequires: python3-setuptools_scm python3-sphinx python3-py %{?python_provide:%python_provide python3-execnet} %description -n python3-execnet @@ -54,6 +54,9 @@ PYTHONPATH=$(pwd) LC_ALL="en_US.UTF-8" py.test-%{python3_version} -r s -k 'not t %{python3_sitelib}/execnet* %changelog +* Wed Jul 05 2023 xu_ping <707078654@qq.com> - 1.9.0-2 +- Add Buildrequires python3-py to fix module 'py' has no attribute 'test' + * Fri May 27 2022 OpenStack_SIG - 1.9.0-1 - Upgrade package python3-execnet to version 1.9.0 -- Gitee