commit python-ansible-compat for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ansible-compat for openSUSE:Factory checked in at 2024-06-10 17:37:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ansible-compat (Old) and /work/SRC/openSUSE:Factory/.python-ansible-compat.new.19518 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-ansible-compat" Mon Jun 10 17:37:32 2024 rev:25 rq:1179600 version:24.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ansible-compat/python-ansible-compat.changes 2024-06-03 17:42:10.744202333 +0200 +++ /work/SRC/openSUSE:Factory/.python-ansible-compat.new.19518/python-ansible-compat.changes 2024-06-10 17:37:39.319001683 +0200 @@ -1,0 +2,9 @@ +Fri Jun 7 19:53:49 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de> + +- update to 24.6.1: + * Bugfixes + - Allow the caller to set the ANSIBLE_COLLECTIONS_PATH (#388) + @cidrblock + - Don't nuke the collections path (#387) @cidrblock + +------------------------------------------------------------------- Old: ---- python-ansible-compat-24.6.0.tar.gz New: ---- python-ansible-compat-24.6.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ansible-compat.spec ++++++ --- /var/tmp/diff_new_pack.MAafZo/_old 2024-06-10 17:37:40.011027478 +0200 +++ /var/tmp/diff_new_pack.MAafZo/_new 2024-06-10 17:37:40.015027627 +0200 @@ -24,7 +24,7 @@ %endif Name: python-ansible-compat -Version: 24.6.0 +Version: 24.6.1 Release: 0 Summary: Compatibility shim for Ansible 2.9 and newer License: MIT ++++++ python-ansible-compat-24.6.0.tar.gz -> python-ansible-compat-24.6.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible-compat-24.6.0/.git_archival.txt new/ansible-compat-24.6.1/.git_archival.txt --- old/ansible-compat-24.6.0/.git_archival.txt 2024-05-29 15:33:45.000000000 +0200 +++ new/ansible-compat-24.6.1/.git_archival.txt 2024-06-05 16:05:54.000000000 +0200 @@ -1,4 +1,4 @@ -node: 32ce03c9989698544353a24a5f8b7399c1a0b8a0 -node-date: 2024-05-29T14:33:45+01:00 -describe-name: v24.6.0 -ref-names: HEAD -> main, tag: v24.6.0 +node: 2cd7e39f7a13f003c6cba7142ae5a7a5b4585018 +node-date: 2024-06-05T07:05:54-07:00 +describe-name: v24.6.1 +ref-names: HEAD -> main, tag: v24.6.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible-compat-24.6.0/.pre-commit-config.yaml new/ansible-compat-24.6.1/.pre-commit-config.yaml --- old/ansible-compat-24.6.0/.pre-commit-config.yaml 2024-05-29 15:33:45.000000000 +0200 +++ new/ansible-compat-24.6.1/.pre-commit-config.yaml 2024-06-05 16:05:54.000000000 +0200 @@ -22,7 +22,7 @@ )$ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.4.3" + rev: "v0.4.7" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -57,7 +57,7 @@ - id: debug-statements language_version: python3 - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.3.0 hooks: - id: codespell - repo: https://github.com/adrienverge/yamllint.git @@ -90,7 +90,7 @@ - types-pkg_resources - types-jsonschema>=4.4.9 - repo: https://github.com/pycqa/pylint - rev: v3.1.0 + rev: v3.2.2 hooks: - id: pylint additional_dependencies: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible-compat-24.6.0/src/ansible_compat/runtime.py new/ansible-compat-24.6.1/src/ansible_compat/runtime.py --- old/ansible-compat-24.6.0/src/ansible_compat/runtime.py 2024-05-29 15:33:45.000000000 +0200 +++ new/ansible-compat-24.6.1/src/ansible_compat/runtime.py 2024-06-05 16:05:54.000000000 +0200 @@ -374,11 +374,13 @@ tee: bool = False, env: dict[str, str] | None = None, cwd: Path | None = None, + set_acp: bool = True, ) -> CompletedProcess: """Execute a command inside an Ansible environment. :param retry: Retry network operations on failures. :param tee: Also pass captured stdout/stderr to system while running. + :param set_acp: Set the ANSIBLE_COLLECTIONS_PATH """ if tee: run_func: Callable[..., CompletedProcess] = subprocess_tee.run @@ -392,7 +394,8 @@ # https://github.com/ansible/ansible-lint/issues/3522 env["ANSIBLE_VERBOSE_TO_STDERR"] = "True" - env["ANSIBLE_COLLECTIONS_PATH"] = ":".join(self.config.collections_paths) + if set_acp: + env["ANSIBLE_COLLECTIONS_PATH"] = ":".join(self.config.collections_paths) for _ in range(self.max_retries + 1 if retry else 1): result = run_func(
participants (1)
-
Source-Sync