From c2ab40f925ec1ca394851ff5746fdcb3b8258499 Mon Sep 17 00:00:00 2001 From: stefanomunarini Date: Mon, 24 Apr 2023 17:39:31 +0100 Subject: [PATCH] chore: update minimum Python version --- docs/changelog.rst | 5 +++++ relaton/__init__.py | 2 +- setup.py | 11 +++-------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index b28aab8..b2a0f33 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -3,6 +3,11 @@ Changelog ========= +v0.2.27 +======= + +- Remove support for Python < 3.10 + v0.2.26 ======= diff --git a/relaton/__init__.py b/relaton/__init__.py index 2d45d3b..cfb8bc9 100644 --- a/relaton/__init__.py +++ b/relaton/__init__.py @@ -1 +1 @@ -__version__ = '0.2.26' +__version__ = '0.2.27' diff --git a/setup.py b/setup.py index 963b16f..dee31f4 100644 --- a/setup.py +++ b/setup.py @@ -10,9 +10,9 @@ def empty_or_comment(x): return len(x) == 0 or x.strip().startswith("#") -if sys.version_info < (3, 7): +if sys.version_info < (3, 10): print( - 'relaton requires Python 3 version >= 3.7', + 'relaton requires Python 3 version >= 3.10', file=sys.stderr) sys.exit(1) @@ -25,8 +25,6 @@ def empty_or_comment(x): with open('requirements_dev.txt') as reqs: dev_requirements = filter(empty_or_comment, reqs.read().splitlines()) - - desc = ( "Library for working with Relaton bibliographic data models in Python. " "Provides Pydantic models and dataclasses, " @@ -57,10 +55,7 @@ def empty_or_comment(x): 'dataclasses', ], classifiers=[ - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'Natural Language :: English',