Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ansible-lint for openSUSE:Factory 
checked in at 2024-07-12 17:05:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ansible-lint (Old)
 and      /work/SRC/openSUSE:Factory/.ansible-lint.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ansible-lint"

Fri Jul 12 17:05:26 2024 rev:49 rq:1186959 version:24.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ansible-lint/ansible-lint.changes        
2024-06-24 20:52:57.315567567 +0200
+++ /work/SRC/openSUSE:Factory/.ansible-lint.new.17339/ansible-lint.changes     
2024-07-12 17:05:37.866296588 +0200
@@ -1,0 +2,8 @@
+Thu Jul 11 18:51:22 UTC 2024 - Johannes Kastl 
<opensuse_buildserv...@ojkastl.de>
+
+- update to 24.7.0:
+  * Bugfixes
+    - Fix linting issues within command_instead_of* rules
+      (ruff:D102) (#4252) @alisonlhart
+
+-------------------------------------------------------------------

Old:
----
  ansible-lint-24.6.1.tar.gz

New:
----
  ansible-lint-24.7.0.tar.gz

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

Other differences:
------------------
++++++ ansible-lint.spec ++++++
--- /var/tmp/diff_new_pack.MLKIua/_old  2024-07-12 17:05:40.470392267 +0200
+++ /var/tmp/diff_new_pack.MLKIua/_new  2024-07-12 17:05:40.474392413 +0200
@@ -40,7 +40,7 @@
 %global lib_name ansiblelint
 %{?python_enable_dependency_generator}
 Name:           ansible-lint
-Version:        24.6.1
+Version:        24.7.0
 Release:        0%{?dist}
 Summary:        Best practices checker for Ansible
 License:        MIT

++++++ ansible-lint-24.6.1.tar.gz -> ansible-lint-24.7.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible-lint-24.6.1/.config/constraints.txt 
new/ansible-lint-24.7.0/.config/constraints.txt
--- old/ansible-lint-24.6.1/.config/constraints.txt     2024-06-21 
17:26:15.000000000 +0200
+++ new/ansible-lint-24.7.0/.config/constraints.txt     2024-07-10 
08:37:09.000000000 +0200
@@ -5,7 +5,7 @@
 #    pip-compile --all-extras --no-annotate 
--output-file=.config/constraints.txt --strip-extras 
--unsafe-package=resolvelib --unsafe-package=ruamel-yaml-clib 
--unsafe-package=wcmatch pyproject.toml
 #
 ansible-compat==24.6.1
-ansible-core==2.17.0
+ansible-core==2.17.1
 astroid==3.2.2
 attrs==23.2.0
 babel==2.15.0
@@ -14,15 +14,15 @@
 boolean-py==4.0
 bracex==2.4
 cachetools==5.3.3
-cairocffi==1.7.0
+cairocffi==1.7.1
 cairosvg==2.7.1
-certifi==2024.6.2
+certifi==2024.7.4
 cffi==1.16.0
 chardet==5.2.0
 charset-normalizer==3.3.2
 click==8.1.7
 colorama==0.4.6
-coverage==7.5.3
+coverage==7.5.4
 coverage-enable-subprocess==1.0
 cryptography==42.0.8
 csscompressor==0.9.5
@@ -33,12 +33,12 @@
 dnspython==2.6.1
 exceptiongroup==1.2.1
 execnet==2.1.1
-filelock==3.15.1
+filelock==3.15.4
 ghp-import==2.1.0
-griffe==0.45.3
+griffe==0.47.0
 htmlmin2==0.1.13
 idna==3.7
-importlib-metadata==7.1.0
+importlib-metadata==8.0.0
 iniconfig==2.0.0
 isort==5.13.2
 jinja2==3.1.4
@@ -49,7 +49,7 @@
 license-expression==30.3.0
 linkchecker==10.4.0
 markdown==3.6
-markdown-exec==1.9.1
+markdown-exec==1.9.3
 markdown-include==0.8.1
 markdown-it-py==3.0.0
 markupsafe==2.1.5
@@ -63,29 +63,29 @@
 mkdocs-get-deps==0.2.0
 mkdocs-htmlproofer-plugin==1.2.1
 mkdocs-macros-plugin==1.0.5
-mkdocs-material==9.5.26
+mkdocs-material==9.5.28
 mkdocs-material-extensions==1.3.1
 mkdocs-minify-plugin==0.8.0
 mkdocs-monorepo-plugin==1.1.0
 mkdocstrings==0.25.1
-mkdocstrings-python==1.10.3
-mypy==1.10.0
+mkdocstrings-python==1.10.5
+mypy==1.10.1
 mypy-extensions==1.0.0
 netaddr==1.3.0
 packaging==24.1
 paginate==0.5.6
 pathspec==0.12.1
-pillow==10.3.0
-pip==24.0
-pipdeptree==2.22.0
+pillow==10.4.0
+pip==24.1.1
+pipdeptree==2.23.0
 platformdirs==4.2.2
 pluggy==1.5.0
-psutil==5.9.8
+psutil==6.0.0
 pycparser==2.22
 pygments==2.18.0
-pylint==3.2.3
+pylint==3.2.5
 pymdown-extensions==10.8.1
-pyproject-api==1.6.1
+pyproject-api==1.7.1
 pytest==8.2.2
 pytest-mock==3.14.0
 pytest-plus==0.7.0
@@ -102,18 +102,18 @@
 ruamel-yaml==0.18.6
 six==1.16.0
 soupsieve==2.5
-subprocess-tee==0.4.1
+subprocess-tee==0.4.2
 termcolor==2.4.0
 text-unidecode==1.3
 tinycss2==1.3.0
 tomli==2.0.1
 tomlkit==0.12.5
-tox==4.15.1
+tox==4.16.0
 types-jsonschema==4.22.0.20240610
 types-pyyaml==6.0.12.20240311
 typing-extensions==4.12.2
-urllib3==2.2.1
-virtualenv==20.26.2
+urllib3==2.2.2
+virtualenv==20.26.3
 watchdog==4.0.1
 webencodings==0.5.1
 yamllint==1.35.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible-lint-24.6.1/.config/requirements-lock.txt 
new/ansible-lint-24.7.0/.config/requirements-lock.txt
--- old/ansible-lint-24.6.1/.config/requirements-lock.txt       2024-06-21 
17:26:15.000000000 +0200
+++ new/ansible-lint-24.7.0/.config/requirements-lock.txt       2024-07-10 
08:37:09.000000000 +0200
@@ -5,15 +5,15 @@
 #    pip-compile --no-annotate --output-file=.config/requirements-lock.txt 
--strip-extras --unsafe-package=resolvelib --unsafe-package=ruamel-yaml-clib 
pyproject.toml
 #
 ansible-compat==24.6.1
-ansible-core==2.17.0
+ansible-core==2.17.1
 attrs==23.2.0
 black==24.4.2
 bracex==2.4
 cffi==1.16.0
 click==8.1.7
 cryptography==42.0.8
-filelock==3.15.1
-importlib-metadata==7.1.0
+filelock==3.15.4
+importlib-metadata==8.0.0
 jinja2==3.1.4
 jsonschema==4.22.0
 jsonschema-specifications==2023.12.1
@@ -31,7 +31,7 @@
 rich==13.7.1
 rpds-py==0.18.1
 ruamel-yaml==0.18.6
-subprocess-tee==0.4.1
+subprocess-tee==0.4.2
 tomli==2.0.1
 typing-extensions==4.12.2
 wcmatch==8.5.2 ; python_version < "3.12"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible-lint-24.6.1/.git_archival.txt 
new/ansible-lint-24.7.0/.git_archival.txt
--- old/ansible-lint-24.6.1/.git_archival.txt   2024-06-21 17:26:15.000000000 
+0200
+++ new/ansible-lint-24.7.0/.git_archival.txt   2024-07-10 08:37:09.000000000 
+0200
@@ -1,4 +1,4 @@
-node: b4018c22f8fe8371bd6845d0cd62cebea54ce012
-node-date: 2024-06-21T16:26:15+01:00
+node: 95382d398ea1744bf6bfa47b030f14c38b3f6957
+node-date: 2024-07-10T12:07:09+05:30
 describe-name: v24
-ref-names: HEAD -> main, tag: v24.6.1, tag: v24
+ref-names: HEAD -> main, tag: v24.7.0, tag: v24
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ansible-lint-24.6.1/src/ansiblelint/rules/command_instead_of_module.py 
new/ansible-lint-24.7.0/src/ansiblelint/rules/command_instead_of_module.py
--- old/ansible-lint-24.6.1/src/ansiblelint/rules/command_instead_of_module.py  
2024-06-21 17:26:15.000000000 +0200
+++ new/ansible-lint-24.7.0/src/ansiblelint/rules/command_instead_of_module.py  
2024-07-10 08:37:09.000000000 +0200
@@ -88,6 +88,12 @@
         task: Task,
         file: Lintable | None = None,
     ) -> bool | str:
+        """Check if a command is used instead of an appropriate module.
+
+        :param task: Task to check for shell usage
+        :param file: File to lint
+        :returns: False if command module isn't used, or a string showing the 
command used
+        """
         if task["action"]["__ansible_module__"] not in self._commands:
             return False
 
@@ -139,7 +145,12 @@
         file: str,
         expected: int,
     ) -> None:
-        """Validate that rule works as intended."""
+        """Validate that rule works as intended.
+
+        :param default_rules_collection: Default rules for testing
+        :param file: Test file to check for violations
+        :expected: Expected number of errors
+        """
         results = Runner(file, rules=default_rules_collection).run()
 
         for result in results:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ansible-lint-24.6.1/src/ansiblelint/rules/command_instead_of_shell.py 
new/ansible-lint-24.7.0/src/ansiblelint/rules/command_instead_of_shell.py
--- old/ansible-lint-24.6.1/src/ansiblelint/rules/command_instead_of_shell.py   
2024-06-21 17:26:15.000000000 +0200
+++ new/ansible-lint-24.7.0/src/ansiblelint/rules/command_instead_of_shell.py   
2024-07-10 08:37:09.000000000 +0200
@@ -53,6 +53,12 @@
         task: Task,
         file: Lintable | None = None,
     ) -> bool | str:
+        """Check if a shell module is used instead of an appropriate command.
+
+        :param task: Task to check for shell usage
+        :param file: File to lint
+        :returns: False if shell module isn't used, or string output of where 
it is used
+        """
         # Use unjinja so that we don't match on jinja filters
         # rather than pipes
         if task["action"]["__ansible_module__"] in ["shell", 
"ansible.builtin.shell"]:
@@ -72,6 +78,12 @@
         lintable: Lintable,
         data: CommentedMap | CommentedSeq | str,
     ) -> None:
+        """Transform the data.
+
+        :param match: The match to transform.
+        :param lintable: The file to transform.
+        :param data: The data to transform.
+        """
         if match.tag == "command-instead-of-shell":
             target_task = self.seek(match.yaml_path, data)
             for _ in range(len(target_task)):
@@ -108,7 +120,12 @@
         file: str,
         expected: int,
     ) -> None:
-        """Validate that rule works as intended."""
+        """Validate that rule works as intended.
+
+        :param default_rules_collection: Default rules for testing
+        :param file: Test file to check for violations
+        :expected: Expected number of errors
+        """
         results = Runner(file, rules=default_rules_collection).run()
         for result in results:
             assert result.rule.id == UseCommandInsteadOfShellRule.id, result

Reply via email to