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

devscripts/requirements/requirements.txt
setup.py

index 44cc4309d02362380151b7357db0d99755267772..8829f81a160b05f1365cb1b1ebd4719b450bc608 100644 (file)
@@ -1,3 +1,4 @@
 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.defenc>=1.0
index ce8c01e427c78cb46896a316b84f64adcf0a5908..748f17eda3ef53a481e60e5c9c8c3dc1000ef25b 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -76,7 +76,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.defenc>=1.0',
     ],
     extras_require={