Accepting request 1088377 from systemsmanagement:ansible

OBS-URL: https://build.opensuse.org/request/show/1088377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ansible-compat?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2023-05-23 12:54:02 +00:00 committed by Git OBS Bridge
commit bed2609b9c
4 changed files with 59 additions and 9 deletions

View File

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

View File

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

View File

@ -1,3 +1,55 @@
-------------------------------------------------------------------
Mon May 22 05:42:53 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- update to 4.0.5:
* Bugfixes
- Improve requirements.yml detection (#275) @ssbarnea
- update to 4.0.4:
* Bugfixes
- Allow use of * version on dependencies (#268) @ssbarnea
- update to 4.0.3:
* Bugfixes
- Automatically install tests/requirements.yml when found
(#266) @ssbarnea
- Also install requirements from galaxy.yml files (#265)
@ssbarnea
- Include original message in AnsibleWarning (#264) @ssbarnea
- update to 4.0.2:
* Bugfixes
- Revert to previous behavior for ansible_collections_path
(#261) @ajinkyau
- update to 4.0.1 (4.0.0 does not exist):
* Major Changes
- Rename Runtime.exec to Runtime.run (#256) @ssbarnea
- Introduce use of JSON recursive type (#253) @ssbarnea
- ruff: Make optional arguments keyword-only (#251) @ssbarnea
- Finish pathlib migration (#245) @ssbarnea
- Make Runtime.project_dir use Path (#244) @ssbarnea
- Migrate some functions to use Path (#243) @ssbarnea
- Make Runtime.cache_dir use Path (#240) @ssbarnea
- Remove support for py38 (#239) @ssbarnea
* Minor Changes
- Monkeypatch ansible core Display.warning (#238) @ssbarnea
* Bugfixes
- Use YAML safe loader instead of full loader (#255) @ssbarnea
- Use dataclass sorting for json schema errors (#254) @ssbarnea
- ruff: Address more skips (#249) @ssbarnea
- ruff: address TRY and T201 (#248) @ssbarnea
- ruff: Address EM (#247) @ssbarnea
- Convert more code to pathlib (#242) @ssbarnea
-------------------------------------------------------------------
Fri May 19 07:25:35 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
-------------------------------------------------------------------
Tue May 16 09:43:46 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- rework %if condition to work with new sle15_python_module_pythons
macro on SLES15/Leap15
-------------------------------------------------------------------
Fri Apr 14 06:54:22 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>

View File

@ -16,17 +16,15 @@
#
%if 0%{?suse_version} < 1550
# Leap15, SLES15
%define pythons python310
%else
%{?sle15_python_module_pythons}
%if 0%{?suse_version} >= 1650
# Tumbleweed
# only works with the python version which the package 'ansible' uses
%define pythons python3
%endif
Name: python-ansible-compat
Version: 3.0.2
Version: 4.0.5
Release: 0
Summary: Compatibility shim for Ansible 2.9 and newer
License: MIT
@ -42,7 +40,7 @@ BuildRequires: python-rpm-macros
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module jsonschema >= 4.6.0}
BuildRequires: %{python_module jsonschema >= 4.17.3}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module subprocess-tee >= 0.4.1}
BuildRequires: ansible-core >= 2.12