Sync from SUSE:ALP:Source:Standard:1.0 python-databases revision 94d6df493f8528a1435680a949c9facd
This commit is contained in:
commit
b6c6b926e8
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
databases-0.7.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
databases-0.7.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
79
python-databases.changes
Normal file
79
python-databases.changes
Normal file
@ -0,0 +1,79 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 6 01:56:24 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 0.7.0:
|
||||
* Fixed breaking changes in SQLAlchemy cursor; supports >=1.4.42,<1.5
|
||||
* Wrapped types in typing.Optional where applicable
|
||||
- Change {Build,}Requires for SQLAlchemy so we don't install >= 2.
|
||||
- Drop patch sqlalchemy1442.patch, included upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 24 11:40:22 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Add patch sqlalchemy1442.patch to make it compatible with latest sqlalchemy
|
||||
gh#encode/databases#513
|
||||
- Remove python_module macro definition
|
||||
- Update to 0.6.2:
|
||||
* Pinned SQLAlchemy <=1.4.41 to avoid breaking changes (#520).
|
||||
- 0.6.1:
|
||||
* Improve typing for Transaction (#493)
|
||||
* Allow string indexing into Record (#501)
|
||||
- 0.6.0:
|
||||
* Dropped Python 3.6 support (#458)
|
||||
* Add _mapping property to the result set interface (#447 )
|
||||
* Add contributing docs (#453 )
|
||||
* Fix query result named access (#448)
|
||||
* Fix connections getting into a bad state when a task is cancelled (#457)
|
||||
* Revert #328 parallel transactions (#472)
|
||||
* Change extra installations to specific drivers (#436)
|
||||
- 0.5.5:
|
||||
* Revert the change of Record type to Sequence from Mapping(#408) to maintain
|
||||
backward compatibility
|
||||
- 0.5.4:
|
||||
* Support for Unix domain in connections (#423)
|
||||
* asyncmy MySQL driver (#382)
|
||||
* Fix SQLite fetch queries with multiple parameters (#435)
|
||||
* Change Record type to Sequence (#408)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 17 14:40:53 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to version 0.5.3
|
||||
* Support dialect+driver for default database drivers like
|
||||
postgresql+asyncpg (#396)
|
||||
* Documentation of low-level transaction (#390)
|
||||
- Release 0.5.2
|
||||
* Reset counter for failed connections (#385)
|
||||
* Avoid dangling task-local connections after
|
||||
Database.disconnect() (#211)
|
||||
- Release 0.5.1
|
||||
* Make database connect and disconnect calls idempotent (#379)
|
||||
* Fix in_ and notin_ queries in SQLAlchemy 1.4 (#378)
|
||||
- Release 0.5.0 (August 26th, 2021)
|
||||
* Support SQLAlchemy 1.4 (#299)
|
||||
* Fix concurrent transactions (#328)
|
||||
- Drop sqlalchemy-14.patch fixed upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 26 12:10:35 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Add sqlalchemy-14.patch upgrading used API of SQLAlchemy to 1.4.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 13 21:28:51 UTC 2021 - simmphonie@opensuse.org
|
||||
|
||||
- update to version 0.4.3
|
||||
* Pin SQLAlchemy to < 1.4 (#314)
|
||||
- version 0.4.2
|
||||
* Fix memory leak with asyncpg for SQLAlchemy generic functions (#273)
|
||||
- fix python version to "< 3.7" for aiocontextvars
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 16 18:42:21 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- Requires aiocontextvars for python <= 3.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 21 10:25:27 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Initial spec for v0.4.1
|
75
python-databases.spec
Normal file
75
python-databases.spec
Normal file
@ -0,0 +1,75 @@
|
||||
#
|
||||
# spec file for package python-databases
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
Name: python-databases
|
||||
Version: 0.7.0
|
||||
Release: 0
|
||||
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
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: (python-sqlalchemy >= 1.4 with python-sqlalchemy < 2)
|
||||
Suggests: python-aiomysql
|
||||
Suggests: python-aiopg
|
||||
Suggests: python-aiosqlite
|
||||
Suggests: python-asyncpg
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module aiosqlite}
|
||||
BuildRequires: %{python_module asyncpg}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module sqlalchemy >= 1.4 with %python-sqlalchemy < 2}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Async database support for Python.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n databases-%{version}
|
||||
|
||||
# tests/test_integration.py depends on starlette
|
||||
rm tests/test_integration.py
|
||||
|
||||
# Remove test dependencies aiopg, aiomysql and asyncmy
|
||||
sed -Ei 's/from .*(aiopg|mysql|asyncmy).* import .*/pass/' tests/test_connection_options.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
export TEST_DATABASE_URLS=sqlite:///mytestdb
|
||||
export PYTHONPATH=${PWD}
|
||||
%pytest -k 'not (aiopg or mysql or asyncmy)'
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE.md
|
||||
%{python_sitelib}/databases
|
||||
%{python_sitelib}/databases-%{version}*-info
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user