From c4ad0eff21f954e3fea41c3fc069c19a93950376 Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Thu, 28 Jul 2022 08:39:57 +0200 Subject: [PATCH] Provide ansible-core extra Fixes #947. --- docs/changelog.rst | 4 ++-- setup.py | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index cadd1eefc..42879755b 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -22,11 +22,11 @@ v0.3.4.dev0 * :gh:issue:`929` Support Ansible 6 and ansible-core 2.13 * :gh:issue:`832` Fix runtime error when using the ansible.builtin.dnf module multiple times -* :gh:issue:`925` :class:`ansible_mitogen.connection.Connection` no longer tries to close the +* :gh:issue:`925` :class:`ansible_mitogen.connection.Connection` no longer tries to close the connection on destruction. This is expected to reduce cases of `mitogen.core.Error: An attempt was made to enqueue a message with a Broker that has already exitted`. However it may result in resource leaks. - +* :gh:issue:`947` Provide `ansible-core` extra which installs compatible version of ansible-core v0.3.3 (2022-06-03) ------------------- diff --git a/setup.py b/setup.py index 9d2ff36f0..1865bed3c 100644 --- a/setup.py +++ b/setup.py @@ -81,4 +81,7 @@ def long_description(): 'Topic :: System :: Distributed Computing', 'Topic :: System :: Systems Administration', ], + extras_require = { + 'ansible-core': ['ansible-core>=2.11,<2.14'], + }, )