forked from pool/python-aiosqlite
Accepting request 1092488 from devel:languages:python
- Update to 0.19.0 * Add support for setting cursor `row_factory` (#229) * Dropped unused compatibility shims for 3.5 and 3.6 * Deprecated: Python 3.7 support will be dropped in v0.20.0 - Release 0.18.0 * Added support for `paramstyle` (#197) * Better type hints for `isolation_level` (#172) and `text_factory` (#179) * Use stdlib typing module when possible (#114) * Replace aiounittest with stdlib on 3.8+ * Docmentation improvements (#108) * Dropped support for Python 3.7, added support for Python 3.10 and 3.11 (#208) - Drop stdlib-typing_extensions.patch * the upstream issue was accepted and the module was removed but later introduced for Python < 3.8 due to a different case OBS-URL: https://build.opensuse.org/request/show/1092488 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiosqlite?expand=0&rev=3
This commit is contained in:
BIN
aiosqlite-0.17.0.tar.gz
LFS
BIN
aiosqlite-0.17.0.tar.gz
LFS
Binary file not shown.
BIN
aiosqlite-0.19.0.tar.gz
LFS
Normal file
BIN
aiosqlite-0.19.0.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 11 20:53:59 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 0.19.0
|
||||
* Add support for setting cursor `row_factory` (#229)
|
||||
* Dropped unused compatibility shims for 3.5 and 3.6
|
||||
* Deprecated: Python 3.7 support will be dropped in v0.20.0
|
||||
- Release 0.18.0
|
||||
* Added support for `paramstyle` (#197)
|
||||
* Better type hints for `isolation_level` (#172) and
|
||||
`text_factory` (#179)
|
||||
* Use stdlib typing module when possible (#114)
|
||||
* Replace aiounittest with stdlib on 3.8+
|
||||
* Docmentation improvements (#108)
|
||||
* Dropped support for Python 3.7, added support for Python 3.10
|
||||
and 3.11 (#208)
|
||||
- Drop stdlib-typing_extensions.patch
|
||||
* the upstream issue was accepted and the module was removed
|
||||
but later introduced for Python < 3.8 due to a different case
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 14 07:10:11 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-aiosqlite
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2019 Matthias Fehring <buschmann23@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -17,26 +17,27 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-aiosqlite
|
||||
Version: 0.17.0
|
||||
Version: 0.19.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: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module flit-core}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python
|
||||
%if 0%{?python_version_nodots} < 38
|
||||
Requires: python-typing-extensions >= 4
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module aiounittest}
|
||||
BuildRequires: %{python_module typing-extensions >= 4 if %python-base < 3.8}
|
||||
BuildRequires: %{pythons}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
@@ -50,10 +51,10 @@ automatically closing connections.
|
||||
%autosetup -p1 -n aiosqlite-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -62,7 +63,7 @@ automatically closing connections.
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc CHANGELOG.md README.rst
|
||||
%{python_sitelib}/aiosqlite-%{version}-*.egg-info*
|
||||
%{python_sitelib}/aiosqlite/
|
||||
%{python_sitelib}/aiosqlite
|
||||
%{python_sitelib}/aiosqlite-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
---
|
||||
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',
|
||||
Reference in New Issue
Block a user