From 61587ad394a40522ae454e10190ed369172500ef Mon Sep 17 00:00:00 2001 From: Elad Almos Date: Wed, 1 Sep 2021 12:20:45 +0300 Subject: [PATCH 1/2] depend on dataclasses package only for python<3.7 As of python3.7 dataclasses is built in to python dataclasses package even changed their supported versions after 0.6 to `>=3.6, <3.7` That means if we keep the dataclasses requirement we are stuck using dataclasses<=0.6 and don't use the built-in Adding the suffix here will make sure we can use the built-in dataclasses --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index a46627b..ea16106 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -dataclasses +dataclasses ; python_version < '3.7' From eabdae30465ef80745565da1c70f51e414017841 Mon Sep 17 00:00:00 2001 From: elad Date: Mon, 25 Oct 2021 11:56:41 +0300 Subject: [PATCH 2/2] update version --- more_properties/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/more_properties/__init__.py b/more_properties/__init__.py index d424356..1828f30 100644 --- a/more_properties/__init__.py +++ b/more_properties/__init__.py @@ -17,7 +17,7 @@ "cached_static_property", ] -__version__ = "1.1.1" +__version__ = "1.1.1.fbx.fix" # Providing aliases for consistency with classmethod and staticmethod classproperty = class_property