Patch to accept “too low” aiomysql version

Resolves: #2249625, #2249624, #2249623, #2248038

Signed-off-by: Nils Philippsen <nils@tiptoe.de>
This commit is contained in:
Nils Philippsen 2023-11-16 13:38:14 +01:00
parent 1c5ba85683
commit 4c5ef9f40e
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff -up SQLAlchemy-1.4.50/setup.cfg.aiomysql SQLAlchemy-1.4.50/setup.cfg
--- SQLAlchemy-1.4.50/setup.cfg.aiomysql 2023-10-29 21:23:42.082080100 +0100
+++ SQLAlchemy-1.4.50/setup.cfg 2023-11-16 13:18:37.694587291 +0100
@@ -70,7 +70,7 @@ pymysql =
pymysql<1;python_version<"3"
aiomysql =
%(asyncio)s
- aiomysql>=0.2.0;python_version>="3"
+ aiomysql;python_version>="3"
asyncmy =
%(asyncio)s
asyncmy>=0.2.3,!=0.2.4;python_version>="3"

View File

@ -25,6 +25,7 @@ Summary: Modular and flexible ORM library for Python
License: MIT
URL: https://www.sqlalchemy.org/
Source0: %{pypi_source %{srcname} %{srcversion}}
Patch: python-sqlalchemy-1.4.50-aiomysql.patch
BuildRequires: gcc
BuildRequires: python3-devel >= 3.6