From 6bc16bbe9493600eef40180102ff12ec1fc978dc Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 20 Dec 2024 18:54:06 +0300 Subject: [PATCH] Build: For Python 3.13 SQLObject requires unreleased FormEncode Install SQLObject and FormEncode from GitHub. --- devscripts/requirements/requirements.txt | 3 ++- setup.py | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/devscripts/requirements/requirements.txt b/devscripts/requirements/requirements.txt index 382ec43..82a1f64 100644 --- a/devscripts/requirements/requirements.txt +++ b/devscripts/requirements/requirements.txt @@ -1,4 +1,5 @@ sqlparse SQLObject>=2.2.1; python_version == '2.7' -SQLObject>=3.0.0; python_version >= '3.4' +SQLObject>=3.0.0; python_version >= '3.4' and python_version <= '3.12' +SQLObject @ git+https://github.com/sqlobject/sqlobject.git#egg=sqlobject ; python_version >= '3.13' m_lib.full>=1.0 diff --git a/setup.py b/setup.py index e6ede98..ed6ac74 100755 --- a/setup.py +++ b/setup.py @@ -63,7 +63,10 @@ setup( python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', install_requires=[ 'SQLObject>=2.2.1; python_version=="2.7"', - 'SQLObject>=3.0.0; python_version>="3.4"', + 'SQLObject>=3.0.0; python_version>="3.4" and python_version<="3.12"', + "SQLObject @ " + "git+https://github.com/sqlobject/sqlobject.git#egg=sqlobject" + " ; python_version >= '3.13'", 'm_lib.full>=1.0', 'sqlparse', ], -- 2.39.5