-
Notifications
You must be signed in to change notification settings - Fork 24.1k
Closed
Labels
affects_2.13bot_closedbugThis issue/PR relates to a bug.This issue/PR relates to a bug.support:coreThis issue/PR relates to code supported by the Ansible Engineering Team.This issue/PR relates to code supported by the Ansible Engineering Team.
Description
Summary
The ansible_collections/community/general/tests/integration/targets/mail/files/smtpserver.py
uses import asyncore
whereas this module has been removed in Python 3.11, after being deprecated since Python 3.6.
One option is to copy Python 3.10 asyncore.py file in ansible test suite. Another is that someone should maintain an asyncore module on PyPI.
Issue Type
Bug Report
Component Name
tests
Ansible Version
ansible-5.0.0 source code from PyPI.
Configuration
$ ansible-config dump --only-changed
OS / Environment
Any operating system.
Steps to Reproduce
Run the ansible integration test suite on Python 3.11.
Expected Results
ansible-5.0.0/ansible_collections/community/general/tests/integration/targets/mail/files/smtpserver.py must not fail.
Actual Results
I didn't try to run the Ansible test suite. I only noticed that "import asyncore" is used.
Code of Conduct
- I agree to follow the Ansible Code of Conduct
Metadata
Metadata
Assignees
Labels
affects_2.13bot_closedbugThis issue/PR relates to a bug.This issue/PR relates to a bug.support:coreThis issue/PR relates to code supported by the Ansible Engineering Team.This issue/PR relates to code supported by the Ansible Engineering Team.