Accepting request 1238167 from systemsmanagement:ansible

OBS-URL: https://build.opensuse.org/request/show/1238167
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ansible-compat?expand=0&rev=31
This commit is contained in:
Ana Guerrero 2025-01-16 17:34:13 +00:00 committed by Git OBS Bridge
commit 9f9ab9465b
4 changed files with 21 additions and 5 deletions

View File

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

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5820f3122f890d4d5f06a477741378bb1168764201bd6836e8896be291dd9d39
size 80848

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Jan 15 07:12:45 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 25.0.0:
* Major
- Support ansible 2.18, drop 2.14/2.15 and py39 (#443) @ssbarnea
* Bugfixes
- Change cache_dir location to prefer venv and project_directory (#439) @ssbarnea
- Enable toml-sort-fix (#442) @ssbarnea
- Refactor search_galaxy_paths to use pathlib (#437) @ssbarnea
-------------------------------------------------------------------
Wed Nov 13 14:31:54 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@ -24,7 +24,7 @@
%endif
Name: python-ansible-compat
Version: 24.10.0
Version: 25.0.0
Release: 0
Summary: Compatibility shim for Ansible 2.9 and newer
License: MIT
@ -43,12 +43,13 @@ BuildRequires: %{python_module jsonschema >= 4.17.3}
BuildRequires: %{python_module subprocess-tee >= 0.4.1}
# https://github.com/ansible/ansible-compat/blob/main/.config/requirements-test.in
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-instafail}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest-plus}
# /SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-generators
Requires: ansible-core >= 2.14
Requires: ansible-core >= 2.16
Requires: python-PyYAML
Requires: python-jsonschema >= 4.17.3
Requires: python-packaging
@ -91,6 +92,10 @@ 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"
IGNORED_CHECKS="${IGNORED_CHECKS} or test_load_plugins[modules]"
IGNORED_CHECKS="${IGNORED_CHECKS} or test_get_cache_dir_relative"
# tests that need network connectivity
IGNORED_CHECKS="${IGNORED_CHECKS} or test_scan_sys_path[0]"
IGNORED_CHECKS="${IGNORED_CHECKS} or test_scan_sys_path[1]"
# 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})"