Skip to content

Commit

Permalink
[stable-2.9] Restrict packaging to < 21.0 for Python < 3.6. (ansible#…
Browse files Browse the repository at this point in the history
…75186).

(cherry picked from commit 67bc49e)

Co-authored-by: Felix Fontein <felix@fontein.de>
  • Loading branch information
felixfontein authored and samdoran committed Jul 7, 2021
1 parent 60c03e8 commit 40bff9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
@@ -0,0 +1,2 @@
bugfixes:
- "ansible-test - restrict ``packaging`` to ``< 21.0`` for Python ``< 3.6`` (https://github.com/ansible/ansible/pull/75186)."
1 change: 1 addition & 0 deletions test/lib/ansible_test/_data/requirements/constraints.txt
@@ -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
Expand Down

0 comments on commit 40bff9f

Please sign in to comment.