[stable-2.9] Restrict packaging to < 21.0 for Python < 3.6. (#75186).

(cherry picked from commit 67bc49e001)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Felix Fontein 2021-07-07 15:19:05 +02:00 committed by Matt Clay
parent 332ca6e298
commit 7a5c66fe14
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,2 @@
bugfixes:
- "ansible-test - restrict ``packaging`` to ``< 21.0`` for Python ``< 3.6`` (https://github.com/ansible/ansible/pull/75186)."

View File

@ -1,3 +1,4 @@
packaging < 21.0 ; python_version < '3.6' # packaging 21.0 requires Python 3.6 or newer
coverage >= 4.2, < 5.0.0, != 4.3.2 ; python_version <= '3.7' # features in 4.2+ required, avoid known bug in 4.3.2 on python 2.6, coverage 5.0+ incompatible
coverage >= 4.5.4, < 5.0.0 ; python_version > '3.7' # coverage had a bug in < 4.5.4 that would cause unit tests to hang in Python 3.8, coverage 5.0+ incompatible
cryptography < 2.2 ; python_version < '2.7' # cryptography 2.2 drops support for python 2.6