From 4c5ef9f40e3348b4af72da5888df7f2bd821fd63 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Thu, 16 Nov 2023 13:38:14 +0100 Subject: [PATCH] =?UTF-8?q?Patch=20to=20accept=20=E2=80=9Ctoo=20low?= =?UTF-8?q?=E2=80=9D=20aiomysql=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves: #2249625, #2249624, #2249623, #2248038 Signed-off-by: Nils Philippsen --- python-sqlalchemy-1.4.50-aiomysql.patch | 12 ++++++++++++ python-sqlalchemy.spec | 1 + 2 files changed, 13 insertions(+) create mode 100644 python-sqlalchemy-1.4.50-aiomysql.patch diff --git a/python-sqlalchemy-1.4.50-aiomysql.patch b/python-sqlalchemy-1.4.50-aiomysql.patch new file mode 100644 index 0000000..222193d --- /dev/null +++ b/python-sqlalchemy-1.4.50-aiomysql.patch @@ -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" diff --git a/python-sqlalchemy.spec b/python-sqlalchemy.spec index e965936..df4d68a 100644 --- a/python-sqlalchemy.spec +++ b/python-sqlalchemy.spec @@ -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