From e07a044ce681e775c1f57de4a85eb6a6dfbfbb2d Mon Sep 17 00:00:00 2001 From: Peter Gaultney Date: Wed, 27 May 2020 11:49:08 -0500 Subject: [PATCH] 1.0.3 - fixed install for Python >=3.7 --- CHANGES.md | 4 ++++ setup.py | 7 ++++++- xoto3/__about__.py | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index c42b9ac..215c60c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,7 @@ +### 1.0.3 + +Fixed install_requires for Python > 3.6 + ### 1.0.2 - Fixed return value for `put_unless_exists`. diff --git a/setup.py b/setup.py index c8a10ee..0aba450 100644 --- a/setup.py +++ b/setup.py @@ -7,6 +7,7 @@ with open("README.md") as fh: long_description = fh.read() + setup( name=PKG_NAME, version=about["__version__"], @@ -19,6 +20,10 @@ packages=find_packages(), package_data={"": ["py.typed"]}, python_requires=">=3.6", - install_requires=["boto3 >= 1.9", "typing-extensions >= 3.7", "dataclasses"], + install_requires=[ + "boto3 >= 1.9", + "typing-extensions >= 3.7", + "dataclasses;python_version<'3.7'", + ], # it is important to keep these install_requires basically in sync with the Pipfile as well. ) diff --git a/xoto3/__about__.py b/xoto3/__about__.py index 9cf5e2f..7045f28 100644 --- a/xoto3/__about__.py +++ b/xoto3/__about__.py @@ -1,4 +1,4 @@ """xoto3""" -__version__ = "1.0.2" +__version__ = "1.0.3" __author__ = "Peter Gaultney" __author_email__ = "pgaultney@xoi.io"