15
0

- Remove 0001-notice-also-the-MERGE-command.patch not needed anymore.

- update to 0.30.0:
  * Implement GSSAPI authentication
  * Implement SSPI authentication
  * Add initial typings
  * Allow building with Cython 3
  * docs: fix connection pool close call (#1125)
  * Add support for the sslnegotiation parameter
  * Test and build on Python 3.13
  * Support PostgreSQL 17
  * Add fetchmany to execute many and return rows
  * Add connect kwarg to Pool to better support GCP's CloudSQL
  * Allow customizing connection state reset (#1191)
  * s/quote/quote_plus/ in the note about DSN part quoting
  * Use asyncio.run() instead of run_until_complete()
  * Require async_timeout for python < 3.11 (#1177)
  * Allow testing with uvloop on Python 3.12 (#1182)
  * Mark pool-wrapped connection coroutine methods as coroutines
  * handle None parameters in copy_from_query, returning NULL
  * fix: return the pool from async_init_ if it's already initialized (#1104)
  * Replace obsolete, unsafe Py_TRASHCAN_SAFE_BEGIN/END (#1150)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncpg?expand=0&rev=22
This commit is contained in:
2024-10-23 12:41:51 +00:00
committed by Git OBS Bridge
parent 8496dcaf7a
commit 2f113780d1
5 changed files with 32 additions and 63 deletions

View File

@@ -18,24 +18,23 @@
%{?sle15_python_module_pythons}
Name: python-asyncpg
Version: 0.29.0
Version: 0.30.0
Release: 0
Summary: Python asyncio PosgtreSQL driver
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/MagicStack/asyncpg
Source: https://files.pythonhosted.org/packages/source/a/asyncpg/asyncpg-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/MagicStack/asyncpg/pull/1185 notice also the MERGE command
Patch0: 0001-notice-also-the-MERGE-command.patch
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module async_timeout}
BuildRequires: %{python_module async_timeout if %python-base < 3.11}
BuildRequires: %{python_module devel >= 3.6}
BuildRequires: %{python_module distro}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing-extensions >= 3.7.4.3 if %python-base < 3.8}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: libpq5 >= 9.4
%if 0%{?python_version_nodots} < 312
%if 0%{?python_version_nodots} < 311
Requires: python-async_timeout
%endif
%if 0%{?python_version_nodots} < 38