From faaeacfaa05b5ddc8b56d27acb4673152b0bbb7d Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Wed, 26 Feb 2025 22:02:35 +0100 Subject: [PATCH] [PR #9805/dd4268e0 backport][stable-9] CI: Add macOS 15.3 (#9807) CI: Add macOS 15.3 (#9805) * Add macOS 15.3. * Install setuptools on macOS 15. (cherry picked from commit dd4268e0d97ea1be46f39c02fa5fdbac99e08938) Co-authored-by: Felix Fontein --- .azure-pipelines/azure-pipelines.yml | 6 ++++-- .../targets/python_requirements_info/tasks/main.yml | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines/azure-pipelines.yml b/.azure-pipelines/azure-pipelines.yml index 90adf14e0d..832436e064 100644 --- a/.azure-pipelines/azure-pipelines.yml +++ b/.azure-pipelines/azure-pipelines.yml @@ -188,8 +188,8 @@ stages: parameters: testFormat: devel/{0} targets: - - name: macOS 14.3 - test: macos/14.3 + - name: macOS 15.3 + test: macos/15.3 - name: RHEL 9.5 test: rhel/9.5 - name: FreeBSD 14.2 @@ -208,6 +208,8 @@ stages: parameters: testFormat: 2.18/{0} targets: + - name: macOS 14.3 + test: macos/14.3 - name: RHEL 9.4 test: rhel/9.4 - name: FreeBSD 14.1 diff --git a/tests/integration/targets/python_requirements_info/tasks/main.yml b/tests/integration/targets/python_requirements_info/tasks/main.yml index 24a7d1366a..cf0b9ad1d0 100644 --- a/tests/integration/targets/python_requirements_info/tasks/main.yml +++ b/tests/integration/targets/python_requirements_info/tasks/main.yml @@ -8,6 +8,12 @@ # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) # SPDX-License-Identifier: GPL-3.0-or-later +- name: Make sure setuptools is installed + pip: + name: setuptools + state: present + when: ansible_facts.distribution == 'MacOSX' and ansible_distribution_version is version('15', '>=') + - name: run python_requirements_info module python_requirements_info: register: basic_info