./devel/py-asyncpg, Asyncio PosgtreSQL driver

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.30.0, Package name: py312-asyncpg-0.30.0, Maintainer: pkgsrc-users

asyncpg is a database interface library designed specifically for PostgreSQL
and Python/asyncio. asyncpg is an efficient, clean implementation of
PostgreSQL server binary protocol for use with Python's asyncio framework.


Required to run:
[devel/py-cython] [lang/python310]

Master sites:

Filesize: 935.299 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-20 22:12:01 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-asyncpg: updated to 0.30.0

0.30.0

Improvements

Implement GSSAPI authentication
Implement SSPI authentication
Add initial typings
Allow building with Cython 3
docs: fix connection pool close call
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

Fixes

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
Allow testing with uvloop on Python 3.12
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
Replace obsolete, unsafe Py_TRASHCAN_SAFE_BEGIN/END
   2023-11-06 12:02:56 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-asyncpg: updated to 0.29.0

v0.29.0

Improvements

Python 3.12 and PostgreSQL 16 support
Add support for tuple-format custom codecs on composite types
Support target_session_attrs in URL format, add tests
Infinity numeric support
Add support for the WHERE clause in copy_to methods
Add query logging callbacks and context manager

Fixes

When prepared statements are disabled, avoid relying on them harder
Handle environments with HOME set to a not-a-directory
Fix handling of non-ASCII passwords
Disable JIT while doing type introspection
Remove connection parameter caching in Pool
Switch to Python 3.12-style wait_for
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
Use cleanup_ctx in pool usage doc
Close cursor portals once the iterator is exhausted
Cut BaseProtocol circular reference on close.
Allow passing hosts as tuples to connect() (in addition to lists)
   2023-07-08 09:04:32 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-asyncpg: updated to 0.28.0

0.28.0
Do not try to cleanup statements
Add Pool.is_closing() method
Fix test_tls_version for LibreSSL
Handle environments without home dir
fix: salt and iterations parsing for scram
Add support for target_session_attrs
Add support for READ UNCOMMITTED
Update benchmarks, add psycopg3
   2023-05-09 10:27:10 by Thomas Merkel | Files touched by this commit (2)
Log message:
py-asyncpg: fix illumos / solaris build

Provide patch file to support py-asyncpg on illumos.
   2022-11-08 12:43:59 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-asyncpg: updated to 0.27.0

v0.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
Upgrade to flake8 5.0.4 (from 3.9.2)
Show an example of a custom Record class
Use the exact type name in Record.repr
Drop Python 3.6 support
Test on Python 3.11 and PostgreSQL 15, fix workflow deprecations
   2022-07-08 09:26:10 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-asyncpg: updated to 0.26.0

v0.26.0

Changes

Add support to use awaitable object in password function.
Support direct TLS connections (i.e. no STARTTLS)

Fixes

Fix invalid pyproject.toml
Add record_class parameter Pool.fetch and Pool.fetchrow
Domain basetypes are introspected
Properly handle exceptions raised while handling server auth messages
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS