From 968f4bb5731e42aa318cfc5e2f5b4e6af2603872 Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Jul 28 2022 13:45:14 +0000 Subject: Update to 2.2.1 Related-to: https://review.rdoproject.org/r/q/I473b0b1b34d749a0cd7934410cb25ce306ffc101 --- diff --git a/.python-ansible-runner.metadata b/.python-ansible-runner.metadata index db5fb1a..47415d9 100644 --- a/.python-ansible-runner.metadata +++ b/.python-ansible-runner.metadata @@ -1 +1 @@ -c5c87b45ff5ddc0d11e3c78da8b1fdba0b49e4bc SOURCES/ansible-runner-2.1.3.tar.gz +951e52ce27999c54340729e9e12289d4d0218c03 SOURCES/ansible-runner-2.2.1.tar.gz diff --git a/SPECS/python-ansible-runner.spec b/SPECS/python-ansible-runner.spec index f7f086d..96af6a5 100644 --- a/SPECS/python-ansible-runner.spec +++ b/SPECS/python-ansible-runner.spec @@ -10,8 +10,8 @@ %endif Name: python-%{pypi_name} -Version: 2.1.3 -Release: 3%{?dist} +Version: 2.2.1 +Release: 2%{?dist} Summary: A tool and python library to interface with Ansible License: ASL 2.0 @@ -28,6 +28,7 @@ BuildRequires: python3dist(pip) BuildRequires: python3dist(psutil) BuildRequires: python3dist(pexpect) >= 4.6 BuildRequires: python3dist(pytest) +BuildRequires: python3dist(pytest-cov) BuildRequires: python3dist(pytest-mock) BuildRequires: python3dist(pytest-timeout) BuildRequires: python3dist(pytest-xdist) @@ -44,10 +45,6 @@ Ansible Runner is a tool and python library that helps when interfacing with Ansible from other systems whether through a container image interface, as a standalone tool, or imported into a python project. -%generate_buildrequires -export PBR_VERSION=%{version} -%pyproject_buildrequires - %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} @@ -60,12 +57,17 @@ standalone tool, or imported into a python project. %prep %autosetup -n %{pypi_name}-%{version} sed -i '166 i \@pytest.mark.skip(reason="can not resolve example.com in build system")' test/integration/test_display_callback.py +sed -i '/test_resolved_actions/i \@pytest.mark.skip(reason="ansible version lookup is blank in build")' test/integration/test_display_callback.py +%generate_buildrequires +export PBR_VERSION=%{version} +%pyproject_buildrequires %build export PBR_VERSION=%{version} %pyproject_wheel %install +export PBR_VERSION=%{version} %pyproject_install cp %{buildroot}/%{_bindir}/ansible-runner %{buildroot}/%{_bindir}/ansible-runner-%{python3_version} ln -s ansible-runner-%{python3_version} %{buildroot}/%{_bindir}/ansible-runner-3 @@ -85,6 +87,15 @@ ln -s ansible-runner-%{python3_version} %{buildroot}/%{_bindir}/ansible-runner-3 %exclude %{python3_sitelib}/test %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 2.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Jul 19 2022 Dan Radez - 2.2.1-1 +- update to 2.2.1 + +* Thu Jun 16 2022 Python Maint - 2.1.3-4 +- Rebuilt for Python 3.11 + * Tue Apr 12 2022 Dan Radez - 2.1.3-3 - updating to use pyproject macros