Bug 2028098 - python-insteon fails to build with Python 3.11: AttributeError: module 'asyncio' has no attribute 'coroutine'
Summary: python-insteon fails to build with Python 3.11: AttributeError: module 'async...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: python-insteon
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2098974 (view as bug list)
Depends On:
Blocks: PYTHON3.11 F37FTBFS F37FailsToInstall F38FTBFS
TreeView+ depends on / blocked
 
Reported: 2021-12-01 13:25 UTC by Tomáš Hrnčiar
Modified: 2022-08-17 11:54 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-08-17 11:53:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2021-12-01 13:25:18 UTC
python-insteon fails to build with Python 3.11.0a2.

=================================== FAILURES ===================================
_______________________ TestProtocol.test_receive_on_msg _______________________

args = (<tests.test_protocol.TestProtocol testMethod=test_receive_on_msg>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
______________ TestProtocol.test_send_on_all_link_broadcast_topic ______________

args = (<tests.test_protocol.TestProtocol testMethod=test_send_on_all_link_broadcast_topic>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_______________________ TestProtocol.test_send_on_topic ________________________

args = (<tests.test_protocol.TestProtocol testMethod=test_send_on_topic>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
___________________ TestDeviceCommands.test_device_commands ____________________

args = (<tests.test_devices.test_device_commands.TestDeviceCommands testMethod=test_device_commands>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_____________________ TestDeviceCommands.test_x10_commands _____________________

args = (<tests.test_devices.test_device_commands.TestDeviceCommands testMethod=test_x10_commands>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_________________ TestDimmableLIghtingControl.test_off_command _________________

args = (<tests.test_devices.test_dimmable_lighting_control.TestDimmableLIghtingControl testMethod=test_off_command>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
______________ TestDimmableLIghtingControl.test_off_fast_command _______________

args = (<tests.test_devices.test_dimmable_lighting_control.TestDimmableLIghtingControl testMethod=test_off_fast_command>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_________________ TestDimmableLIghtingControl.test_on_command __________________

args = (<tests.test_devices.test_dimmable_lighting_control.TestDimmableLIghtingControl testMethod=test_on_command>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_______________ TestDimmableLIghtingControl.test_on_fast_command _______________

args = (<tests.test_devices.test_dimmable_lighting_control.TestDimmableLIghtingControl testMethod=test_on_fast_command>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_______________________ TestX10Devices.test_x10_dimmable _______________________

args = (<tests.test_devices.test_x10.TestX10Devices testMethod=test_x10_dimmable>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
________________________ TestX10Devices.test_x10_on_off ________________________

args = (<tests.test_devices.test_x10.TestX10Devices testMethod=test_x10_on_off>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
________________________ TestX10Devices.test_x10_sensor ________________________

args = (<tests.test_devices.test_x10.TestX10Devices testMethod=test_x10_sensor>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_______________________ TestDirectCommands.test_command ________________________

args = (<tests.test_handlers.test_commands.TestDirectCommands testMethod=test_command>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
________________________ TestIdRequest.test_id_request _________________________

args = (<tests.test_handlers.test_id_request.TestIdRequest testMethod=test_id_request>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
______________________ TestIdRequest.test_id_request_nak _______________________

args = (<tests.test_handlers.test_id_request.TestIdRequest testMethod=test_id_request_nak>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
______________________ TestNoDirectAck.test_no_direct_ack ______________________

args = (<tests.test_handlers.test_np_direct_ack.TestNoDirectAck testMethod=test_no_direct_ack>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
__________________________ TestOnLevel.test_on_level ___________________________

args = (<tests.test_handlers.test_on_level.TestOnLevel testMethod=test_on_level>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_______________________ TestOnLevel.test_on_level_group ________________________

args = (<tests.test_handlers.test_on_level.TestOnLevel testMethod=test_on_level_group>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
________________________ TestOnLevel.test_on_level_nak _________________________

args = (<tests.test_handlers.test_on_level.TestOnLevel testMethod=test_on_level_nak>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_______________ TestSendAllLinkingCommandHandler.test_async_send _______________

args = (<tests.test_handlers.test_send_all_link.TestSendAllLinkingCommandHandler testMethod=test_async_send>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_______________ TestSendAllLinkingCommandHandler.test_async_send _______________

args = (<tests.test_handlers.test_start_all_linkining.TestSendAllLinkingCommandHandler testMethod=test_async_send>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_____________________ TestStatusRequest.test_other_status ______________________

args = (<tests.test_handlers.test_status_request.TestStatusRequest testMethod=test_other_status>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
____________________ TestStatusRequest.test_status_command _____________________

args = (<tests.test_handlers.test_status_request.TestStatusRequest testMethod=test_status_command>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
__________________ TestStatusRequest.test_status_request_hub ___________________

args = (<tests.test_handlers.test_status_request.TestStatusRequest testMethod=test_status_request_hub>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
____________________ TestX10Received.test_x10_all_lights_on ____________________

args = (<tests.test_handlers.test_x10_received.TestX10Received testMethod=test_x10_all_lights_on>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
____________________ TestX10Received.test_x10_off_received _____________________

args = (<tests.test_handlers.test_x10_received.TestX10Received testMethod=test_x10_off_received>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_____________________ TestX10Received.test_x10_on_received _____________________

args = (<tests.test_handlers.test_x10_received.TestX10Received testMethod=test_x10_on_received>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
___________________ TestDeviceIdManager.test_id_awake_device ___________________

args = (<tests.test_managers.test_device_id_manager.TestDeviceIdManager testMethod=test_id_awake_device>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
______________________ TestDeviceIdManager.test_id_device ______________________

args = (<tests.test_managers.test_device_id_manager.TestDeviceIdManager testMethod=test_id_device>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_________________ TestExtendedPropertyManager.test_data_update _________________

args = (<tests.test_managers.test_ext_prop_manager.TestExtendedPropertyManager testMethod=test_data_update>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_______________________ TestHeartbeatManager.test_hb_off _______________________

args = (<tests.test_managers.test_hb_manager.TestHeartbeatManager testMethod=test_hb_off>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_______________________ TestHeartbeatManager.test_hb_on ________________________

args = (<tests.test_managers.test_hb_manager.TestHeartbeatManager testMethod=test_hb_on>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_______________________ TestHeartbeatManager.test_no_hb ________________________

args = (<tests.test_managers.test_hb_manager.TestHeartbeatManager testMethod=test_no_hb>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_________________________ TestOnLevelManager.test_off __________________________

args = (<tests.test_managers.test_on_level_manager.TestOnLevelManager testMethod=test_off>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
________________ TestOnLevelManager.test_off_2_msg_reduce_hops _________________

args = (<tests.test_managers.test_on_level_manager.TestOnLevelManager testMethod=test_off_2_msg_reduce_hops>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_________________ TestOnLevelManager.test_off_and_off_cleanup __________________

args = (<tests.test_managers.test_on_level_manager.TestOnLevelManager testMethod=test_off_and_off_cleanup>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_____________________ TestOnLevelManager.test_off_cleanup ______________________

args = (<tests.test_managers.test_on_level_manager.TestOnLevelManager testMethod=test_off_cleanup>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_______________________ TestOnLevelManager.test_off_fast _______________________

args = (<tests.test_managers.test_on_level_manager.TestOnLevelManager testMethod=test_off_fast>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
______________ TestOnLevelManager.test_off_fast_2_msg_reduce_hops ______________

args = (<tests.test_managers.test_on_level_manager.TestOnLevelManager testMethod=test_off_fast_2_msg_reduce_hops>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
___________________ TestOnLevelManager.test_off_fast_cleanup ___________________

args = (<tests.test_managers.test_on_level_manager.TestOnLevelManager testMethod=test_off_fast_cleanup>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
__________________________ TestOnLevelManager.test_on __________________________

args = (<tests.test_managers.test_on_level_manager.TestOnLevelManager testMethod=test_on>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_________________ TestOnLevelManager.test_on_2_msg_reduce_hops _________________

args = (<tests.test_managers.test_on_level_manager.TestOnLevelManager testMethod=test_on_2_msg_reduce_hops>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
__________________ TestOnLevelManager.test_on_and_on_cleanup ___________________

args = (<tests.test_managers.test_on_level_manager.TestOnLevelManager testMethod=test_on_and_on_cleanup>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
______________________ TestOnLevelManager.test_on_cleanup ______________________

args = (<tests.test_managers.test_on_level_manager.TestOnLevelManager testMethod=test_on_cleanup>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_______________________ TestOnLevelManager.test_on_fast ________________________

args = (<tests.test_managers.test_on_level_manager.TestOnLevelManager testMethod=test_on_fast>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
______________ TestOnLevelManager.test_on_fast_2_msg_reduce_hops _______________

args = (<tests.test_managers.test_on_level_manager.TestOnLevelManager testMethod=test_on_fast_2_msg_reduce_hops>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
___________________ TestOnLevelManager.test_on_fast_cleanup ____________________

args = (<tests.test_managers.test_on_level_manager.TestOnLevelManager testMethod=test_on_fast_cleanup>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_____________________ TestOnLevelManager.test_on_then_off ______________________

args = (<tests.test_managers.test_on_level_manager.TestOnLevelManager testMethod=test_on_then_off>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
____________________ TestBroadcastMessageDedup.test_dup_on _____________________

args = (<tests.test_messages.test_broadcast_dedup.TestBroadcastMessageDedup testMethod=test_dup_on>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
________________ TestBroadcastMessageDedup.test_dup_on_gt_2_sec ________________

args = (<tests.test_messages.test_broadcast_dedup.TestBroadcastMessageDedup testMethod=test_dup_on_gt_2_sec>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
_________ TestBroadcastMessageDedup.test_dup_on_increase_hops_lt_2_sec _________

args = (<tests.test_messages.test_broadcast_dedup.TestBroadcastMessageDedup testMethod=test_dup_on_increase_hops_lt_2_sec>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
__________ TestBroadcastMessageDedup.test_dup_on_reduce_hops_gt_2_sec __________

args = (<tests.test_messages.test_broadcast_dedup.TestBroadcastMessageDedup testMethod=test_dup_on_reduce_hops_gt_2_sec>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
___________ TestBroadcastMessageDedup.test_dup_on_same_hops_gt_1_sec ___________

args = (<tests.test_messages.test_broadcast_dedup.TestBroadcastMessageDedup testMethod=test_dup_on_same_hops_gt_1_sec>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
___________ TestBroadcastMessageDedup.test_dup_on_same_hops_lt_1_sec ___________

args = (<tests.test_messages.test_broadcast_dedup.TestBroadcastMessageDedup testMethod=test_dup_on_same_hops_lt_1_sec>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
__________________ TestDirectMsgToTopic.test_message_to_topic __________________

args = (<tests.test_messages.test_msg_to_cmd.TestDirectMsgToTopic testMethod=test_message_to_topic>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
____________________ TestModemALDBLoad.test_load_8_records _____________________

args = (<tests.test_modem.test_im_aldb_load.TestModemALDBLoad testMethod=test_load_8_records>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

tests/utils.py:47: AttributeError
------------------------------ Captured log call -------------------------------
DEBUG    tests:test_im_aldb_load.py:57 Running setUp
______________________ TestModemALDBLoad.test_load_empty _______________________

args = (<tests.test_modem.test_im_aldb_load.TestModemALDBLoad testMethod=test_load_empty>,)
kwargs = {}

    @wraps(func)
    def wrapper(*args, **kwargs):
>       coro = asyncio.coroutine(func)
E       AttributeError: module 'asyncio' has no attribute 'coroutine'

The @asyncio.coroutine decorator enabling legacy generator-based coroutines to be compatible with async/await code. The function has been deprecated since Python 3.8 and the removal was initially scheduled for Python 3.10. Use async def instead. (Contributed by Illia Volochii in bpo-43216.)

https://bugs.python.org/issue43216
https://docs.python.org/3.11/whatsnew/3.11.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.11/fedora-rawhide-x86_64/02990688-python-insteon/

For all our attempts to build python-insteon with Python 3.11, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.11/package/python-insteon/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.11:
https://copr.fedorainfracloud.org/coprs/g/python/python3.11/

Let us know here if you have any questions.

Python 3.11 is planned to be included in Fedora 37. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.11.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Ben Cotton 2022-02-08 21:23:20 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 2 Miro Hrončok 2022-06-20 10:18:09 UTC
*** Bug 2098974 has been marked as a duplicate of this bug. ***

Comment 3 Miro Hrončok 2022-06-27 14:52:59 UTC
Hello,

This is the first reminder (step 3 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs).

If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.

Comment 4 Miro Hrončok 2022-07-18 22:25:54 UTC
Hello,

This is the second reminder (step 4 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs).

If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.

Comment 5 Miro Hrončok 2022-08-17 11:51:33 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 38.

Thanks for taking care of it!

Comment 6 Miro Hrončok 2022-08-17 11:53:21 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 37.

Thanks for taking care of it!


Note You need to log in before you can comment on or make changes to this bug.