]> git.phdru.name Git - sqlconvert.git/commitdiff
Build: For Python 3.13 SQLObject requires unreleased FormEncode
authorOleg Broytman <phd@phdru.name>
Fri, 20 Dec 2024 15:54:06 +0000 (18:54 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 20 Dec 2024 15:54:06 +0000 (18:54 +0300)
Install SQLObject and FormEncode from GitHub.

devscripts/requirements/requirements.txt
setup.py

index 382ec435e1039e3053ea6f0aae09192d7c965509..82a1f641328860b570576506e6cdf8a2734ca3b1 100644 (file)
@@ -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
index e6ede98479b515c036cef29207525a749fea546c..ed6ac740fd1efc3e27685a20ec517fa51333cf31 100755 (executable)
--- 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',
     ],