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