From ad215019e4aa4fe7838641dba469d2f3e2d1c45b Mon Sep 17 00:00:00 2001 From: Felipe Reyes Date: Tue, 25 Oct 2022 15:33:56 -0300 Subject: [PATCH] Unpin PyYAML for python>=3.10 PyYAML<5.1 fails with the error below on Python 3.10 AttributeError: module 'collections' has no attribute 'Hashable' The fix got available by this commit https://github.com/yaml/pyyaml/commit/9959328b41ee577c6f14e3a0184b07dd0ecadb8c --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 82f136a..6168614 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,8 @@ async_generator pyopenssl<22.1.0 boto3<1.25 -PyYAML<=4.2,>=3.0 +PyYAML<=4.2,>=3.0; python_version < '3.10' +PyYAML>=5.1; python_version >= '3.10' flake8>=2.2.4 flake8-docstrings flake8-per-file-ignores