From 6d73b192922551a9b88f4363ccf37126b88e344542e31161f07c2c2c3b041361 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 16 Jan 2021 20:42:28 +0000 Subject: [PATCH] Accepting request 863722 from home:bnavigator:branches:devel:languages:python - Requires aiocontextvars for python <= 3.6 OBS-URL: https://build.opensuse.org/request/show/863722 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-databases?expand=0&rev=4 --- python-databases.changes | 5 +++++ python-databases.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-databases.changes b/python-databases.changes index 84f2ce0..0b64204 100644 --- a/python-databases.changes +++ b/python-databases.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jan 16 18:42:21 UTC 2021 - Benjamin Greiner + +- Requires aiocontextvars for python <= 3.6 + ------------------------------------------------------------------- Sat Nov 21 10:25:27 AM UTC 2020 - John Vandenberg diff --git a/python-databases.spec b/python-databases.spec index 2f5532a..4ebf8cb 100644 --- a/python-databases.spec +++ b/python-databases.spec @@ -1,7 +1,7 @@ # # spec file for package python-databases # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,6 +29,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-sqlalchemy +Suggests: python-aiocontextvars Suggests: python-aiomysql Suggests: python-aiopg Suggests: python-aiosqlite @@ -40,6 +41,8 @@ BuildRequires: %{python_module asyncpg} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} BuildRequires: %{python_module sqlalchemy} +BuildRequires: (python3-aiocontextvars if python3-base <= 3.6) +BuildRequires: (python36-aiocontextvars if python36-base) # /SECTION %python_subpackages