From aa897562b5362102b740f952d0af3e1734d2fcf0 Mon Sep 17 00:00:00 2001 From: mcepl <> Date: May 14 2021 23:52:50 +0000 Subject: Update python-aiosqlite to version 0.17.0 / rev 2 via SR 893040 https://build.opensuse.org/request/show/893040 by user mcepl + dimstar_suse - Update to 0.17.0: - Connection objects now raise ValueError when closed and a command is executed (#79) - Fix documented examples in readme (#104) - Reduce logging severity for exceptions (#93) - Stop logging result objects; they can be big (#102) - Add stdlib-typing_extensions.patch to avoid necessity for BR python-typing_extensions (gh#omnilib/aiosqlite#114). --- diff --git a/.files b/.files index f566e8c..5a6def5 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index ea2ce3c..34b19ce 100644 --- a/.rev +++ b/.rev @@ -7,4 +7,20 @@ another authlib dep 851898 + + 17aedaffe69d19c0772c7a7ba2c00caa + 0.17.0 + + dimstar_suse + - Update to 0.17.0: + - Connection objects now raise ValueError when closed and a + command is executed (#79) + - Fix documented examples in readme (#104) + - Reduce logging severity for exceptions (#93) + - Stop logging result objects; they can be big (#102) +- Add stdlib-typing_extensions.patch to avoid necessity for BR + python-typing_extensions (gh#omnilib/aiosqlite#114). + + 893040 + diff --git a/aiosqlite-0.16.0.tar.gz b/aiosqlite-0.16.0.tar.gz deleted file mode 120000 index d8a714d..0000000 --- a/aiosqlite-0.16.0.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafkreigqctxqp66feozndfp4c7htlgbcqxrsedvxhqigrvo7g62wtfiova \ No newline at end of file diff --git a/aiosqlite-0.17.0.tar.gz b/aiosqlite-0.17.0.tar.gz new file mode 120000 index 0000000..2973ce6 --- /dev/null +++ b/aiosqlite-0.17.0.tar.gz @@ -0,0 +1 @@ +/ipfs/bafkreihq42wmes6eqzausjt2zax3i3p3hpsekx4z7yq57atattdonoxoke \ No newline at end of file diff --git a/python-aiosqlite.changes b/python-aiosqlite.changes index 7550d43..d63738d 100644 --- a/python-aiosqlite.changes +++ b/python-aiosqlite.changes @@ -1,4 +1,16 @@ ------------------------------------------------------------------- +Fri May 14 07:10:11 UTC 2021 - Matej Cepl + +- Update to 0.17.0: + - Connection objects now raise ValueError when closed and a + command is executed (#79) + - Fix documented examples in readme (#104) + - Reduce logging severity for exceptions (#93) + - Stop logging result objects; they can be big (#102) +- Add stdlib-typing_extensions.patch to avoid necessity for BR + python-typing_extensions (gh#omnilib/aiosqlite#114). + +------------------------------------------------------------------- Sat Nov 28 04:23:48 UTC 2020 - John Vandenberg - Update to v0.16.0 diff --git a/python-aiosqlite.spec b/python-aiosqlite.spec index 56ee93b..00057a5 100644 --- a/python-aiosqlite.spec +++ b/python-aiosqlite.spec @@ -1,7 +1,7 @@ # # spec file for package python-aiosqlite # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2019 Matthias Fehring # # All modifications and additions to the file contributed by third parties @@ -20,22 +20,23 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-aiosqlite -Version: 0.16.0 +Version: 0.17.0 Release: 0 Summary: AsyncIO Bridge to the Standard Python sqlite3 Module License: MIT Group: Development/Languages/Python URL: https://github.com/jreese/aiosqlite Source: https://files.pythonhosted.org/packages/source/a/aiosqlite/aiosqlite-%{version}.tar.gz +# PATCH-FIX-UPSTREAM stdlib-typing_extensions.patch gh#omnilib/aiosqlite#114 mcepl@suse.com +# Dependency on typing_extensions is unnecessary +Patch0: stdlib-typing_extensions.patch BuildRequires: %{python_module setuptools >= 38.6.0} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python -Requires: python-typing_extensions BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module aiounittest} -BuildRequires: %{python_module typing_extensions} BuildRequires: %{pythons} # /SECTION %python_subpackages @@ -46,7 +47,7 @@ the standard connection and cursor methods, and context managers for automatically closing connections. %prep -%setup -q -n aiosqlite-%{version} +%autosetup -p1 -n aiosqlite-%{version} %build %python_build diff --git a/stdlib-typing_extensions.patch b/stdlib-typing_extensions.patch new file mode 100644 index 0000000..2f37171 --- /dev/null +++ b/stdlib-typing_extensions.patch @@ -0,0 +1,42 @@ +--- + aiosqlite/context.py | 5 ++--- + pyproject.toml | 2 +- + setup.py | 2 +- + 3 files changed, 4 insertions(+), 5 deletions(-) + +--- a/aiosqlite/context.py ++++ b/aiosqlite/context.py +@@ -3,9 +3,8 @@ + + + from functools import wraps +-from typing import Any, Callable, Coroutine, Generator, TypeVar +- +-from typing_extensions import AsyncContextManager ++from typing import (Any, Callable, Coroutine, Generator, TypeVar, ++ AsyncContextManager) + + from .cursor import Cursor + +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -8,7 +8,7 @@ author = "John Reese" + author-email = "john@noswap.com" + description-file = "README.rst" + home-page = "https://aiosqlite.omnilib.dev" +-requires = ["typing_extensions>=3.7.2"] ++requires = [] + requires-python = ">=3.6" + classifiers = [ + "Development Status :: 5 - Production/Stable", +--- a/setup.py ++++ b/setup.py +@@ -10,7 +10,7 @@ package_data = \ + {'': ['*']} + + install_requires = \ +-['typing_extensions>=3.7.2'] ++[] + + setup(name='aiosqlite', + version='0.17.0',