]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Increase minimum required greenlet version
authorChris Withers <chris@withers.org>
Tue, 25 Mar 2025 19:05:23 +0000 (15:05 -0400)
committerFederico Caselli <cfederico87@gmail.com>
Tue, 25 Mar 2025 19:13:18 +0000 (20:13 +0100)
Add a lower bound constraint on the greenlet version to 1.

Closes: #12459
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/12459
Pull-request-sha: 4bd856b9c164df984f05c094c977686470ed4244

Change-Id: I200861f1706bf261c2e586b96e8cc35dceb7670b
(cherry picked from commit 938e0fee9b834aca8b22034c75ffadefdfbaaf5f)

setup.cfg
tox.ini

index 21ab1374257d377a069dba4fec263ab17bf75f1f..9b42a19a037751b44803c479ab5bcaadafe2d604 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -39,12 +39,12 @@ package_dir =
 
 install_requires =
     importlib-metadata;python_version<"3.8"
-    greenlet != 0.4.17;(python_version<"3.14" and (platform_machine=='aarch64' or (platform_machine=='ppc64le' or (platform_machine=='x86_64' or (platform_machine=='amd64' or (platform_machine=='AMD64' or (platform_machine=='win32' or platform_machine=='WIN32')))))))
+    greenlet >= 1;(python_version<"3.14" and (platform_machine=='aarch64' or (platform_machine=='ppc64le' or (platform_machine=='x86_64' or (platform_machine=='amd64' or (platform_machine=='AMD64' or (platform_machine=='win32' or platform_machine=='WIN32')))))))
     typing-extensions >= 4.6.0
 
 [options.extras_require]
 asyncio =
-    greenlet!=0.4.17
+    greenlet >= 1
 mypy =
     mypy >= 0.910
 mssql = pyodbc
diff --git a/tox.ini b/tox.ini
index ae11373548a8dbbec2bf3e4963717dd347762d6a..576346aec6233a30e2c4cc5aada3c7c1428084aa 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -190,7 +190,7 @@ commands=
 
 [testenv:pep484]
 deps=
-     greenlet != 0.4.17
+     greenlet >= 1
      importlib_metadata; python_version < '3.8'
      mypy >= 1.14.0
      types-greenlet
@@ -207,7 +207,7 @@ extras =
 deps=
      pytest>=7.0.0rc1,<8.4
      pytest-xdist
-     greenlet != 0.4.17
+     greenlet >= 1
      importlib_metadata; python_version < '3.8'
      mypy >= 1.2.0,<1.11.0
      patch==1.*