Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ansible-runner for openSUSE:Factory 
checked in at 2024-06-14 19:01:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ansible-runner (Old)
 and      /work/SRC/openSUSE:Factory/.ansible-runner.new.19518 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ansible-runner"

Fri Jun 14 19:01:38 2024 rev:10 rq:1180697 version:2.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ansible-runner/ansible-runner.changes    
2024-03-17 22:16:16.176972694 +0100
+++ /work/SRC/openSUSE:Factory/.ansible-runner.new.19518/ansible-runner.changes 
2024-06-14 19:05:44.519516128 +0200
@@ -1,0 +2,27 @@
+Sun Jun  9 16:25:46 UTC 2024 - Ben Greiner <c...@bnavigator.de>
+
+- Use pytest-xdist in order to avoid non-terminating processes in
+  tests
+- Fix files section and version info (setuptools_scm required to
+  build)
+- Simplify python flavor declaration
+
+-------------------------------------------------------------------
+Sat May 18 08:39:38 UTC 2024 - Johannes Kastl 
<opensuse_buildserv...@ojkastl.de>
+
+- update to 2.4.0:
+  * Bug Fixes
+    - Honor inventory filepath by @Akasurde in #1065
+    - Ensure that UTC ISO8601 datetimes include timezone info by
+      @sivel in #1238
+    - Fix for non-str ident by @Shrews in #1268
+    - Pass inventory directory path instead of file path when using
+      containerization by @christophert in #1304
+    - Validate inventory from CLI early by @Shrews in #1307
+    - Allow shutil to copy into existing isolation directory by
+      @christophert in #1311
+    - Fix invalid inventory with relative pvt data dir by @Shrews
+      in #1316
+    - Add lib symlink to bwrap call by @christophert in #1312
+
+-------------------------------------------------------------------

Old:
----
  ansible-runner-2.3.6.tar.gz

New:
----
  ansible-runner-2.4.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ansible-runner.spec ++++++
--- /var/tmp/diff_new_pack.Z3EhzL/_old  2024-06-14 19:05:44.987533118 +0200
+++ /var/tmp/diff_new_pack.Z3EhzL/_new  2024-06-14 19:05:44.987533118 +0200
@@ -19,27 +19,18 @@
 
 %{?sle15_python_module_pythons}
 %if 0%{?suse_version} < 1550
-# Leap15, SLES15
-%if %pythons == "python310"
-%define ansible_python python310
-%define ansible_python_executable python3.10
-%define ansible_python_sitelib %python310_sitelib
-%endif
-%if %pythons == "python311"
-%define ansible_python python311
-%define ansible_python_executable python3.11
-%define ansible_python_sitelib %python311_sitelib
-%endif
+# Leap15, SLES15: There is always only one entry in pythons
+%define ansible_python %{pythons}
+%define ansible_python_sitelib %{expand:%%%{ansible_python}_sitelib}
 %else
 # Tumbleweed
 %define pythons python3
 %define ansible_python python3
-%define ansible_python_executable python3
 %define ansible_python_sitelib %python3_sitelib
 %endif
 
 Name:           ansible-runner
-Version:        2.3.6
+Version:        2.4.0
 Release:        0
 Summary:        Run ansible-playbook inside an execution environment
 License:        Apache-2.0
@@ -48,8 +39,11 @@
 BuildArch:      noarch
 BuildRequires:  python-rpm-macros
 # https://github.com/ansible/ansible-runner/blob/devel/setup.cfg#L31
-BuildRequires:  %{ansible_python}-base >= 3.8
+BuildRequires:  %{ansible_python}-base >= 3.9
 BuildRequires:  %{ansible_python}-setuptools
+BuildRequires:  %{ansible_python}-setuptools_scm
+BuildRequires:  %{ansible_python}-pip
+BuildRequires:  %{ansible_python}-wheel
 BuildRequires:  %{ansible_python}-pbr
 # https://github.com/ansible/ansible-runner/blob/devel/setup.cfg#L32
 BuildRequires:  ansible-core
@@ -73,8 +67,6 @@
 Requires:       %{ansible_python}-pexpect >= 4.5
 Requires:       %{ansible_python}-python-daemon
 Requires:       %{ansible_python}-PyYAML
-Requires:       %{ansible_python}-six
-Requires:       %{ansible_python}-setuptools
 # https://github.com/ansible/ansible-runner/blob/devel/setup.cfg#L38
 # importlib-metadata not required, as we are using python3.10 or higher
 
@@ -85,17 +77,15 @@
 %setup -q -n %{module_name}-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %fdupes %{buildroot}%{ansible_python_sitelib}
 
-sed -i '1s|^#!%{_bindir}/env bash$|#!%{_bindir}/bash|' 
%{buildroot}/%{_datadir}/%{module_name}/utils/entrypoint.sh
-
 %check
 # disable coverage tests
-sed -i '/cov/d' pytest.ini
+sed -i -e '/cov/d' -e '/color/d' pytest.ini
 
 # Ignored tests, upstream bug report:
 # https://github.com/ansible/ansible-runner/issues/1237
@@ -108,15 +98,12 @@
 IGNORED_TESTS+='test_run_command_long_running or '
 IGNORED_TESTS+='test_run_command_long_running_children'
 export PATH=%{buildroot}%{_bindir}:$PATH
-%pytest -k "not ($IGNORED_TESTS)"
+%pytest -n auto -k "not ($IGNORED_TESTS)"
 
 %files
 %doc README.md
 %license LICENSE.md
 %{_bindir}/%{module_name}
 %{ansible_python_sitelib}/ansible_runner
-%{ansible_python_sitelib}/ansible_runner-*-info
-%dir %{_datadir}/%{module_name}/
-%dir %{_datadir}/%{module_name}/utils/
-%{_datadir}/%{module_name}/utils/entrypoint.sh
+%{ansible_python_sitelib}/ansible_runner-%{version}.dist-info
 

++++++ ansible-runner-2.3.6.tar.gz -> ansible-runner-2.4.0.tar.gz ++++++
++++ 21020 lines of diff (skipped)

Reply via email to