From 292e661d676d2a7e8fdeb29c7b8528bc0041a2bf Mon Sep 17 00:00:00 2001 From: lsabi <13497689+lsabi@users.noreply.github.com> Date: Mon, 20 Nov 2023 22:38:46 +0100 Subject: [PATCH 1/2] Add looseversion to setup and update tags to most recent python version --- setup.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 62aa03c3..c696efb0 100644 --- a/setup.py +++ b/setup.py @@ -66,13 +66,15 @@ classifiers=[ 'Intended Audience :: Developers', 'Natural Language :: English', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', ], packages=[ 'rethinkdb', @@ -95,9 +97,10 @@ 'rethinkdb-repl = rethinkdb.__main__:startInterpreter' ] }, - python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", + python_requires=">=3.5", install_requires=[ - 'six' + 'six', + 'looseversion' ], test_suite='tests' ) From b227a12593c00c3e9f66965e8bb81f90c9c5774d Mon Sep 17 00:00:00 2001 From: lsabi <13497689+lsabi@users.noreply.github.com> Date: Sat, 25 Nov 2023 15:53:07 +0100 Subject: [PATCH 2/2] Update setup.py to still support python 2.7 --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c696efb0..674c8253 100644 --- a/setup.py +++ b/setup.py @@ -66,6 +66,8 @@ classifiers=[ 'Intended Audience :: Developers', 'Natural Language :: English', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', @@ -97,7 +99,7 @@ 'rethinkdb-repl = rethinkdb.__main__:startInterpreter' ] }, - python_requires=">=3.5", + python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, >=3.5", install_requires=[ 'six', 'looseversion'