Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ansible-core-2.21 for openSUSE:Factory checked in at 2026-12-03 13:58:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ansible-core-2.21 (Old) and /work/SRC/openSUSE:Factory/.ansible-core-2.21.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ansible-core-2.21" Thu Dec 3 13:58:25 2026 rev:2 rq:1402598 version:2.21.7 Changes: -------- --- /work/SRC/openSUSE:Factory/ansible-core-2.21/ansible-core-2.21.changes 2026-11-06 20:01:29.307079857 +0100 +++ /work/SRC/openSUSE:Factory/.ansible-core-2.21.new.1340718/ansible-core-2.21.changes 2026-12-03 14:01:27.552788108 +0100 @@ -1,0 +2,18 @@ +Thu Dec 3 06:04:33 UTC 2026 - Johannes Kastl <[email protected]> + +- update to 2.21.7: + https://github.com/ansible/ansible/blob/v2.21.7/changelogs/CHANGELOG-v2.21.rst + * Security Fixes + - ansible-galaxy collection install - fix validating the + collection name before using it to build the installation + path. (CVE-2026-130644) + * Bugfixes + - ansible-test - Fix the --include option for integration + tests. Previously this option accepted an argument but could + be overridden by positional argument processing. (#87839) + - password hashing - correct the size of the crypt_data + structure passed to crypt_r, which was too small for the + glibc definition and could allow the library to write past + the end of the buffer. + +------------------------------------------------------------------- Old: ---- ansible_core-2.21.6.tar.gz ansible_core-2.21.6.tar.gz.sha256 New: ---- ansible_core-2.21.7.tar.gz ansible_core-2.21.7.tar.gz.sha256 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ansible-core-2.21.spec ++++++ --- /var/tmp/diff_new_pack.3Qvswp/_old 2026-12-03 14:01:29.047851467 +0100 +++ /var/tmp/diff_new_pack.3Qvswp/_new 2026-12-03 14:01:29.049851552 +0100 @@ -43,7 +43,7 @@ %endif Name: ansible-core-2.21 -Version: 2.21.6 +Version: 2.21.7 Release: 0 Summary: Radically simple IT automation License: GPL-3.0-or-later ++++++ ansible_core-2.21.6.tar.gz -> ansible_core-2.21.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible_core-2.21.6/PKG-INFO new/ansible_core-2.21.7/PKG-INFO --- old/ansible_core-2.21.6/PKG-INFO 2026-11-02 18:32:18.000000000 +0100 +++ new/ansible_core-2.21.7/PKG-INFO 2026-11-30 19:37:06.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: ansible-core -Version: 2.21.6 +Version: 2.21.7 Summary: Radically simple IT automation Author: Ansible Project License-Expression: GPL-3.0-or-later diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible_core-2.21.6/ansible_core.egg-info/PKG-INFO new/ansible_core-2.21.7/ansible_core.egg-info/PKG-INFO --- old/ansible_core-2.21.6/ansible_core.egg-info/PKG-INFO 2026-11-02 18:32:18.000000000 +0100 +++ new/ansible_core-2.21.7/ansible_core.egg-info/PKG-INFO 2026-11-30 19:37:06.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: ansible-core -Version: 2.21.6 +Version: 2.21.7 Summary: Radically simple IT automation Author: Ansible Project License-Expression: GPL-3.0-or-later diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible_core-2.21.6/changelogs/CHANGELOG-v2.21.rst new/ansible_core-2.21.7/changelogs/CHANGELOG-v2.21.rst --- old/ansible_core-2.21.6/changelogs/CHANGELOG-v2.21.rst 2026-11-02 18:32:18.000000000 +0100 +++ new/ansible_core-2.21.7/changelogs/CHANGELOG-v2.21.rst 2026-11-30 19:37:06.000000000 +0100 @@ -4,6 +4,26 @@ .. contents:: Topics +v2.21.7 +======= + +Release Summary +--------------- + +| Release Date: 2026-11-30 +| `Porting Guide <https://docs.ansible.com/ansible-core/2.21/porting_guides/porting_guide_core_2.21.html>`__ + +Security Fixes +-------------- + +- ansible-galaxy collection install - fix validating the collection name before using it to build the installation path. (CVE-2026-130644) + +Bugfixes +-------- + +- ansible-test - Fix the ``--include`` option for integration tests. Previously this option accepted an argument but could be overridden by positional argument processing. (https://github.com/ansible/ansible/issues/87839) +- password hashing - correct the size of the ``crypt_data`` structure passed to ``crypt_r``, which was too small for the glibc definition and could allow the library to write past the end of the buffer. + v2.21.6 ======= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible_core-2.21.6/changelogs/changelog.yaml new/ansible_core-2.21.7/changelogs/changelog.yaml --- old/ansible_core-2.21.6/changelogs/changelog.yaml 2026-11-02 18:32:18.000000000 +0100 +++ new/ansible_core-2.21.7/changelogs/changelog.yaml 2026-11-30 19:37:06.000000000 +0100 @@ -904,3 +904,38 @@ - sudo_moar_rs.yml - user-busybox-password-lock.yml release_date: '2026-10-27' + 2.21.7: + changes: + release_summary: '| Release Date: 2026-11-30 + + | `Porting Guide <https://docs.ansible.com/ansible-core/2.21/porting_guides/porting_guide_core_2.21.html>`__ + + ' + codename: The Rain Song + fragments: + - 2.21.7_summary.yaml + release_date: '2026-11-30' + 2.21.7rc1: + changes: + bugfixes: + - ansible-test - Fix the ``--include`` option for integration tests. Previously + this option accepted an argument but could be overridden by positional argument + processing. (https://github.com/ansible/ansible/issues/87839) + - password hashing - correct the size of the ``crypt_data`` structure passed + to ``crypt_r``, which was too small for the glibc definition and could allow + the library to write past the end of the buffer. + release_summary: '| Release Date: 2026-11-23 + + | `Porting Guide <https://docs.ansible.com/ansible-core/2.21/porting_guides/porting_guide_core_2.21.html>`__ + + ' + security_fixes: + - ansible-galaxy collection install - fix validating the collection name before + using it to build the installation path. (CVE-2026-130644) + codename: The Rain Song + fragments: + - 2.21.7rc1_summary.yaml + - 87912-crypt-data-struct-size.yml + - ansible-test-integration-include-arg.yml + - validate-collection-name-from-artifact-metadata.yml + release_date: '2026-11-23' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible_core-2.21.6/lib/ansible/_internal/_encryption/_crypt.py new/ansible_core-2.21.7/lib/ansible/_internal/_encryption/_crypt.py --- old/ansible_core-2.21.6/lib/ansible/_internal/_encryption/_crypt.py 2026-11-02 18:32:18.000000000 +0100 +++ new/ansible_core-2.21.7/lib/ansible/_internal/_encryption/_crypt.py 2026-11-30 19:37:06.000000000 +0100 @@ -54,7 +54,8 @@ self._setup() class _CryptData(ctypes.Structure): - _fields_ = [('_opaque', ctypes.c_char * 131072)] + # For glibc, the size of this structure is 131232 bytes. For libxcrypt, it's closer to 32K. Choose the larger. + _fields_ = [('_opaque', ctypes.c_char * 131232)] @property def has_crypt_gensalt(self) -> bool: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible_core-2.21.6/lib/ansible/galaxy/collection/concrete_artifact_manager.py new/ansible_core-2.21.7/lib/ansible/galaxy/collection/concrete_artifact_manager.py --- old/ansible_core-2.21.6/lib/ansible/galaxy/collection/concrete_artifact_manager.py 2026-11-02 18:32:18.000000000 +0100 +++ new/ansible_core-2.21.7/lib/ansible/galaxy/collection/concrete_artifact_manager.py 2026-11-30 19:37:06.000000000 +0100 @@ -42,6 +42,7 @@ from ansible.module_utils.common.sentinel import Sentinel from ansible.module_utils.common.yaml import yaml_load from ansible.module_utils.urls import open_url +from ansible.utils.collection_loader import AnsibleCollectionRef from ansible.utils.display import Display import ansible.constants as C @@ -263,11 +264,18 @@ # NOTE: should it be something like "<virtual>"? return None - return '.'.join(( # type: ignore[type-var] + fqcn = '.'.join(( # type: ignore[type-var] self._get_direct_collection_namespace(collection), # type: ignore[arg-type] self._get_direct_collection_name(collection), )) + if not AnsibleCollectionRef.is_valid_collection_name(fqcn): + raise ValueError( + f"Collection metadata at '{collection.src}' specifies an invalid collection name '{fqcn}'. " + "The namespace and name must be in the format <namespace>.<name> and contain characters from [a-zA-Z0-9_] only." + ) + return fqcn + def get_direct_collection_version(self, collection): # type: (Collection) -> str """Extract version from the given on-disk collection artifact.""" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible_core-2.21.6/lib/ansible/galaxy/dependency_resolution/dataclasses.py new/ansible_core-2.21.7/lib/ansible/galaxy/dependency_resolution/dataclasses.py --- old/ansible_core-2.21.6/lib/ansible/galaxy/dependency_resolution/dataclasses.py 2026-11-02 18:32:18.000000000 +0100 +++ new/ansible_core-2.21.7/lib/ansible/galaxy/dependency_resolution/dataclasses.py 2026-11-30 19:37:06.000000000 +0100 @@ -255,10 +255,11 @@ ) tmp_inst_req = cls(None, None, dir_path, 'dir', None) - req_version = art_mgr.get_direct_collection_version(tmp_inst_req) try: + # valid metadata may be optional, ensure the user sees a warning before reraising + req_version = art_mgr.get_direct_collection_version(tmp_inst_req) req_name = art_mgr.get_direct_collection_fqcn(tmp_inst_req) - except TypeError as err: + except (ValueError, TypeError) as err: # Looks like installed/source dir but isn't: doesn't have valid metadata. display.warning( u"Collection at '{path!s}' has a {manifest_json!s} " @@ -472,6 +473,13 @@ if req_type not in {'galaxy', 'subdirs'} and req_name is None: req_name = art_mgr.get_direct_collection_fqcn(tmp_inst_req) # TODO: fix the cache key in artifacts manager? + elif req_type not in {'subdirs', 'git'} and req_name is not None and not AnsibleCollectionRef.is_valid_collection_name(req_name): + raise AnsibleError( + "The collection requirement entry has an invalid collection name '{name!s}'. " + 'A collection name must be in the format <namespace>.<name> and contain ' + 'characters from [a-zA-Z0-9_] only.'. + format(name=to_native(req_name)), + ) if req_type not in {'galaxy', 'subdirs'} and req_version == '*': req_version = art_mgr.get_direct_collection_version(tmp_inst_req) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible_core-2.21.6/lib/ansible/module_utils/ansible_release.py new/ansible_core-2.21.7/lib/ansible/module_utils/ansible_release.py --- old/ansible_core-2.21.6/lib/ansible/module_utils/ansible_release.py 2026-11-02 18:32:18.000000000 +0100 +++ new/ansible_core-2.21.7/lib/ansible/module_utils/ansible_release.py 2026-11-30 19:37:06.000000000 +0100 @@ -17,6 +17,6 @@ from __future__ import annotations -__version__ = '2.21.6' +__version__ = '2.21.7' __author__ = 'Ansible, Inc.' __codename__ = "The Rain Song" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible_core-2.21.6/lib/ansible/release.py new/ansible_core-2.21.7/lib/ansible/release.py --- old/ansible_core-2.21.6/lib/ansible/release.py 2026-11-02 18:32:18.000000000 +0100 +++ new/ansible_core-2.21.7/lib/ansible/release.py 2026-11-30 19:37:06.000000000 +0100 @@ -17,6 +17,6 @@ from __future__ import annotations -__version__ = '2.21.6' +__version__ = '2.21.7' __author__ = 'Ansible, Inc.' __codename__ = "The Rain Song" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible_core-2.21.6/test/integration/targets/ansible-galaxy-collection/files/build_bad_tar.py new/ansible_core-2.21.7/test/integration/targets/ansible-galaxy-collection/files/build_bad_tar.py --- old/ansible_core-2.21.6/test/integration/targets/ansible-galaxy-collection/files/build_bad_tar.py 2026-11-02 18:32:18.000000000 +0100 +++ new/ansible_core-2.21.7/test/integration/targets/ansible-galaxy-collection/files/build_bad_tar.py 2026-11-30 19:37:06.000000000 +0100 @@ -117,6 +117,12 @@ mutually_exclusive_group.add_argument( "--symlink-linkname", help="Add a symlink linkname to the collection artifact.", ) +mutually_exclusive_group.add_argument( + "--name", dest="name", help="The collection name in the MANIFEST.json", +) +mutually_exclusive_group.add_argument( + "--namespace", dest="namespace", help="The collection namespace in the MANIFEST.json", +) parser.add_argument( "--symlink", help="The name of the symlink to use with --symlink-linkname. Defaults to 'symlink'.", ) @@ -142,6 +148,10 @@ add_dir(tar_file, dirname, symlink_linkname=args.symlink_linkname) elif filename: add_file(tar_file, filename, b"#!/usr/bin/env bash\necho \"you got pwned\"", symlink_linkname=args.symlink_linkname) + elif args.namespace: + manifest['collection_info']['namespace'] = args.namespace + elif args.name: + manifest['collection_info']['name'] = args.name b_files = json.dumps(files).encode('utf-8') b_files_hash = hashlib.sha256() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible_core-2.21.6/test/integration/targets/ansible-galaxy-collection/tasks/install_tarball.yml new/ansible_core-2.21.7/test/integration/targets/ansible-galaxy-collection/tasks/install_tarball.yml --- old/ansible_core-2.21.6/test/integration/targets/ansible-galaxy-collection/tasks/install_tarball.yml 2026-11-02 18:32:18.000000000 +0100 +++ new/ansible_core-2.21.7/test/integration/targets/ansible-galaxy-collection/tasks/install_tarball.yml 2026-11-30 19:37:06.000000000 +0100 @@ -95,3 +95,101 @@ - <<: *realpath_symlink - <<: *assert_symlink - <<: *cleanup + +- name: setup tarball with invalid name - {{ test_id }} + script: build_bad_tar.py {{ galaxy_dir | quote }} --name /etc/suspicious + +- name: fail to install a collection from tarfile with invalid name + command: ansible-galaxy collection install suspicious-test-1.0.0.tar.gz {{ galaxy_verbosity }} + args: + chdir: '{{ galaxy_dir }}' + environment: + ANSIBLE_NOCOLOR: True + ANSIBLE_FORCE_COLOR: False + ANSIBLE_COLLECTIONS_PATH: '{{ galaxy_dir }}/ansible_collections' + register: fail_bad_tar_name + ignore_errors: true + +- name: get result of failed collection install - {{ test_id }} + stat: + path: /etc/suspicious + register: fail_bad_tar_name_actual + +- assert: + that: + - fail_bad_tar_name is failed + - fail_bad_tar_name.stderr is search(expected_error) + - not fail_bad_tar_name_actual.stat.exists + vars: + expected_error: >- + Collection metadata at 'suspicious-test-1\.0\.0\.tar\.gz' specifies an invalid collection name 'suspicious\./etc/suspicious'\. + The namespace and name must be in the format <namespace>\.<name> and contain characters from \[a-zA-Z0-9_\] only\. + +- name: setup tarball with invalid namespace - {{ test_id }} + script: build_bad_tar.py {{ galaxy_dir | quote }} --namespace /etc/ + +- name: fail to install a collection from a tarfile with invalid namespace + command: ansible-galaxy collection install suspicious-test-1.0.0.tar.gz {{ galaxy_verbosity }} + args: + chdir: "{{ galaxy_dir }}" + environment: + ANSIBLE_NOCOLOR: True + ANSIBLE_FORCE_COLOR: False + ANSIBLE_COLLECTIONS_PATH: "{{ galaxy_dir }}/ansible_collections" + register: fail_bad_tar_namespace + ignore_errors: true + +- name: get result of failed collection install - {{ test_id }} + stat: + path: /etc/test + register: fail_bad_tar_namespace_actual + +- assert: + that: + - fail_bad_tar_namespace is failed + - fail_bad_tar_namespace.stderr is search(expected_error) + - not fail_bad_tar_namespace_actual.stat.exists + vars: + expected_error: >- + Collection metadata at 'suspicious-test-1\.0\.0\.tar\.gz' specifies an invalid collection name '/etc/\.test'\. + The namespace and name must be in the format <namespace>\.<name> and contain characters from \[a-zA-Z0-9_\] only\. + +- name: test syntax that circumvents normal FQCN validation + block: + - name: create a requirements file + copy: + content: | + collections: + # NOTE: this syntax should be deprecated, as source should be a Galaxy server name/URL + - source: {{ galaxy_dir }}/suspicious-test-1.0.0.tar.gz + name: /etc/test.invalid + type: file + dest: "{{ galaxy_dir }}/broken_requirements.yml" + + - name: install the requirements file + command: ansible-galaxy collection install -r {{ galaxy_dir }}/broken_requirements.yml {{ galaxy_verbosity }} + register: fail_bad_tar_namespace + ignore_errors: True + + - name: get result of failed collection install - {{ test_id }} + stat: + path: /etc/test/invalid + register: fail_bad_tar_namespace_actual + + - assert: + that: + - fail_bad_tar_namespace is failed + - fail_bad_tar_namespace.stderr is search(expected_error) + - not fail_bad_tar_namespace_actual.stat.exists + vars: + expected_error: >- + The collection requirement entry has an invalid collection name '/etc/test\.invalid'\. + A collection name must be in the format <namespace>\.<name> and contain characters from \[a-zA-Z0-9_\] only\. + always: + - name: Remove requirements file and tarfile + file: + path: "{{ galaxy_dir }}/{{ item }}" + state: absent + loop: + - broken_requirements.yml + - suspicious-test-1.0.0.tar.gz diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible_core-2.21.6/test/integration/targets/ansible-galaxy-collection/tasks/list.yml new/ansible_core-2.21.7/test/integration/targets/ansible-galaxy-collection/tasks/list.yml --- old/ansible_core-2.21.6/test/integration/targets/ansible-galaxy-collection/tasks/list.yml 2026-11-02 18:32:18.000000000 +0100 +++ new/ansible_core-2.21.7/test/integration/targets/ansible-galaxy-collection/tasks/list.yml 2026-11-30 19:37:06.000000000 +0100 @@ -73,6 +73,38 @@ - name: move {{ doc_fqcn }} back command: mv {{ destdir }} {{ srcdir }} +- name: Check that list ignores metadata that is not a valid collection name + vars: + collection2: "{{ galaxy_dir }}/dev/ansible_collections/dev/collection2" + block: + - name: give dev.collection2 a name that is not a valid collection name + lineinfile: + path: "{{ collection2 }}/galaxy.yml" + regexp: '^name: .*' + line: 'name: /tmp/evil' + + - name: List dev collections + command: ansible-galaxy collection list + register: invalid_metadata_list + environment: + ANSIBLE_COLLECTIONS_PATH: "{{ galaxy_dir }}/dev" + + - assert: + that: + - invalid_metadata_list is success + - invalid_metadata_list.rc == 0 + - warning_text in invalid_metadata_list.stderr + - "'dev.collection2' in invalid_metadata_list.stdout" + vars: + warning_text: >- + Collection at '{{ collection2 }}' has a MANIFEST.json or galaxy.yml file but it contains invalid metadata. + always: + - name: restore the name of dev.collection2 + lineinfile: + path: "{{ collection2 }}/galaxy.yml" + regexp: '^name: .*' + line: 'name: collection2' + - name: replace the default version of the collections lineinfile: path: "{{ galaxy_dir }}/dev/ansible_collections/dev/{{ item.name }}/galaxy.yml" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible_core-2.21.6/test/integration/targets/ansible-test-container/runme.py new/ansible_core-2.21.7/test/integration/targets/ansible-test-container/runme.py --- old/ansible_core-2.21.6/test/integration/targets/ansible-test-container/runme.py 2026-11-02 18:32:18.000000000 +0100 +++ new/ansible_core-2.21.7/test/integration/targets/ansible-test-container/runme.py 2026-11-30 19:37:06.000000000 +0100 @@ -1030,6 +1030,11 @@ run_command('dnf', 'update', '-y', 'policycoreutils') + # Podman 6.1.0 requires updated configuration from containers-common and a newer version of netavark. + # Since it doesn't have dependencies on those newer package versions, they're manually upgraded here. + + run_command('dnf', 'update', '-y', 'containers-common', 'netavark') + run_command('dnf', 'install', '-y', *packages) if cls.install_docker(): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible_core-2.21.6/test/lib/ansible_test/_internal/cli/commands/__init__.py new/ansible_core-2.21.7/test/lib/ansible_test/_internal/cli/commands/__init__.py --- old/ansible_core-2.21.6/test/lib/ansible_test/_internal/cli/commands/__init__.py 2026-11-02 18:32:18.000000000 +0100 +++ new/ansible_core-2.21.7/test/lib/ansible_test/_internal/cli/commands/__init__.py 2026-11-30 19:37:06.000000000 +0100 @@ -126,6 +126,7 @@ 'include', metavar='TARGET', nargs='*', + action='extend', help='test the specified target', ), functools.partial(complete_target, completer)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible_core-2.21.6/test/units/parsing/test_ajson.py new/ansible_core-2.21.7/test/units/parsing/test_ajson.py --- old/ansible_core-2.21.6/test/units/parsing/test_ajson.py 2026-11-02 18:32:18.000000000 +0100 +++ new/ansible_core-2.21.7/test/units/parsing/test_ajson.py 2026-11-30 19:37:06.000000000 +0100 @@ -83,7 +83,8 @@ """ @pytest.fixture(scope='class') - def mapping(self, request): + @classmethod + def mapping(cls, request): """ Returns object of Mapping mock class. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible_core-2.21.6/test/units/utils/test_listify.py new/ansible_core-2.21.7/test/units/utils/test_listify.py --- old/ansible_core-2.21.6/test/units/utils/test_listify.py 2026-11-02 18:32:18.000000000 +0100 +++ new/ansible_core-2.21.7/test/units/utils/test_listify.py 2026-11-30 19:37:06.000000000 +0100 @@ -8,7 +8,6 @@ import pytest import pytest_mock -from ansible.utils.display import Display from ansible.utils.listify import listify_lookup_plugin_terms @@ -18,11 +17,13 @@ (["foo"], ["foo"]), ), ids=str) def test_listify_lookup_plugin_terms(test_input: t.Any, expected: t.Any, mocker: pytest_mock.MockerFixture) -> None: - with mocker.patch.object(Display(), 'deprecated'): # as deprecated: - assert listify_lookup_plugin_terms(test_input) == expected + # deprecated = mocker.patch.object(Display(), 'deprecated') + + assert listify_lookup_plugin_terms(test_input) == expected # deprecated: description="Calling listify_lookup_plugin_terms function is not necessary; the function should be deprecated." core_version="2.23" # deprecated.assert_called_once_with( - # msg='"listify_lookup_plugin_terms" is obsolete and in most cases unnecessary', - # version='2.23', + # msg='The "listify_lookup_plugin_terms" function is not required for lookup terms to be templated.', + # version='2.27', + # help_text='If needed, implement custom `strip` or list-wrapping in the caller.', # ) ++++++ ansible_core-2.21.6.tar.gz.sha256 -> ansible_core-2.21.7.tar.gz.sha256 ++++++ --- /work/SRC/openSUSE:Factory/ansible-core-2.21/ansible_core-2.21.6.tar.gz.sha256 2026-11-06 20:01:29.792100168 +0100 +++ /work/SRC/openSUSE:Factory/.ansible-core-2.21.new.1340718/ansible_core-2.21.7.tar.gz.sha256 2026-12-03 14:01:27.810799043 +0100 @@ -1 +1 @@ -3fa05b4b1af69f2fa19b49dde8edd5a23e693c2c1c3bda2d85fce73bd6cfc36d ansible_core-2.21.6.tar.gz +59befcde2782d45f69a47bee3d4451aa4d919be3fc83e97a4c4a334db62c6337 ansible_core-2.21.7.tar.gz
