From 0ad578b6d66fc4c848bc355a81cdb3668bedcde2e578c2107a24a9b188552176 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 6 May 2023 15:45:51 +0000 Subject: [PATCH] - test against sqlalchemy 1.x OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=37 --- python-fastapi.changes | 5 +++++ python-fastapi.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-fastapi.changes b/python-fastapi.changes index 6976f53..cf2459d 100644 --- a/python-fastapi.changes +++ b/python-fastapi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat May 6 15:45:38 UTC 2023 - Dirk Müller + +- test against sqlalchemy 1.x + ------------------------------------------------------------------- Fri Apr 14 04:20:29 UTC 2023 - Steve Kowalik diff --git a/python-fastapi.spec b/python-fastapi.spec index af52787..17a3d0c 100644 --- a/python-fastapi.spec +++ b/python-fastapi.spec @@ -40,10 +40,10 @@ BuildArch: noarch BuildRequires: %{python_module pytest} BuildRequires: %{python_module Flask >= 1.1.2} BuildRequires: %{python_module PyYAML >= 5.3.1} -BuildRequires: %{python_module SQLAlchemy >= 1.3.18} BuildRequires: %{python_module anyio >= 3.2.1} BuildRequires: %{python_module httpx >= 0.23.0} BuildRequires: %{python_module python-multipart >= 0.0.5} +BuildRequires: %{python_module sqlalchemy >= 1.3.18 with %python-sqlalchemy < 2.0} BuildRequires: %{python_module trio} %if !%{with ringdisabled} BuildRequires: %{python_module aiosqlite}