# Deprecation warnings in ansible-core 2.20

**URL:** <https://forum.ansible.com/t/deprecation-warnings-in-ansible-core-2-20/44741>\
**Category:** Collection Development\
**Tags:** news-for-maintainers, collections, ansible-core\
**Created:** [October 25, 2025, 11:30am UTC](https://forum.ansible.com/t/deprecation-warnings-in-ansible-core-2-20/44741 "2025-10-25T11:30:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mariolenz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/mariolenz/32/108_2.png) [@mariolenz](https://forum.ansible.com/u/mariolenz)\
**Post date:** [October 25, 2025, 11:30am UTC](https://forum.ansible.com/t/deprecation-warnings-in-ansible-core-2-20/44741/1 "2025-10-25T11:30:14Z")

</div>

The upcoming ansible-core version 2.20 will deprecate some code (like `ansible.module_utils.six`, `ansible.module_utils._text` and `ansible.module_utils.common._collections_compat`) and throw warnings about this. Some deprecations will make the sanity tests fail, but others might only show up as warnings when users run a playbook.

It is recommended that maintainers analyze their collections if they are using (parts of) this code, and also test with a pre-release of ansible-core (current latest one is [2.20.0rc2](https://pypi.org/project/ansible-core/2.20.0rc2/)) to see if any deprecation warnings show up.

If so, please evaluate if it is possible for you to replace it.
