Accepting request 1174035 from home:ojkastl_buildservice:Branch_systemsmanagement_ansible

update to 24.5.1

OBS-URL: https://build.opensuse.org/request/show/1174035
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:ansible/python-ansible-compat?expand=0&rev=24
This commit is contained in:
Johannes Kastl 2024-05-14 15:13:23 +00:00 committed by Git OBS Bridge
parent add8e6bc8f
commit 7430f8deb7
4 changed files with 21 additions and 6 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:32516cd34e920e4df6a5f4fb3fa8ae4c6817d18813c8fde829a029d4d6318a36
size 68474

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:235db266d08b40377431657842688e892d85916cb194cbab41f519e90083d0ee
size 67974

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue May 14 14:19:11 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 24.5.1:
* Minor Changes
- Add has_playbook method to Runtime (#364) @ssbarnea
* Bugfixes
- Fix packaging version to recognize pre-release versions
(#371) @ssbarnea
- Update requirements (#365) @ssbarnea
- Allow dashes in role namespaces (#355) @sur5r
- If project_dir is passed, locate requirements within that
directory (#339) @audgirka
-------------------------------------------------------------------
Sat Mar 16 14:04:01 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@ -24,7 +24,7 @@
%endif
Name: python-ansible-compat
Version: 4.1.12
Version: 24.5.1
Release: 0
Summary: Compatibility shim for Ansible 2.9 and newer
License: MIT
@ -36,12 +36,12 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test
# https://github.com/ansible/ansible-compat/blob/main/pyproject.toml#L38
# https://github.com/ansible/ansible-compat/blob/main/.config/requirements.in
BuildRequires: ansible-core >= 2.12
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module jsonschema >= 4.17.3}
BuildRequires: %{python_module subprocess-tee >= 0.4.1}
# https://github.com/ansible/ansible-compat/blob/main/pyproject.toml#L56
# https://github.com/ansible/ansible-compat/blob/main/.config/requirements-test.in
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest-plus}
@ -89,6 +89,7 @@ IGNORED_CHECKS="${IGNORED_CHECKS} or test_scan_sys_path[isolatedT-scanT-raises_n
IGNORED_CHECKS="${IGNORED_CHECKS} or test_scan_sys_path[scanF-raises_not_foundT]"
IGNORED_CHECKS="${IGNORED_CHECKS} or test_scan_sys_path[scanT-raises_not_foundF]"
IGNORED_CHECKS="${IGNORED_CHECKS} or test_upgrade_collection"
IGNORED_CHECKS="${IGNORED_CHECKS} or test_runtime_has_playbook"
# Disable checks on test names: https://github.com/pytest-dev/pytest-plus#user-content-avoiding-problematic-test-identifiers https://github.com/ansible/ansible-compat/issues/340
export PYTEST_CHECK_TEST_ID_REGEX=0
%pytest -k "not (${IGNORED_CHECKS})"