Compare commits
No commits in common. "1.1" and "main" have entirely different histories.
BIN
asyncpg-0.28.0.tar.gz
(Stored with Git LFS)
BIN
asyncpg-0.28.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
asyncpg-0.30.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
asyncpg-0.30.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,67 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 13 03:28:18 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Add patch skip-dsn_ipv6_multi_host-parse-test.patch:
|
||||||
|
* Skip a broken testcase.
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 23 12:16:37 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- 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)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 2 13:16:22 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Add 0001-notice-also-the-MERGE-command.patch to support Postgres 15+,
|
||||||
|
sent upstream
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 25 14:10:47 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.29.0:
|
||||||
|
* Python 3.12 and PostgreSQL 16 support (#1084)
|
||||||
|
* Add support for tuple-format custom codecs on composite types
|
||||||
|
* Support `target_session_attrs` in URL format, add tests
|
||||||
|
* Infinity numeric support (#1067)
|
||||||
|
* Add support for the `WHERE` clause in `copy_to` methods
|
||||||
|
* Add query logging callbacks and context manager (#1043)
|
||||||
|
* When prepared statements are disabled, avoid relying on them
|
||||||
|
harder (#1065)
|
||||||
|
* Handle environments with HOME set to a not-a-directory
|
||||||
|
* Fix handling of non-ASCII passwords (#1062)
|
||||||
|
* Disable JIT while doing type introspection (#1082)
|
||||||
|
* Remove connection parameter caching in `Pool` (#1053)
|
||||||
|
* Switch to Python 3.12-style `wait_for` (#1086)
|
||||||
|
* Update automatic PostGIS type conversion for Shapely 2.0
|
||||||
|
* Use the `timeout` context manager in the connection path
|
||||||
|
* Small fix for documentation on using SSL in Connection (#995)
|
||||||
|
* Use cleanup_ctx in pool usage doc (#878)
|
||||||
|
* Close cursor portals once the iterator is exhausted (#1088)
|
||||||
|
* Cut BaseProtocol circular reference on close. (#1049)
|
||||||
|
* Allow passing hosts as tuples to `connect()` (in addition to
|
||||||
|
* Drop support for Python 3.7 (#1064)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 11 13:32:37 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Tue Jul 11 13:32:37 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
@ -20,7 +84,7 @@ Tue Jul 4 13:09:00 UTC 2023 - ecsos <ecsos@opensuse.org>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 7 20:50:09 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Mon Nov 7 20:50:09 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
- Update to 0.27.0
|
- Update to 0.27.0
|
||||||
Support Python 3.11 and PostgreSQL 15. This release also drops support
|
Support Python 3.11 and PostgreSQL 15. This release also drops support
|
||||||
for Python 3.6.
|
for Python 3.6.
|
||||||
* Changes
|
* Changes
|
||||||
@ -64,7 +128,7 @@ Thu Aug 4 08:57:47 UTC 2022 - Otto Hollmann <otto.hollmann@suse.com>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 23 16:35:31 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Sun Jan 23 16:35:31 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
- update
|
- update
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 23 16:30:52 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Sun Jan 23 16:30:52 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
@ -82,7 +146,7 @@ Sun Jan 23 16:30:52 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
|||||||
* Fix the description of the database argument to connect()
|
* Fix the description of the database argument to connect()
|
||||||
* Fix parsing of IPv6 addresses in the connection URI
|
* Fix parsing of IPv6 addresses in the connection URI
|
||||||
* Improve diagnostics of invalid executemany() input
|
* Improve diagnostics of invalid executemany() input
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 17 14:19:32 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
Sun Oct 17 14:19:32 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
@ -122,16 +186,16 @@ Mon May 3 20:51:42 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
|||||||
|
|
||||||
- update to 0.22.0:
|
- update to 0.22.0:
|
||||||
* Add support for connection termination listeners
|
* Add support for connection termination listeners
|
||||||
* Add support for password functions (useful for RDS IAM auth)
|
* Add support for password functions (useful for RDS IAM auth)
|
||||||
* Fix possible uninitalized pointer access on unexpected array
|
* Fix possible uninitalized pointer access on unexpected array
|
||||||
* message data (CVE-2020-17446,
|
* message data (CVE-2020-17446,
|
||||||
* Vastly speedup executemany by batching protocol messages
|
* Vastly speedup executemany by batching protocol messages
|
||||||
* Add Python 3.9 support
|
* Add Python 3.9 support
|
||||||
* Allow using custom Record class
|
* Allow using custom Record class
|
||||||
* Prefer SSL connections by default
|
* Prefer SSL connections by default
|
||||||
* Add codecs for a bunch of new builtin types
|
* Add codecs for a bunch of new builtin types
|
||||||
* Expose Pool as asyncpg.Pool
|
* Expose Pool as asyncpg.Pool
|
||||||
* Avoid unnecessary overhead during connection reset
|
* Avoid unnecessary overhead during connection reset
|
||||||
* Bugfixes
|
* Bugfixes
|
||||||
- drop merged-static-fix.patch (upstream)
|
- drop merged-static-fix.patch (upstream)
|
||||||
|
|
||||||
@ -145,7 +209,7 @@ Sun Nov 22 14:12:03 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 24 08:54:51 UTC 2020 - Bruno Friedmann <bruno@ioda-net.ch>
|
Fri Jan 24 08:54:51 UTC 2020 - Bruno Friedmann <bruno@ioda-net.ch>
|
||||||
|
|
||||||
- Update to version 0.20.1
|
- Update to version 0.20.1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 26 14:01:50 UTC 2018 - Bruno Friedmann <bruno@ioda-net.ch>
|
Wed Dec 26 14:01:50 UTC 2018 - Bruno Friedmann <bruno@ioda-net.ch>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-asyncpg
|
# spec file for package python-asyncpg
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,20 +18,27 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-asyncpg
|
Name: python-asyncpg
|
||||||
Version: 0.28.0
|
Version: 0.30.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python asyncio PosgtreSQL driver
|
Summary: Python asyncio PosgtreSQL driver
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/MagicStack/asyncpg
|
URL: https://github.com/MagicStack/asyncpg
|
||||||
Source: https://files.pythonhosted.org/packages/source/a/asyncpg/asyncpg-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/a/asyncpg/asyncpg-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module Cython >= 0.29.24}
|
# PATCH-FIX-OPENSUSE Skip a broken test
|
||||||
|
Patch0: skip-dsn_ipv6_multi_host-parse-test.patch
|
||||||
|
BuildRequires: %{python_module Cython}
|
||||||
|
BuildRequires: %{python_module async_timeout if %python-base < 3.11}
|
||||||
BuildRequires: %{python_module devel >= 3.6}
|
BuildRequires: %{python_module devel >= 3.6}
|
||||||
|
BuildRequires: %{python_module distro}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module typing-extensions >= 3.7.4.3 if %python-base < 3.8}
|
BuildRequires: %{python_module typing-extensions >= 3.7.4.3 if %python-base < 3.8}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: libpq5 >= 9.4
|
Requires: libpq5 >= 9.4
|
||||||
|
%if 0%{?python_version_nodots} < 311
|
||||||
|
Requires: python-async_timeout
|
||||||
|
%endif
|
||||||
%if 0%{?python_version_nodots} < 38
|
%if 0%{?python_version_nodots} < 38
|
||||||
Requires: python-typing-extensions >= 3.7.4.3
|
Requires: python-typing-extensions >= 3.7.4.3
|
||||||
%endif
|
%endif
|
||||||
@ -60,10 +67,10 @@ sed -i asyncpg/_testbase/__init__.py \
|
|||||||
-e "s/if os.environ.get('USE_UVLOOP')/& and sys.version_info[:2] > (3, 6)/"
|
-e "s/if os.environ.get('USE_UVLOOP')/& and sys.version_info[:2] > (3, 6)/"
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%{python_expand find %{buildroot}%{$python_sitearch} -name '*.[ch]' -delete
|
%{python_expand find %{buildroot}%{$python_sitearch} -name '*.[ch]' -delete
|
||||||
%fdupes %{buildroot}%{$python_sitearch}
|
%fdupes %{buildroot}%{$python_sitearch}
|
||||||
}
|
}
|
||||||
@ -89,6 +96,6 @@ mv .asyncpg asyncpg
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitearch}/asyncpg
|
%{python_sitearch}/asyncpg
|
||||||
%{python_sitearch}/asyncpg-%{version}*-info
|
%{python_sitearch}/asyncpg-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
29
skip-dsn_ipv6_multi_host-parse-test.patch
Normal file
29
skip-dsn_ipv6_multi_host-parse-test.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
Index: asyncpg-0.30.0/tests/test_connect.py
|
||||||
|
===================================================================
|
||||||
|
--- asyncpg-0.30.0.orig/tests/test_connect.py
|
||||||
|
+++ asyncpg-0.30.0/tests/test_connect.py
|
||||||
|
@@ -846,15 +846,15 @@ class TestConnectParams(tb.TestCase):
|
||||||
|
),
|
||||||
|
},
|
||||||
|
|
||||||
|
- {
|
||||||
|
- 'name': 'dsn_ipv6_multi_host',
|
||||||
|
- 'dsn': 'postgresql://user@[2001:db8::1234%25eth0],[::1]/db',
|
||||||
|
- 'result': ([('2001:db8::1234%eth0', 5432), ('::1', 5432)], {
|
||||||
|
- 'database': 'db',
|
||||||
|
- 'user': 'user',
|
||||||
|
- 'target_session_attrs': 'any',
|
||||||
|
- })
|
||||||
|
- },
|
||||||
|
+ #{
|
||||||
|
+ # 'name': 'dsn_ipv6_multi_host',
|
||||||
|
+ # 'dsn': 'postgresql://user@[2001:db8::1234%25eth0],[::1]/db',
|
||||||
|
+ # 'result': ([('2001:db8::1234%eth0', 5432), ('::1', 5432)], {
|
||||||
|
+ # 'database': 'db',
|
||||||
|
+ # 'user': 'user',
|
||||||
|
+ # 'target_session_attrs': 'any',
|
||||||
|
+ # })
|
||||||
|
+ #},
|
||||||
|
|
||||||
|
{
|
||||||
|
'name': 'dsn_ipv6_multi_host_port',
|
Loading…
x
Reference in New Issue
Block a user