28 Commits

Author SHA256 Message Date
2e1aca9dd0 Accepting request 1245497 from devel:languages:python
- Add patch skip-dsn_ipv6_multi_host-parse-test.patch:
  * Skip a broken testcase.
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1245497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asyncpg?expand=0&rev=14
2025-02-13 17:39:06 +00:00
a1d5096e4d - Add patch skip-dsn_ipv6_multi_host-parse-test.patch:
* Skip a broken testcase.
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncpg?expand=0&rev=24
2025-02-13 03:28:50 +00:00
bdc109ea39 Accepting request 1217351 from devel:languages:python
- 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/request/show/1217351
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asyncpg?expand=0&rev=13
2024-10-24 13:42:41 +00:00
821144f0f9 - 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
2024-10-23 12:41:51 +00:00
d63d6e5b08 Accepting request 1205216 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1205216
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asyncpg?expand=0&rev=12
2024-10-02 19:35:10 +00:00
1ea78cc203 - Add 0001-notice-also-the-MERGE-command.patch to support Postgres 15+,
sent upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncpg?expand=0&rev=20
2024-10-02 14:05:17 +00:00
2325978743 Accepting request 1128744 from devel:languages:python
- 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)

- Update to 0.27.0
- update
  * Add support for password functions (useful for RDS IAM auth)
  * Vastly speedup executemany by batching protocol messages
  * Avoid unnecessary overhead during connection reset
- Update to version 0.20.1

OBS-URL: https://build.opensuse.org/request/show/1128744
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asyncpg?expand=0&rev=11
2023-11-26 18:37:17 +00:00
248f93f08d - 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)
- Update to 0.27.0
- update
  * Add support for password functions (useful for RDS IAM auth)
  * Vastly speedup executemany by batching protocol messages
  * Avoid unnecessary overhead during connection reset
- Update to version 0.20.1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncpg?expand=0&rev=18
2023-11-25 14:17:26 +00:00
0f2565513d Accepting request 1098177 from devel:languages:python
- update to 0.28.0:
  * Minor fixes and improvements.
  * Do not try to cleanup statements (#981)
  * Add Pool.is_closing() method (#973)
  * Fix test_tls_version for LibreSSL (#974)
  * Handle environments without home dir (#1011)
  * fix: salt and iterations parsing for scram (#1026)
  * Add support for target_session_attrs (#987)
  * Add support for READ UNCOMMITTED (#1039)
  * Update benchmarks, add psycopg3 (#1042)

OBS-URL: https://build.opensuse.org/request/show/1098177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asyncpg?expand=0&rev=10
2023-07-12 15:27:09 +00:00
47d3754f37 - update to 0.28.0:
* Minor fixes and improvements.
  * Do not try to cleanup statements (#981)
  * Add Pool.is_closing() method (#973)
  * Fix test_tls_version for LibreSSL (#974)
  * Handle environments without home dir (#1011)
  * fix: salt and iterations parsing for scram (#1026)
  * Add support for target_session_attrs (#987)
  * Add support for READ UNCOMMITTED (#1039)
  * Update benchmarks, add psycopg3 (#1042)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncpg?expand=0&rev=16
2023-07-11 13:33:03 +00:00
960d573ad8 Accepting request 1096814 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1096814
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asyncpg?expand=0&rev=9
2023-07-05 13:30:52 +00:00
937ff0e90f Accepting request 1096808 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1096808
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncpg?expand=0&rev=14
2023-07-04 13:31:34 +00:00
7180cc6a81 Accepting request 1034468 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1034468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asyncpg?expand=0&rev=8
2022-11-08 10:48:07 +00:00
bfec18e6ea Accepting request 1034371 from home:yarunachalam:branches:devel:languages:python
- Update to 0.27.0 
  Support Python 3.11 and PostgreSQL 15. This release also drops support
  for Python 3.6.
  * Changes
  Add arm64 mac and linux wheels
  Add Python 3.11 to the test matrix
  Exclude .venv from flake8 (#958)
  Upgrade to flake8 5.0.4 (from 3.9.2) (#961)
  Show an example of a custom Record class (#960)
  Use the exact type name in Record.repr (#959)
  Drop Python 3.6 support (#940)
  Test on Python 3.11 and PostgreSQL 15, fix workflow deprecations (#968)

OBS-URL: https://build.opensuse.org/request/show/1034371
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncpg?expand=0&rev=12
2022-11-08 09:40:16 +00:00
09025ee3bc Accepting request 1010616 from devel:languages:python
- Disable failing test test_executemany_uvloop_ssl_issue_700, because
  the ssl_user role doesn't have permission to create tables by default with
  the current postgresql configuration.

OBS-URL: https://build.opensuse.org/request/show/1010616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asyncpg?expand=0&rev=7
2022-10-14 13:42:44 +00:00
f85678a2d0 - Disable failing test test_executemany_uvloop_ssl_issue_700, because
the ssl_user role doesn't have permission to create tables by default with
  the current postgresql configuration.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncpg?expand=0&rev=10
2022-10-14 07:35:17 +00:00
f89d4fbd38 Accepting request 993145 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/993145
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asyncpg?expand=0&rev=6
2022-08-05 17:51:07 +00:00
917d7f25b6 Accepting request 992741 from home:ohollmann:branches:devel:languages:python
- Update to 0.26.0:
  * Changes
    -------
    * Add support to use awaitable object in password function.   (#889)
      (by @kwarunek in fb3b6bf7 for #889)
    * Support direct TLS connections (i.e. no STARTTLS) (#923)
      (by @jackwotherspoon in f2a937d2 for #923)
  * Fixes
    -----
    * Fix invalid `pyproject.toml` (#900)
      (by @Rongronggg9 in eddb649c for #900)
    * Add record_class parameter Pool.fetch and Pool.fetchrow (#896)
      (by @baltitenger in 2519cf38 for #896)
    * Domain basetypes are introspected (#886) (#887)
      (by @QuantumTM in cca4a2d3 for #886)
    * Properly handle exceptions raised while handling server auth messages (#862)
      (by @elprans in bd192623 for #862)

OBS-URL: https://build.opensuse.org/request/show/992741
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncpg?expand=0&rev=8
2022-08-04 20:57:10 +00:00
f30468dab4 Accepting request 948242 from devel:languages:python
- update  

- update to 0.25.0:
  * Improve SSL option compatibility in URIs
  * Add Pool methods to determine its min, max, current and idle size
  * Make it possible to specify a statement name in Connection.prepare()
  * Implement support for multirange types
  * Make sure timeout callbacks always get cleaned up
  * Update __all__ statements to a simpler form that is better supported by typecheckers
  * Fix test_timetz_encoding on Python 3.10
  * Fix a bunch of ResourceWarnings in the test suite
  * Fix SSLContext deprecation warnings
  * Fix the description of the database argument to connect()
  * Fix parsing of IPv6 addresses in the connection URI
  * Improve diagnostics of invalid executemany() input

OBS-URL: https://build.opensuse.org/request/show/948242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asyncpg?expand=0&rev=5
2022-01-23 18:13:23 +00:00
a76276f951 - update
- update to 0.25.0:
  * Improve SSL option compatibility in URIs
  * Add Pool methods to determine its min, max, current and idle size
  * Make it possible to specify a statement name in Connection.prepare()
  * Implement support for multirange types
  * Make sure timeout callbacks always get cleaned up
  * Update __all__ statements to a simpler form that is better supported by typecheckers
  * Fix test_timetz_encoding on Python 3.10
  * Fix a bunch of ResourceWarnings in the test suite
  * Fix SSLContext deprecation warnings
  * Fix the description of the database argument to connect()
  * Fix parsing of IPv6 addresses in the connection URI
  * Improve diagnostics of invalid executemany() input

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncpg?expand=0&rev=7
2022-01-23 16:36:18 +00:00
0eff4fb00c Accepting request 926332 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/926332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asyncpg?expand=0&rev=4
2021-10-19 21:04:03 +00:00
d28c6e4e2e Accepting request 925854 from home:bnavigator:branches:devel:languages:python
- Update to 0.24.0
  * Drop support for Python 3.5 (#777)
  * Add support for Python 3.10 (#795)
  * Add support for asynchronous iterables to
    copy_records_to_table() (#713)
  * Add support for coroutine functions as listener callbacks
    (#802)
  * Add support for sslcert, sslkey and sslrootcert parameters to
    DSN (#768)
  * Add copy_ wrappers to Pool (#661)
  * Add issubset and issuperset methods to the Range type (#563)
  * Break connection internal circular reference (#774)
  * Make Server Version Extraction More Flexible (#778)
- Release 0.23.0
  * Avoid TypeError in Transaction.__repr__ (#703)
  * Feed memoryview to writelines() (#715)
  * Add sslmode=allow support and fix =prefer retry (#720)
  * Loosen message test in test_invalid_input (#751)
  * Support readonly and deferrable for non-serializable
    transactions (#747)
  * Fix asyncpg with Py_DEBUG mode (#719)
  * Fix docs/Makefile and docs/_static/theme_overrides.css missing
    from PyPI package (#708)
- Reactivate python36: uvloop for testing is optional

OBS-URL: https://build.opensuse.org/request/show/925854
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncpg?expand=0&rev=6
2021-10-19 17:13:57 +00:00
6f98f24154 Accepting request 919753 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/919753
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asyncpg?expand=0&rev=3
2021-09-17 21:26:09 +00:00
8792f56fce Accepting request 919659 from home:dimstar:Factory
- Do not build for python 3.6: the required dependency uvloop does
  no longer support Python 3.6 since version 0.16.

OBS-URL: https://build.opensuse.org/request/show/919659
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncpg?expand=0&rev=5
2021-09-17 13:23:23 +00:00
2eacc4c61a Accepting request 890178 from devel:languages:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/890178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asyncpg?expand=0&rev=2
2021-05-04 20:00:52 +00:00
e9f1699173 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncpg?expand=0&rev=3
2021-05-03 20:53:38 +00:00
9387daf3a6 Accepting request 850170 from devel:languages:python
dep of many postgres tools

OBS-URL: https://build.opensuse.org/request/show/850170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-asyncpg?expand=0&rev=1
2020-11-25 18:29:47 +00:00
1854f30287 Accepting request 849971 from home:jayvdb:py-submit
Modern equiv of psycopg2, which is also maintained at d-l-py.  It is a dependency of a very large number of python libraries already present in d-l-py, and many others which should be in d-l-py because they are considered core by most other Linux distros, so I believe this new should also be maintained here.
4.5k stars on GitHub.
Already present in Debian & Ubuntu & co, Arch & Manjaro & co, Gentoo, *ports, nix, Kali
https://repology.org/projects/?search=asyncpg

OBS-URL: https://build.opensuse.org/request/show/849971
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncpg?expand=0&rev=1
2020-11-22 16:16:35 +00:00