diff --git a/asyncpg-0.20.1.tar.gz b/asyncpg-0.20.1.tar.gz deleted file mode 100644 index 5dd48db..0000000 --- a/asyncpg-0.20.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:394bf19bdddbba07a38cd6fb526ebf66e120444d6b3097332b78efd5b26495b0 -size 734341 diff --git a/asyncpg-0.22.0.tar.gz b/asyncpg-0.22.0.tar.gz new file mode 100644 index 0000000..050924c --- /dev/null +++ b/asyncpg-0.22.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:348ad471d9bdd77f0609a00c860142f47c81c9123f4064d13d65c8569415d802 +size 770278 diff --git a/merged-static-fix.patch b/merged-static-fix.patch deleted file mode 100644 index 17b6a26..0000000 --- a/merged-static-fix.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 76091445db8b49a7d78504b47eb34fcbfbb89567 Mon Sep 17 00:00:00 2001 -From: Elvis Pranskevichus -Date: Fri, 1 May 2020 20:02:39 -0700 -Subject: [PATCH] Properly declare uuid_to_str and uuid_to_hex as static - -Without `static` the toolchain might get confused and this might lead to -`undefined symbol: uuid_to_hex` errors. ---- - tohex.h | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/tohex.h b/tohex.h -index 3d2f5ad..60dd820 100644 ---- a/tohex.h -+++ b/tohex.h -@@ -27,7 +27,7 @@ - } - - --void inline -+static inline void - uuid_to_str(const char *source, char *dest) - { - HEX_PRELUDE -@@ -44,7 +44,8 @@ uuid_to_str(const char *source, char *dest) - HEX_2_BYTES(source + 14, dest + 32) - } - --void inline -+ -+static inline void - uuid_to_hex(const char *source, char *dest) - { - HEX_PRELUDE diff --git a/python-asyncpg.changes b/python-asyncpg.changes index 2dcc93d..88219ce 100644 --- a/python-asyncpg.changes +++ b/python-asyncpg.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Mon May 3 20:51:42 UTC 2021 - Dirk Müller + +- update to 0.22.0: + * Add support for connection termination listeners + * Add support for password functions (useful for RDS IAM auth) + * Fix possible uninitalized pointer access on unexpected array + * message data (CVE-2020-17446, + * Vastly speedup executemany by batching protocol messages + * Add Python 3.9 support + * Allow using custom Record class + * Prefer SSL connections by default + * Add codecs for a bunch of new builtin types + * Expose Pool as asyncpg.Pool + * Avoid unnecessary overhead during connection reset + * Bugfixes +- drop merged-static-fix.patch (upstream) + ------------------------------------------------------------------- Sun Nov 22 14:12:03 UTC 2020 - John Vandenberg diff --git a/python-asyncpg.spec b/python-asyncpg.spec index 703b322..cbd1d13 100644 --- a/python-asyncpg.spec +++ b/python-asyncpg.spec @@ -1,7 +1,7 @@ # # spec file for package python-asyncpg # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,15 +19,13 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-asyncpg -Version: 0.20.1 +Version: 0.22.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 -# https://github.com/MagicStack/asyncpg/issues/594 -Patch0: https://github.com/MagicStack/py-pgproto/commit/760914.patch#/merged-static-fix.patch BuildRequires: %{python_module Cython >= 0.28} BuildRequires: %{python_module devel >= 3.5} BuildRequires: %{python_module setuptools} @@ -50,8 +48,6 @@ PostgreSQL and Python/asyncio with clean implementation %prep %setup -q -n asyncpg-%{version} -cd asyncpg/pgproto -%patch0 -p1 %build %python_build @@ -59,7 +55,7 @@ cd asyncpg/pgproto %install %python_install %{python_expand find %{buildroot}%{$python_sitearch} -name '*.[ch]' -delete -%fdupes -s %{buildroot}%{$python_sitearch} +%fdupes %{buildroot}%{$python_sitearch} } %check