diff --git a/databases-0.7.0.tar.gz b/databases-0.7.0.tar.gz deleted file mode 100644 index 3a5bec6..0000000 --- a/databases-0.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c938f27865d1cb304838ac0962332b07ee738165b7fd4993907195df1165302c -size 32169 diff --git a/databases-0.9.0.tar.gz b/databases-0.9.0.tar.gz new file mode 100644 index 0000000..28f9ae0 --- /dev/null +++ b/databases-0.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4dc05d1810ae683930b150c1325ec2e35854fc5838ed91d3bfe94ff7dadb59e5 +size 37952 diff --git a/python-databases.changes b/python-databases.changes index 39743d1..6b9da79 100644 --- a/python-databases.changes +++ b/python-databases.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Tue Sep 17 05:26:56 UTC 2024 - Steve Kowalik + +- Update to 0.9.0: + * Added + + Allow SQLite query parameters and support cached databases + + Support for unix socket for aiomysql and asyncmy + * Changed + + Drop support for Python 3.7 and add support for Python 3.12 + + Add support for SQLAlchemy 2+ + + Allow SSL string parameters in PostgresSQL URL + + Change isolation connections and transactions during concurrent usage + + Bump up asyncmy version to fix No module named 'asyncmy.connection' + * Fixed + + Fix the type-hints using more standard mode +- Switch to pyproject macros. + ------------------------------------------------------------------- Tue Jul 4 13:09:38 UTC 2023 - ecsos diff --git a/python-databases.spec b/python-databases.spec index a21093e..c8bcb72 100644 --- a/python-databases.spec +++ b/python-databases.spec @@ -1,7 +1,7 @@ # # spec file for package python-databases # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,16 +18,19 @@ %{?sle15_python_module_pythons} Name: python-databases -Version: 0.7.0 +Version: 0.9.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 base >= 3.8} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: (python-sqlalchemy >= 1.4 with python-sqlalchemy < 2) +Requires: python-sqlalchemy >= 2.0.7 Suggests: python-aiomysql Suggests: python-aiopg Suggests: python-aiosqlite @@ -38,7 +41,7 @@ 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} +BuildRequires: %{python_module sqlalchemy >= 2.0.7} # /SECTION %python_subpackages @@ -55,10 +58,10 @@ rm tests/test_integration.py sed -Ei 's/from .*(aiopg|mysql|asyncmy).* import .*/pass/' tests/test_connection_options.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -70,6 +73,6 @@ export PYTHONPATH=${PWD} %doc README.md %license LICENSE.md %{python_sitelib}/databases -%{python_sitelib}/databases-%{version}*-info +%{python_sitelib}/databases-%{version}.dist-info %changelog