17
0

- Add sqlalchemy-14.patch upgrading used API of SQLAlchemy to 1.4.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-databases?expand=0&rev=8
This commit is contained in:
2021-05-26 12:10:42 +00:00
committed by Git OBS Bridge
parent d58397ef50
commit 2ec1053d22
3 changed files with 419 additions and 1 deletions

View File

@@ -25,6 +25,9 @@ Summary: Async database support for Python
License: BSD-3-Clause
URL: https://github.com/encode/databases
Source: https://github.com/encode/databases/archive/%{version}.tar.gz#/databases-%{version}.tar.gz
# PATCH-FIX-UPSTREAM sqlalchemy-14.patch gh#encode/databases#299 mcepl@suse.com
# Upgrade used API of SQLAlchemy to 1.4
Patch0: sqlalchemy-14.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -50,7 +53,8 @@ BuildRequires: (python36-aiocontextvars if python36-base)
Async database support for Python.
%prep
%setup -q -n databases-%{version}
%autosetup -p1 -n databases-%{version}
# tests/test_integration.py depends on starlette
rm tests/test_integration.py