ansible/test/lib/ansible_test
Sam Doran f99d024851
CI and compat fixes for Jinja2 >= 3.0 (#74666)
* Add constraint for MarkupSafe

MarkupSafe >= 2.0.0 requires Python >= 3.6.0. Add a constraint for older Python versions
and fix the `groupby_filter` test.

* Fix template_jinja2_latest test.

* patch filter decorators on newer Jinja2

* Jinja2 >= 3.0 renames several filter decorators used by Ansible itself, as well as by filters in collections. This patch ensures that the old names are usable within Ansible and by collections without warnings or errors.

* Ignore docs-build issues.

Co-authored-by: Matt Clay <matt@mystile.com>
Co-authored-by: Matt Davis <mrd@redhat.com>
2021-05-11 19:59:44 -07:00
..
_data CI and compat fixes for Jinja2 >= 3.0 (#74666) 2021-05-11 19:59:44 -07:00
_internal Add support for testing with Python 3.10. 2021-05-10 08:23:15 -07:00
config Add collection config support to ansible-test. 2021-04-27 12:09:34 -07:00
__init__.py