Skip to content

Commit

Permalink
fix(python): update cattrs dependency specification
Browse files Browse the repository at this point in the history
`cattrs>=1.1.0` dropped support for python 3.6, and added support for
python 3.9. Consequently, declare a dependency on `cattrs~=1.0.0` when
the python runtime is `< 3.7`, and on `cattrs~=1.1.0` when the python
runtime is `>= 3.7` in order to get the correct dependency brought in.

Fixes aws/aws-cdk#11219
  • Loading branch information
RomainMuller committed Nov 2, 2020
1 parent bd85483 commit 7de5350
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@jsii/python-runtime/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
},
install_requires=[
"attrs~=20.1",
"cattrs~=1.0",
"cattrs~=1.0.0",
"importlib_resources ; python_version < '3.7'",
"python-dateutil",
"typing_extensions~=3.7",
],
python_requires=">=3.6",
python_requires="~=3.6",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand Down

0 comments on commit 7de5350

Please sign in to comment.