forked from pool/python-aiosqlite
- 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).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosqlite?expand=0&rev=3
43 lines
1.0 KiB
Diff
43 lines
1.0 KiB
Diff
---
|
|
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',
|