You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running sanity tests with ansible-core 2.16 in vmware.vmware_rest I see:
Running sanity test "import" on Python 3.12
Run command with data: importer.py
Run command with data: importer.py
ERROR: Found 132 import issue(s) on python 3.12 which need to be resolved:
ERROR: plugins/modules/appliance_access_consolecli.py:256:0: traceback: DeprecationWarning: There is no current event loop
.
.
.
It looks like you might have to generate different code. At least if you want the sanity tests to succeed. But the message sounds like the code might even break / fail, although I'm not sure what exactly it means. Didn't have the time to investigate yet.
The text was updated successfully, but these errors were encountered:
mariolenz
changed the title
DeprecationWarning: There is no current event loop
vmware_rest: DeprecationWarning: There is no current event loop
Nov 6, 2023
As noted above, consider using the higher-level asyncio.run() function, instead of using these lower level functions to manually create and close an event loop.
When running sanity tests with ansible-core 2.16 in vmware.vmware_rest I see:
ansible-collections/vmware.vmware_rest#432
It looks like you might have to generate different code. At least if you want the sanity tests to succeed. But the message sounds like the code might even break / fail, although I'm not sure what exactly it means. Didn't have the time to investigate yet.
The text was updated successfully, but these errors were encountered: