Skip to content

Commit

Permalink
Pin PyYAML version compatible with Python 3.8+ (#77936) (#77986)
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
Co-authored-by: Matt Clay <matt@mystile.com>
(cherry picked from commit e89176c)
  • Loading branch information
s-hertel committed Jun 8, 2022
1 parent 68c2f09 commit 0c76edb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/77936-add-pyyaml-version.yml
@@ -0,0 +1,2 @@
bugfixes:
- Add PyYAML >= 5.1 as a dependency of ansible-core to be compatible with Python 3.8+.
2 changes: 1 addition & 1 deletion requirements.txt
Expand Up @@ -4,7 +4,7 @@
# packages, not optional ones, and with the widest range of versions that could
# be suitable)
jinja2 >= 3.0.0
PyYAML
PyYAML >= 5.1 # PyYAML 5.1 is required for Python 3.8+ support
cryptography
packaging
# NOTE: resolvelib 0.x version bumps should be considered major/breaking
Expand Down
2 changes: 1 addition & 1 deletion test/lib/ansible_test/_data/requirements/ansible.txt
Expand Up @@ -4,7 +4,7 @@
# packages, not optional ones, and with the widest range of versions that could
# be suitable)
jinja2 >= 3.0.0
PyYAML
PyYAML >= 5.1 # PyYAML 5.1 is required for Python 3.8+ support
cryptography
packaging
# NOTE: resolvelib 0.x version bumps should be considered major/breaking
Expand Down

0 comments on commit 0c76edb

Please sign in to comment.