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 2022-02-15 23:57:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ansible-lint (Old) and /work/SRC/openSUSE:Factory/.ansible-lint.new.1956 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ansible-lint" Tue Feb 15 23:57:45 2022 rev:2 rq:955068 version:5.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ansible-lint/ansible-lint.changes 2022-02-02 22:45:02.826054212 +0100 +++ /work/SRC/openSUSE:Factory/.ansible-lint.new.1956/ansible-lint.changes 2022-02-15 23:58:13.440368868 +0100 @@ -1,0 +2,26 @@ +Tue Feb 15 09:21:58 UTC 2022 - Sebastian Wagner <sebix+novell....@sebix.at> + +- disable the tests test_co and test_call_from_outside_venv, they expect the ansible-lint executable in /usr/bin/ + see https://github.com/ansible-community/ansible-lint/issues/1885 + +------------------------------------------------------------------- +Sun Feb 13 08:42:03 UTC 2022 - Sebastian Wagner <sebix+novell....@sebix.at> + +- remove obsolete fix-discover_lintables.patchs +- Update to version 5.4.0: + - Minor Changes + - Neuter min space requirement for inline comments (#1821) @ssbarnea + - Allow rules to request original raw task data (#1834) @cognifloyd + - Add utils.nested_items_path and Deprecate utils.nested_items (#1824) @cognifloyd + - MatchError's should include the filename (#1806) @cognifloyd + - Bugfixes + - Allow use without activation of virtualenv (#1860) @ssbarnea + - Avoid running code on ansiblelint.config import (#1870) @ssbarnea + - Avoid false positive with git lfs command (#1859) @ssbarnea + - Strip ./ from discover_lintables results (#1837) @sebix + - Correcting formatting of sample .ansible-lint config (#1841) @IronTooch + - Move ansiblelint.testing.RunFromText import into test code (#1827) @cognifloyd + - Allow noqa to be used in more lintable kinds (#1819) @SirUli + - Recursively extract tasks from blocks (#1809) @cognifloyd + +------------------------------------------------------------------- Old: ---- ansible-lint-5.3.2.tar.gz fix-discover_lintables.patch New: ---- ansible-lint-5.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ansible-lint.spec ++++++ --- /var/tmp/diff_new_pack.SLhHCx/_old 2022-02-15 23:58:13.848369995 +0100 +++ /var/tmp/diff_new_pack.SLhHCx/_new 2022-02-15 23:58:13.852370006 +0100 @@ -1,7 +1,7 @@ # # spec file for package ansible-lint # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # Copyright 2018 by Lars Vogdt # # All modifications and additions to the file contributed by third parties @@ -13,56 +13,54 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global lib_name ansiblelint %{?python_enable_dependency_generator} Name: ansible-lint -Version: 5.3.2 +Version: 5.4.0 Release: 1%{?dist} Summary: Best practices checker for Ansible License: MIT -Url: https://github.com/willthames/ansible-lint -Source0: https://github.com/willthames/ansible-lint/archive/v%{version}/ansible-lint-%{version}.tar.gz -Patch0: https://github.com/ansible-community/ansible-lint/pull/1837.patch#/fix-discover_lintables.patch +URL: https://github.com/ansible-community/ansible-lint +Source0: https://github.com/ansible-community/ansible-lint/archive/v%{version}/ansible-lint-%{version}.tar.gz BuildArch: noarch BuildRequires: python-rpm-macros -BuildRequires: python3-pip -BuildRequires: python3-wheel BuildRequires: python3-PyYAML +BuildRequires: python3-pip BuildRequires: python3-six +BuildRequires: python3-wheel # SECTION tests BuildRequires: python3-pytest-xdist BuildRequires: python3-flaky -BuildRequires: python3-tenacity BuildRequires: python3-packaging +BuildRequires: python3-tenacity BuildRequires: python3-yamllint #BuildRequires: git BuildRequires: python3-enrich >= 1.2.6 BuildRequires: python3-rich >= 9.5.1 -BuildRequires: python3-wcmatch >= 7.0 BuildRequires: python3-ruamel.yaml >= 0.15.37 +BuildRequires: python3-wcmatch >= 7.0 # /SECTION BuildRequires: ansible BuildRequires: fdupes Requires: ansible Requires: python3-PyYAML -Requires: python3-six -Requires: python3-tenacity -Requires: python3-packaging Requires: python3-enrich >= 1.2.6 +Requires: python3-packaging Requires: python3-rich >= 9.5.1 -Requires: python3-wcmatch >= 7.0 Requires: python3-ruamel.yaml >= 0.15.37 +Requires: python3-six +Requires: python3-tenacity +Requires: python3-wcmatch >= 7.0 %description Checks playbooks for practices and behavior that could potentially be improved. %prep %setup -n ansible-lint-%{version} -%patch0 -p1 sed -ri 's/(\[metadata\])/\1\nversion = %{version}/' setup.cfg sed -i '1{/\/usr\/bin\/env python/d;}' src/ansiblelint/__main__.py @@ -80,7 +78,8 @@ %check # exclude some tests depending on internet access (galaxy modules) # exclude test_cli_auto_detect which depends on a local git repository -PYTHONPATH=${PYTHONPATH:+$PYTHONPATH:}%{buildroot}/%{python3_sitelib} PATH=${PATH:+$PATH:}%{buildroot}/%{_bindir} PYTHONDONTWRITEBYTECODE=1 pytest -v -k 'not (test_prerun_reqs_v1 or test_prerun_reqs_v2 or test_install_collection or test_require_collection_wrong_version or test_cli_auto_detect)' +# exclude test_co and test_call_from_outside_venv because of https://github.com/ansible-community/ansible-lint/issues/1885 +PYTHONPATH=${PYTHONPATH:+$PYTHONPATH:}%{buildroot}/%{python3_sitelib} PATH=${PATH:+$PATH:}%{buildroot}/%{_bindir} PYTHONDONTWRITEBYTECODE=1 pytest -v -k 'not (test_prerun_reqs_v1 or test_prerun_reqs_v2 or test_install_collection or test_require_collection_wrong_version or test_cli_auto_detect or test_eco or test_call_from_outside_venv)' %files %doc README.rst ++++++ ansible-lint-5.3.2.tar.gz -> ansible-lint-5.4.0.tar.gz ++++++ ++++ 10930 lines of diff (skipped)