From: Oleg Broytman Date: Fri, 20 Dec 2024 15:54:06 +0000 (+0300) Subject: Build: For Python 3.13 SQLObject requires unreleased FormEncode X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=6bc16bbe9493600eef40180102ff12ec1fc978dc;p=sqlconvert.git Build: For Python 3.13 SQLObject requires unreleased FormEncode Install SQLObject and FormEncode from GitHub. --- 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', ],