Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ansible-variables for 
openSUSE:Factory checked in at 2024-03-17 22:14:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ansible-variables (Old)
 and      /work/SRC/openSUSE:Factory/.ansible-variables.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ansible-variables"

Sun Mar 17 22:14:22 2024 rev:4 rq:1158376 version:0.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ansible-variables/ansible-variables.changes      
2023-11-23 21:43:00.788717828 +0100
+++ 
/work/SRC/openSUSE:Factory/.ansible-variables.new.1905/ansible-variables.changes
    2024-03-17 22:14:29.693072650 +0100
@@ -1,0 +2,6 @@
+Fri Mar 15 22:02:24 UTC 2024 - Johannes Kastl 
<opensuse_buildserv...@ojkastl.de>
+
+- update to 0.6.1:
+  * dependency updates
+
+-------------------------------------------------------------------

Old:
----
  ansible-variables-0.6.0.tar.gz

New:
----
  ansible-variables-0.6.1.tar.gz

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

Other differences:
------------------
++++++ ansible-variables.spec ++++++
--- /var/tmp/diff_new_pack.HOsLmb/_old  2024-03-17 22:14:30.269093721 +0100
+++ /var/tmp/diff_new_pack.HOsLmb/_new  2024-03-17 22:14:30.273093867 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ansible-variables
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -38,7 +38,7 @@
 %endif
 
 Name:           ansible-variables
-Version:        0.6.0
+Version:        0.6.1
 Release:        0
 Summary:        Tool to show origin of Ansible host context variables
 License:        GPL-3.0-or-later
@@ -58,7 +58,7 @@
 Requires:       %{ansible_python}-rich
 Requires:       ansible-core >= 2.11.0
 Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 
 %description

++++++ ansible-variables-0.6.0.tar.gz -> ansible-variables-0.6.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ansible-variables-0.6.0/.github/workflows/publish.yml 
new/ansible-variables-0.6.1/.github/workflows/publish.yml
--- old/ansible-variables-0.6.0/.github/workflows/publish.yml   2023-11-22 
21:57:07.000000000 +0100
+++ new/ansible-variables-0.6.1/.github/workflows/publish.yml   2024-03-10 
12:45:44.000000000 +0100
@@ -25,7 +25,7 @@
       - uses: actions/checkout@v4
         if: ${{ steps.release.outputs.release_created }}
       - name: Set up Python
-        uses: actions/setup-python@v4
+        uses: actions/setup-python@v5
         with:
           python-version: "3.9"
         if: ${{ steps.release.outputs.release_created }}
@@ -38,7 +38,7 @@
         run: python -m build
         if: ${{ steps.release.outputs.release_created }}
       - name: Publish package
-        uses: 
pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e
+        uses: 
pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450
         with:
           user: __token__
           password: ${{ secrets.PYPI_PASSWORD }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible-variables-0.6.0/.github/workflows/tox.yml 
new/ansible-variables-0.6.1/.github/workflows/tox.yml
--- old/ansible-variables-0.6.0/.github/workflows/tox.yml       2023-11-22 
21:57:07.000000000 +0100
+++ new/ansible-variables-0.6.1/.github/workflows/tox.yml       2024-03-10 
12:45:44.000000000 +0100
@@ -61,7 +61,7 @@
           fetch-depth: 0
 
       - name: Set up python ${{ matrix.python_version }}
-        uses: actions/setup-python@v4
+        uses: actions/setup-python@v5
         with:
           python-version: ${{ matrix.python_version }}
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible-variables-0.6.0/.pre-commit-config.yaml 
new/ansible-variables-0.6.1/.pre-commit-config.yaml
--- old/ansible-variables-0.6.0/.pre-commit-config.yaml 2023-11-22 
21:57:07.000000000 +0100
+++ new/ansible-variables-0.6.1/.pre-commit-config.yaml 2024-03-10 
12:45:44.000000000 +0100
@@ -21,18 +21,18 @@
         language_version: python3
 
   - repo: https://github.com/crate-ci/typos
-    rev: v1.16.23
+    rev: v1.18.1
     hooks:
       - id: typos
 
   - repo: https://github.com/psf/black
-    rev: 23.10.1
+    rev: 24.1.1
     hooks:
       - id: black
         exclude: ".ci/hack"
 
   - repo: https://github.com/astral-sh/ruff-pre-commit
-    rev: 'v0.1.4'
+    rev: 'v0.2.0'
     hooks:
       - id: ruff
         args:
@@ -40,7 +40,7 @@
          - --exit-non-zero-on-fix
 
   - repo: https://github.com/jackdewinter/pymarkdown
-    rev: v0.9.14
+    rev: 0.9.16
     hooks:
       - id: pymarkdown
         args:
@@ -50,7 +50,7 @@
         exclude: CHANGELOG.md # is autogenerated
 
   - repo: https://github.com/pycqa/pylint
-    rev: v3.0.1
+    rev: v3.0.3
     hooks:
       - id: pylint
         pass_filenames: false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible-variables-0.6.0/CHANGELOG.md 
new/ansible-variables-0.6.1/CHANGELOG.md
--- old/ansible-variables-0.6.0/CHANGELOG.md    2023-11-22 21:57:07.000000000 
+0100
+++ new/ansible-variables-0.6.1/CHANGELOG.md    2024-03-10 12:45:44.000000000 
+0100
@@ -1,5 +1,12 @@
 # Changelog
 
+## 
[0.6.1](https://github.com/hille721/ansible-variables/compare/v0.6.0...v0.6.1) 
(2024-03-10)
+
+
+### Miscellaneous Chores
+
+* release 0.6.1 
([e0b45a5](https://github.com/hille721/ansible-variables/commit/e0b45a5f83def5077434f34d20352df0d537f66d))
+
 ## 
[0.6.0](https://github.com/hille721/ansible-variables/compare/v0.5.1...v0.6.0) 
(2023-11-22)
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ansible-variables-0.6.0/lib/ansible_variables/utils/vars.py 
new/ansible-variables-0.6.1/lib/ansible_variables/utils/vars.py
--- old/ansible-variables-0.6.0/lib/ansible_variables/utils/vars.py     
2023-11-22 21:57:07.000000000 +0100
+++ new/ansible-variables-0.6.1/lib/ansible_variables/utils/vars.py     
2024-03-10 12:45:44.000000000 +0100
@@ -13,6 +13,12 @@
 display = Display()
 
 
+def escape_ansi(line):
+    """The debug output contains ANSI codings, we need to remove them"""
+    ansi_escape = re.compile(r"(?:\x1B[@-_]|[\x80-\x9F])[0-?]*[ -/]*[@-~]")
+    return ansi_escape.sub("", line)
+
+
 @dataclass
 class VariableSource:
     """Class for keeping track of an variable source item"""
@@ -51,12 +57,6 @@
     def files(self) -> List[str]:
         return self.parse_files_from_debug_log()
 
-    @staticmethod
-    def escape_ansi(line):
-        """The debug output contains ANSI codings, we need to remove them"""
-        ansi_escape = re.compile(r"(?:\x1B[@-_]|[\x80-\x9F])[0-?]*[ -/]*[@-~]")
-        return ansi_escape.sub("", line)
-
     def parse_files_from_debug_log(self) -> List[str]:
         """The debug output from `variable_manager.get_vars()` contains all 
filenames
         from which the variables were loaded.
@@ -70,7 +70,7 @@
             return files
 
         for line in self.debuglog.splitlines():
-            found = re.search(r"Loading data from ([^\s]*)", 
self.escape_ansi(line))
+            found = re.search(r"Loading data from ([^\s]*)", escape_ansi(line))
             if found:
                 files.extend(found.groups())
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible-variables-0.6.0/setup.cfg 
new/ansible-variables-0.6.1/setup.cfg
--- old/ansible-variables-0.6.0/setup.cfg       2023-11-22 21:57:07.000000000 
+0100
+++ new/ansible-variables-0.6.1/setup.cfg       2024-03-10 12:45:44.000000000 
+0100
@@ -1,6 +1,6 @@
 [metadata]
 name = ansible-variables
-version = 0.6.0
+version = 0.6.1
 description = Keep track of Ansible host context variables
 long_description = file: README.md
 long_description_content_type = text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible-variables-0.6.0/tests/test_cli.py 
new/ansible-variables-0.6.1/tests/test_cli.py
--- old/ansible-variables-0.6.0/tests/test_cli.py       2023-11-22 
21:57:07.000000000 +0100
+++ new/ansible-variables-0.6.1/tests/test_cli.py       2024-03-10 
12:45:44.000000000 +0100
@@ -2,6 +2,7 @@
 from ansible import constants as C
 
 from ansible_variables.cli.variables import VariablesCLI, main
+from ansible_variables.utils.vars import escape_ansi
 
 C.set_constant("CONFIG_FILE", "tests/test_data/ansible.cfg")
 C.set_constant("DEFAULT_HOST_LIST", "tests/test_data/inventory")
@@ -29,15 +30,15 @@
         variables_cli = VariablesCLI(["ansible-variables", server, "--var", 
"from_all"])
         variables_cli.run()
         captured = "".join(capsys.readouterr().out.splitlines())
-        assert "from_all: hello - inventory group_vars/all" == captured
+        assert "from_all: hello - inventory group_vars/all" == 
escape_ansi(captured)
 
 
 def test_cli_from_all_v(capsys):
     variables_cli = VariablesCLI(["ansible-variables", "server1", "--var", 
"from_all", "-v"])
     variables_cli.run()
     captured = "".join(capsys.readouterr().out.splitlines())
-    assert "from_all: hello - inventory group_vars/all" in captured
-    assert "tests/test_data/inventory/group_vars/all/all" in captured
+    assert "from_all: hello - inventory group_vars/all" in 
escape_ansi(captured)
+    assert "tests/test_data/inventory/group_vars/all/all" in 
escape_ansi(captured)
 
 
 def test_cli_from_all_vvv(capsys):

Reply via email to