mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-01 10:53:20 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
28d7c499b5 | ||
|
|
9f218be912 | ||
|
|
363936a544 | ||
|
|
a8351fa9df | ||
|
|
4b84127ef3 | ||
|
|
82e1f24d2e |
@@ -6,6 +6,20 @@ Community General Release Notes
|
||||
|
||||
This changelog describes changes after version 7.0.0.
|
||||
|
||||
v8.0.2
|
||||
======
|
||||
|
||||
Release Summary
|
||||
---------------
|
||||
|
||||
Bugfix release for inclusion in Ansible 9.0.0rc1.
|
||||
|
||||
Bugfixes
|
||||
--------
|
||||
|
||||
- ocapi_utils, oci_utils, redfish_utils module utils - replace ``type()`` calls with ``isinstance()`` calls (https://github.com/ansible-collections/community.general/pull/7501).
|
||||
- pipx module utils - change the CLI argument formatter for the ``pip_args`` parameter (https://github.com/ansible-collections/community.general/issues/7497, https://github.com/ansible-collections/community.general/pull/7506).
|
||||
|
||||
v8.0.1
|
||||
======
|
||||
|
||||
|
||||
@@ -809,3 +809,17 @@ releases:
|
||||
- 7467-fix-gitlab-constants-calls.yml
|
||||
- 8.0.1.yml
|
||||
release_date: '2023-11-06'
|
||||
8.0.2:
|
||||
changes:
|
||||
bugfixes:
|
||||
- ocapi_utils, oci_utils, redfish_utils module utils - replace ``type()`` calls
|
||||
with ``isinstance()`` calls (https://github.com/ansible-collections/community.general/pull/7501).
|
||||
- pipx module utils - change the CLI argument formatter for the ``pip_args``
|
||||
parameter (https://github.com/ansible-collections/community.general/issues/7497,
|
||||
https://github.com/ansible-collections/community.general/pull/7506).
|
||||
release_summary: Bugfix release for inclusion in Ansible 9.0.0rc1.
|
||||
fragments:
|
||||
- 7501-type.yml
|
||||
- 7506-pipx-pipargs.yml
|
||||
- 8.0.2.yml
|
||||
release_date: '2023-11-13'
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
namespace: community
|
||||
name: general
|
||||
version: 8.0.1
|
||||
version: 8.0.2
|
||||
readme: README.md
|
||||
authors:
|
||||
- Ansible (https://github.com/ansible)
|
||||
|
||||
@@ -432,7 +432,7 @@ class OcapiUtils(object):
|
||||
else:
|
||||
return response
|
||||
details = response["data"]["Status"].get("Details")
|
||||
if type(details) is str:
|
||||
if isinstance(details, str):
|
||||
details = [details]
|
||||
health_list = response["data"]["Status"]["Health"]
|
||||
return_value = {
|
||||
|
||||
@@ -1529,7 +1529,7 @@ def delete_and_wait(
|
||||
result[resource_type] = resource
|
||||
return result
|
||||
# oci.wait_until() returns an instance of oci.util.Sentinel in case the resource is not found.
|
||||
if type(wait_response) is not Sentinel:
|
||||
if not isinstance(wait_response, Sentinel):
|
||||
resource = to_dict(wait_response.data)
|
||||
else:
|
||||
resource["lifecycle_state"] = "DELETED"
|
||||
|
||||
@@ -42,7 +42,7 @@ def pipx_runner(module, command, **kwargs):
|
||||
system_site_packages=fmt.as_bool("--system-site-packages"),
|
||||
_list=fmt.as_fixed(['list', '--include-injected', '--json']),
|
||||
editable=fmt.as_bool("--editable"),
|
||||
pip_args=fmt.as_opt_val('--pip-args'),
|
||||
pip_args=fmt.as_opt_eq_val('--pip-args'),
|
||||
),
|
||||
environ_update={'USE_EMOJI': '0'},
|
||||
check_rc=True,
|
||||
|
||||
@@ -3708,7 +3708,7 @@ class RedfishUtils(object):
|
||||
# WORKAROUND
|
||||
# HPE systems with iLO 4 will have BIOS Attribute Registries location URI as a dictionary with key 'extref'
|
||||
# Hence adding condition to fetch the Uri
|
||||
if type(loc['Uri']) is dict and "extref" in loc['Uri'].keys():
|
||||
if isinstance(loc['Uri'], dict) and "extref" in loc['Uri'].keys():
|
||||
rsp_uri = loc['Uri']['extref']
|
||||
if not rsp_uri:
|
||||
msg = "Language 'en' not found in BIOS Attribute Registries location, URI: %s, response: %s"
|
||||
|
||||
@@ -314,3 +314,28 @@
|
||||
that:
|
||||
- install_tox_sitewide is changed
|
||||
- usrlocaltox.stat.exists
|
||||
|
||||
##############################################################################
|
||||
# Test for issue 7497
|
||||
- name: ensure application pyinstaller is uninstalled
|
||||
community.general.pipx:
|
||||
name: pyinstaller
|
||||
state: absent
|
||||
|
||||
- name: Install Python Package pyinstaller
|
||||
community.general.pipx:
|
||||
name: pyinstaller
|
||||
state: present
|
||||
system_site_packages: true
|
||||
pip_args: "--no-cache-dir"
|
||||
register: install_pyinstaller
|
||||
|
||||
- name: cleanup pyinstaller
|
||||
community.general.pipx:
|
||||
name: pyinstaller
|
||||
state: absent
|
||||
|
||||
- name: check assertions
|
||||
assert:
|
||||
that:
|
||||
- install_pyinstaller is changed
|
||||
|
||||
Reference in New Issue
Block a user