Accepting request 1109447 from systemsmanagement:ansible
OBS-URL: https://build.opensuse.org/request/show/1109447 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ansible-compat?expand=0&rev=19
This commit is contained in:
commit
c0c781e5c8
2
_service
2
_service
@ -1,4 +1,4 @@
|
|||||||
<services>
|
<services>
|
||||||
<service name="download_files" mode="disabled">
|
<service name="download_files" mode="manual">
|
||||||
</service>
|
</service>
|
||||||
</services>
|
</services>
|
||||||
|
3
ansible-compat-4.1.10.tar.gz
Normal file
3
ansible-compat-4.1.10.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2be8c7b510d2e15eed1e9ef443209d67d9aec8f427026b88936d4535ff59863d
|
||||||
|
size 72127
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:597c836a184c1131feeb6b0e23cda236c41fecdee64427375278fb6920fd2e74
|
|
||||||
size 68562
|
|
@ -1,3 +1,52 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 6 15:25:15 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
- fix BuildRequires and Requires
|
||||||
|
- ignore 4 new checks that need internet connectivity
|
||||||
|
* test_scan_sys_path[isolatedT-scanT-raises_not_foundT]
|
||||||
|
* test_scan_sys_path[isolatedT-scanF-raises_not_foundT]
|
||||||
|
* test_scan_sys_path[isolatedF-scanT-raises_not_foundF]
|
||||||
|
* test_scan_sys_path[isolatedF-scanF-raises_not_foundT]
|
||||||
|
- update to 4.1.10:
|
||||||
|
* Bugfixes
|
||||||
|
- Catch empty collection lists (#332) @lod
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 6 14:55:28 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
- update to 4.1.9:
|
||||||
|
* Bugfixes
|
||||||
|
- Automatically add --pre when installing collections from git
|
||||||
|
repositories @ssbarnea
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 6 06:01:26 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
- update to 4.1.8:
|
||||||
|
* Bugfixes
|
||||||
|
- Revise site packages collection search test (#325) @cidrblock
|
||||||
|
- Add only those sys.paths which contain an ansible_collections
|
||||||
|
directory path (#322) @ajinkyau
|
||||||
|
- Allow git dependencies in galaxy.yml files (#321) @ssbarnea
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 6 05:44:29 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
- update to 4.1.7:
|
||||||
|
* Bugfixes
|
||||||
|
- Add `sys.path` to collection paths (#318) @cidrblock
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 6 05:39:12 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
- update to 4.1.6:
|
||||||
|
* Bugfixes
|
||||||
|
- Fix logic on prepare environment (#310) @ssbarnea
|
||||||
|
- Add smoke testing with ansible-lint (#312) @ssbarnea
|
||||||
|
- Adapt collection install test to pass with ansible-core
|
||||||
|
2.15.3 changes (#313) @ssbarnea
|
||||||
|
- Support meta main yaml extension (#304) @zhan9san
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 21 12:08:15 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
Fri Jul 21 12:08:15 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: python-ansible-compat
|
Name: python-ansible-compat
|
||||||
Version: 4.1.5
|
Version: 4.1.10
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Compatibility shim for Ansible 2.9 and newer
|
Summary: Compatibility shim for Ansible 2.9 and newer
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -36,18 +36,24 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test
|
# SECTION test
|
||||||
BuildRequires: %{python_module pytest}
|
# https://github.com/ansible/ansible-compat/blob/main/pyproject.toml#L38
|
||||||
BuildRequires: %{python_module PyYAML}
|
|
||||||
BuildRequires: %{python_module flaky}
|
|
||||||
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
|
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
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module pytest-mock}
|
||||||
|
BuildRequires: %{python_module pytest-plus}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-generators
|
BuildRequires: python-rpm-generators
|
||||||
%{?python_enable_dependency_generator}
|
Requires: ansible-core >= 2.12
|
||||||
|
Requires: python-PyYAML
|
||||||
|
Requires: python-jsonschema >= 4.17.3
|
||||||
|
Requires: python-packaging
|
||||||
Requires: python-subprocess-tee >= 0.4.1
|
Requires: python-subprocess-tee >= 0.4.1
|
||||||
|
%{?python_enable_dependency_generator}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -66,7 +72,22 @@ Facilitate working with various versions of Ansible 2.9 and newer.
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
# excluding tests requiring internet connection
|
# excluding tests requiring internet connection
|
||||||
%pytest -k 'not (test_runtime_example or test_require_collection_no_cache_dir or test_upgrade_collection or test_install_collection_dest or test_install_collection or test_require_collection or test_require_collection_wrong_version or test_prerun_reqs_v2 or test_prerun_reqs_v1 or test_prepare_environment_with_collections or test_runtime_require_module)' -W ignore:'There is no current event loop'
|
IGNORED_CHECKS="test_install_collection"
|
||||||
|
IGNORED_CHECKS="${IGNORED_CHECKS} or test_install_collection_dest"
|
||||||
|
IGNORED_CHECKS="${IGNORED_CHECKS} or test_prepare_environment_with_collections"
|
||||||
|
IGNORED_CHECKS="${IGNORED_CHECKS} or test_prerun_reqs_v1"
|
||||||
|
IGNORED_CHECKS="${IGNORED_CHECKS} or test_prerun_reqs_v2"
|
||||||
|
IGNORED_CHECKS="${IGNORED_CHECKS} or test_require_collection"
|
||||||
|
IGNORED_CHECKS="${IGNORED_CHECKS} or test_require_collection_no_cache_dir"
|
||||||
|
IGNORED_CHECKS="${IGNORED_CHECKS} or test_require_collection_wrong_version"
|
||||||
|
IGNORED_CHECKS="${IGNORED_CHECKS} or test_runtime_example"
|
||||||
|
IGNORED_CHECKS="${IGNORED_CHECKS} or test_runtime_require_module"
|
||||||
|
IGNORED_CHECKS="${IGNORED_CHECKS} or test_scan_sys_path[isolatedF-scanF-raises_not_foundT]"
|
||||||
|
IGNORED_CHECKS="${IGNORED_CHECKS} or test_scan_sys_path[isolatedF-scanT-raises_not_foundF]"
|
||||||
|
IGNORED_CHECKS="${IGNORED_CHECKS} or test_scan_sys_path[isolatedT-scanF-raises_not_foundT]"
|
||||||
|
IGNORED_CHECKS="${IGNORED_CHECKS} or test_scan_sys_path[isolatedT-scanT-raises_not_foundT]"
|
||||||
|
IGNORED_CHECKS="${IGNORED_CHECKS} or test_upgrade_collection"
|
||||||
|
%pytest -k "not (${IGNORED_CHECKS})"
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitelib}/ansible_compat
|
%{python_sitelib}/ansible_compat
|
||||||
|
Loading…
Reference in New Issue
Block a user