Accepting request 1088380 from systemsmanagement:ansible
- update to 6.16.2: - adjust BuildRequires and Requires to actual requirements, especially python-ansible-compat >= 4.0.1 - properly set the version, so 'ansible-lint --version' gives the right information - update to 6.16.1: - modify %if-condition to allow building for python3.10 or python3.11 on SLES15 - update to 6.16.0: OBS-URL: https://build.opensuse.org/request/show/1088380 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ansible-lint?expand=0&rev=28
This commit is contained in:
commit
1814ff9116
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f9317b85c6e288f012757f69f670c08a301dfd3774d5463615746c823226148a
|
||||
size 414232
|
3
ansible-lint-6.16.2.tar.gz
Normal file
3
ansible-lint-6.16.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dc11ac1879d9d1ed0a5ca43dd779069e5bd8ec67264d838e5f7f4de809b29c14
|
||||
size 421872
|
@ -1,3 +1,134 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 22 05:39:01 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- update to 6.16.2:
|
||||
* Bugfixes
|
||||
- Update test dependencies (#3470) @ssbarnea
|
||||
- Fix and document installing of requirements.yml files (#3471)
|
||||
@ssbarnea
|
||||
- Do not ever exclude files given as arguments (#3468)
|
||||
@ssbarnea
|
||||
- Ensure we return error if argument gives are not present
|
||||
(#3467) @ssbarnea
|
||||
- Allow rules to expose all tags they can produce (#3464)
|
||||
@ssbarnea
|
||||
- Enable var-name rule to detect read-only variables (#3462)
|
||||
@ssbarnea
|
||||
- Add Oracle Enterprise Linux 7.* (#3463) @Rylon
|
||||
- Fix for var-naming rule to not break on include_tasks and
|
||||
vars (#3458) @ajinkyau
|
||||
- var-naming now prevents use of Ansible reserved names (#3460)
|
||||
@ssbarnea
|
||||
- Ensure that we also lint files from git submodules (#3431)
|
||||
@ssbarnea
|
||||
- Adding 2.16 to the list of allowed ansible-core versions in
|
||||
meta-runtime rule (#3455) @alisonlhart
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 17 09:06:08 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- adjust BuildRequires and Requires to actual requirements,
|
||||
especially python-ansible-compat >= 4.0.1
|
||||
- properly set the version, so 'ansible-lint --version' gives the
|
||||
right information
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 16 09:10:11 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- update to 6.16.1:
|
||||
* Bugfixes
|
||||
- Update lock file to use ansible-core 2.15.0 (#3449) @ssbarnea
|
||||
- Install requirements from galaxy.yml and
|
||||
tests/requirements.yml (#3446) @ssbarnea
|
||||
- Add Kali Linux as a supported platform (#3448) @mcdonnnj
|
||||
- Do not trigger no_handler upon complex conditions (#3437)
|
||||
@klaus-tux
|
||||
- Hide warning about unique filter originating from core
|
||||
(#3436) @ssbarnea
|
||||
- Relax ruamel-yaml requirements (#3433) @ssbarnea
|
||||
- Suggest correct alternative for `with_filetree` (#3432)
|
||||
@ErwinJanssen
|
||||
- Upgrade var-naming rule to include role name prefix (#3422)
|
||||
@ssbarnea
|
||||
- Fix exception when using reformatting on scalars (#3423)
|
||||
@ssbarnea
|
||||
- Find and lint imported playbooks (#3413) @ajinkyau
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 15 12:25:40 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- modify %if-condition to allow building for python3.10 or
|
||||
python3.11 on SLES15
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 9 10:55:17 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- update to 6.16.0:
|
||||
* Minor Changes
|
||||
- Capture python warnings and report some of them as matches
|
||||
(#3324) @ssbarnea
|
||||
- Capture and hide ansible core warnings by default (#3361)
|
||||
@ssbarnea
|
||||
- Remove progressive mode (#3350) @ssbarnea
|
||||
- Enforce use of lineno variable name inside the library
|
||||
(#3326) @ssbarnea
|
||||
* Bugfixes
|
||||
- Add Amazon Linux 2023 as a supported platform (#3405)
|
||||
@artis3n
|
||||
- Capture python warnings and report some of them as matches
|
||||
(#3324) @ssbarnea
|
||||
- Fix missing required arguments issue from args rule (#3402)
|
||||
@ajinkyau
|
||||
- Change matchtask to receive a Task instance (#3403) @ssbarnea
|
||||
- Require ruamel.yaml>=0.17.24 (#3406) @ssbarnea
|
||||
- Avoid exception when trying to load invalid text files
|
||||
(#3399) @ssbarnea
|
||||
- Fix ansible collection path detection (#3398) @ssbarnea
|
||||
- ruff: Address FBT002 (#3389) @shatakshiiii
|
||||
- More pathlib adoption (#3390) @ssbarnea
|
||||
- Avoid dropping comments on YAML transformation (#3392)
|
||||
@ssbarnea
|
||||
- Correct docs on navigator schema location (#3394) @yajo
|
||||
- Fix changelog schema for connection plugins (#3388) @Qalthos
|
||||
- Migrate from os.path to pathlib (#3384) @ssbarnea
|
||||
- Remove resolvelib from requirements lock (#3387) @ssbarnea
|
||||
- Make cwd use pathlib (#3383) @ssbarnea
|
||||
- ruff: Address PGH (#3380) @ssbarnea
|
||||
- ruff: Address A (#3379) @ssbarnea
|
||||
- ruff: Address B (#3377) @ssbarnea
|
||||
- ruff: Address SLF (#3372) @ssbarnea
|
||||
- ruff: Address `SIM` (#3373) @shatakshiiii
|
||||
- ruff: Address EXE (#3367) @ssbarnea
|
||||
- ruff: Address BLE (#3368) @shatakshiiii
|
||||
- ruff: Address INP and PLW (#3366) @ssbarnea
|
||||
- Add initial handling of submodules to contribution docs
|
||||
(#3362) @klaus-tux
|
||||
- ruff: Address T and RET (#3364) @ssbarnea
|
||||
- Find "changed" not only in first "when" condition (#3358)
|
||||
@klaus-tux
|
||||
- ruff: fix S rule (#3363) @ssbarnea
|
||||
- Make MatchError a dataclass (#3345) @ssbarnea
|
||||
- Remove `EM` from ruff ignores (#3356) @shatakshiiii
|
||||
- Mock jinja filters to prevent templating errors (#3355)
|
||||
@ssbarnea
|
||||
- Update schema files (#3354) @ssbarnea
|
||||
- Add Fedora 38 to meta.json schema file (#3353)
|
||||
@Marek-Mantaj-Mobica
|
||||
- Remove `RUF` from ruff ignores (#3346) @ajinkyau
|
||||
- Remove `G` from ruff ignores (#3332) @shatakshiiii
|
||||
- Remove `ISC` from ruff ignores (#3342) @shatakshiiii
|
||||
- Remove `C` from ruff ignores (#3343) @ajinkyau
|
||||
- Make linter configuration a dataclass (#3334) @ssbarnea
|
||||
- Remove `N` from ruff ignores (#3328) @shatakshiiii
|
||||
- Remove useless . from additional_dependencies in pre-commit
|
||||
hook (#3327) @trallnag
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 5 07:16:18 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- change python version on Leap15/SLES15 to python3.11 to use the
|
||||
new stack supported by SUSE
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:54:36 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
|
@ -16,13 +16,22 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
%if 0%{?suse_version} < 1550
|
||||
# Leap15, SLES15
|
||||
%if %pythons == "python310"
|
||||
%define ansible_python python310
|
||||
%define ansible_python_executable python3.10
|
||||
%define ansible_python_sitelib %python310_sitelib
|
||||
%endif
|
||||
%if %pythons == "python311"
|
||||
%define ansible_python python311
|
||||
%define ansible_python_executable python3.11
|
||||
%define ansible_python_sitelib %python311_sitelib
|
||||
%endif
|
||||
%else
|
||||
# Tumbleweed
|
||||
%define pythons python3
|
||||
%define ansible_python python3
|
||||
%define ansible_python_executable python3
|
||||
%define ansible_python_sitelib %python3_sitelib
|
||||
@ -31,7 +40,7 @@
|
||||
%global lib_name ansiblelint
|
||||
%{?python_enable_dependency_generator}
|
||||
Name: ansible-lint
|
||||
Version: 6.15.0
|
||||
Version: 6.16.2
|
||||
Release: 0%{?dist}
|
||||
Summary: Best practices checker for Ansible
|
||||
License: MIT
|
||||
@ -58,36 +67,39 @@ BuildRequires: %{ansible_python}-flake8
|
||||
|
||||
# Add runtime requirements (unless required for tests)
|
||||
# to make sure this only builds if they are present
|
||||
BuildRequires: ansible-core >= 2.14
|
||||
BuildRequires: %{ansible_python}-ansible-compat >= 2.2.5
|
||||
BuildRequires: %{ansible_python}-enrich >= 1.2.6
|
||||
BuildRequires: %{ansible_python}-filelock >= 3.8.0
|
||||
BuildRequires: %{ansible_python}-jsonschema >= 4.17.0
|
||||
# https://github.com/ansible/ansible-lint/blob/main/.config/requirements-lock.txt
|
||||
BuildRequires: ansible-core >= 2.15
|
||||
BuildRequires: %{ansible_python}-ansible-compat >= 4.0.1
|
||||
BuildRequires: %{ansible_python}-black >= 23.3.0
|
||||
BuildRequires: %{ansible_python}-enrich >= 1.2.7
|
||||
BuildRequires: %{ansible_python}-filelock >= 3.12.0
|
||||
BuildRequires: %{ansible_python}-jsonschema >= 4.17.3
|
||||
BuildRequires: %{ansible_python}-packaging >= 21.3
|
||||
BuildRequires: %{ansible_python}-PyYAML >= 5.4.1
|
||||
BuildRequires: %{ansible_python}-rich >= 12.0.0
|
||||
BuildRequires: (%{ansible_python}-ruamel.yaml >= 0.17.21 and %{ansible_python}-ruamel.yaml < 0.18)
|
||||
BuildRequires: %{ansible_python}-subprocess-tee
|
||||
BuildRequires: %{ansible_python}-PyYAML >= 6.0
|
||||
BuildRequires: %{ansible_python}-rich >= 13.3.5
|
||||
BuildRequires: (%{ansible_python}-ruamel.yaml >= 0.17.26 and %{ansible_python}-ruamel.yaml < 0.18)
|
||||
BuildRequires: %{ansible_python}-subprocess-tee >= 0.4.1
|
||||
BuildRequires: %{ansible_python}-tenacity
|
||||
BuildRequires: %{ansible_python}-wcmatch >= 8.3.2
|
||||
BuildRequires: %{ansible_python}-yamllint >= 1.26.3
|
||||
BuildRequires: %{ansible_python}-wcmatch >= 8.4.1
|
||||
BuildRequires: %{ansible_python}-yamllint >= 1.31.0
|
||||
|
||||
#
|
||||
Requires: ansible-core >= 2.14
|
||||
Requires: %{ansible_python}-ansible-compat >= 2.2.5
|
||||
Requires: %{ansible_python}-black >= 22.8.0
|
||||
Requires: %{ansible_python}-bracex
|
||||
# https://github.com/ansible/ansible-lint/blob/main/.config/requirements-lock.txt
|
||||
Requires: ansible-core >= 2.15
|
||||
Requires: %{ansible_python}-ansible-compat >= 4.0.1
|
||||
Requires: %{ansible_python}-black >= 23.3.0
|
||||
Requires: %{ansible_python}-bracex >= 2.2.1
|
||||
Requires: %{ansible_python}-enrich >= 1.2.6
|
||||
Requires: %{ansible_python}-filelock
|
||||
Requires: %{ansible_python}-filelock >= 3.12.0
|
||||
Requires: %{ansible_python}-jsonschema >= 4.17.0
|
||||
Requires: %{ansible_python}-packaging >= 21.3
|
||||
Requires: %{ansible_python}-PyYAML >= 5.4.1
|
||||
Requires: %{ansible_python}-rich >= 12.0.0
|
||||
Requires: (%{ansible_python}-ruamel.yaml >= 0.17.21 and %{ansible_python}-ruamel.yaml < 0.18)
|
||||
Requires: %{ansible_python}-subprocess-tee
|
||||
Requires: %{ansible_python}-PyYAML >= 6.0
|
||||
Requires: %{ansible_python}-rich >= 13.3.5
|
||||
Requires: (%{ansible_python}-ruamel.yaml >= 0.17.26 and %{ansible_python}-ruamel.yaml < 0.18)
|
||||
Requires: %{ansible_python}-subprocess-tee >= 0.4.1
|
||||
Requires: %{ansible_python}-tenacity
|
||||
Requires: %{ansible_python}-wcmatch >= 8.3.2
|
||||
Requires: %{ansible_python}-yamllint >= 1.26.3
|
||||
Requires: %{ansible_python}-wcmatch >= 8.4.1
|
||||
Requires: %{ansible_python}-yamllint >= 1.31.0
|
||||
|
||||
%description
|
||||
Checks playbooks for practices and behavior that could potentially be improved.
|
||||
@ -97,6 +109,7 @@ Checks playbooks for practices and behavior that could potentially be improved.
|
||||
sed -i '/^dynamic/d' pyproject.toml
|
||||
sed -i '/^description/a version = "%{version}"' pyproject.toml
|
||||
sed -i '1{/\/usr\/bin\/env python/d;}' src/ansiblelint/__main__.py
|
||||
sed -i '/__version__ =/ s/0.1.dev1/%{version}/' src/ansiblelint/version.py
|
||||
|
||||
%build
|
||||
%{ansible_python_executable} -mpip wheel --no-deps --disable-pip-version-check --use-pep517 --no-build-isolation --progress-bar off --verbose --wheel-dir ./build/ .
|
||||
|
Loading…
Reference in New Issue
Block a user