ansible/lib/ansible
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
..
_vendor Rename to ansible-core (#72594) 2020-11-13 15:42:10 -06:00
cli Better handling of rstisms in ansible-doc (#74596) 2021-05-11 11:31:20 -04:00
collections saner path dir management (#72648) 2020-12-14 19:30:13 -05:00
compat Updated bundled libraries (#70418) 2020-07-02 12:39:00 -05:00
config Remove 'default:' from config settings (#74607) 2021-05-07 10:31:32 -04:00
errors Correctly set path and fullpath for template vars (#73924) 2021-03-26 16:33:25 -04:00
executor Vendor distutils.version (#74644) 2021-05-11 12:33:51 -05:00
galaxy Vendor distutils.version (#74644) 2021-05-11 12:33:51 -05:00
inventory inventory: misc typo fixes (#73695) 2021-02-23 10:42:20 -05:00
module_utils basic: Skip over module parameters (#74559) 2021-05-11 15:05:56 -04:00
modules Vendor distutils.version (#74644) 2021-05-11 12:33:51 -05:00
parsing Abstract away libyaml details into yaml utils (#72607) 2021-04-21 16:47:03 -05:00
playbook Role argspec: allow new argument spec file (#74582) 2021-05-11 09:29:47 -05:00
plugins use self.host which will always be updated (#74574) 2021-05-11 14:49:56 -04:00
template Vendor distutils.version (#74644) 2021-05-11 12:33:51 -05:00
utils Vendor distutils.version (#74644) 2021-05-11 12:33:51 -05:00
vars Only check if play.hosts is a template when the play hasn't been finalized (#73941) 2021-04-19 13:03:40 -04:00
__init__.py CI and compat fixes for Jinja2 >= 3.0 (#74666) 2021-05-11 19:59:44 -07:00
constants.py force version on deprecation (#74338) 2021-04-26 13:02:00 -04:00
context.py
keyword_desc.yml Better handling of rstisms in ansible-doc (#74596) 2021-05-11 11:31:20 -04:00
release.py prep for 2.12 version bump (#74126) 2021-04-05 16:56:53 -05:00