From ac78c96d1031b76f640878319ae14c20eb37b6e7 Mon Sep 17 00:00:00 2001 From: Daniel Roy Greenfeld Date: Fri, 25 Oct 2024 16:22:21 +0100 Subject: [PATCH] Specify 3.8 or higher --- HISTORY.md | 5 +++++ cached_property.py | 6 +++--- setup.py | 3 ++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index dc412f9..e6336c8 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,10 @@ # History +## 2.0.1 (2024-10-25) + +* Via `python_requires` specifies that cached_property is for Python version 3.8 or higher +* Officiall drop support for Python 2.6 + ## 2.0.0 (2024-10-25) * Remove support for Python versions < 3.8 diff --git a/cached_property.py b/cached_property.py index e4cdbae..e83ecca 100644 --- a/cached_property.py +++ b/cached_property.py @@ -1,6 +1,6 @@ -__author__ = "Daniel Greenfeld" -__email__ = "pydanny@gmail.com" -__version__ = "2.0.0" +__author__ = "Daniel Roy Greenfeld" +__email__ = "daniel@feldroy.com" +__version__ = "2.0.1" __license__ = "BSD" from functools import wraps diff --git a/setup.py b/setup.py index f680785..387699d 100755 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ except ImportError: from distutils.core import setup -__version__ = "2.0" +__version__ = "2.0.1" def read(fname): @@ -39,6 +39,7 @@ def read(fname): description="A decorator for caching properties in classes.", long_description=readme + "\n\n" + history, long_description_content_type="text/markdown", + python_requires=">=3.8", author="Daniel Roy Greenfeld", author_email="daniel@feldroy.com", url="https://github.com/pydanny/cached-property",