./devel/py-asyncpg, Asyncio PosgtreSQL driver

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


Branch: CURRENT, Version: 0.16.0, Package name: py36-asyncpg-0.16.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-setuptools] [devel/py-cython] [lang/python36]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 4ffdde18aa5f8e5f6535a5b691ab38b0d0220cfe
RMD160: 5567220fd1680dc967d857bbfdb56553707fa2b7
Filesize: 600.706 KB

Version history: (Expand)


CVS history: (Expand)


   2018-06-12 12:30:39 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-asyncpg: updated to 0.16.0

asyncpg v0.16.0:

Behavior Changes
----------------
Pool.close() now waits until all acquired connections are released.
Hence, the below code will now hang indefinitely:
    conn = await pool.acquire()
    await pool.close()
Asyncpg will log a warning if pool.close() takes over 60 seconds to
complete. It is advisable to use asyncio.wait_for() to set a timeout.

Improvements
------------
Add support for reading passwords from .pgpass
Add Connection.is_in_transaction()
Added codec for built-in type tid
Allow setting custom codecs on domains and enumerated types
Allow passing datetime.date instances as timestamp input
Implement support for pool connection rotation

Bug Fixes
---------
Prohibit non-iterable containers to be passed as array input
Decode numeric zeros with correct scale
Fix handling of OIDs >= 2**31
Make Pool.close() wait until all checked out connections are released
Fix type codec cache races
Raise a consistent exception on input encoding errors
   2018-02-22 10:24:16 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-asyncpg: updated to 0.15.0

asyncpg v0.15.0

Behavior Changes
asyncpg no longer uses the common statement cache for explicit
prepared statements, so Connection.prepare() always returns a
new prepared statement

Bug Fixes
Initialize statement codecs immediately after Prepare
Fix server version parsing when it contains trailing data
   2017-12-30 11:31:29 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-asyncpg: updated to 0.14.0

v0.14.0:
Backwards Incompatible Changes:
asyncpg now reports the server version as x.0.y for PostgreSQL 10.0 and later.
This is in alignment with how upstream is interpreting the "minor" version
component now.

Improvements:
Support timeouts in Connection.close() and Pool.release()
Invalidate type cache on schema changes affecting statement result.
A new Connection.reload_schema_state() method.
Add CrateDB detection

Bug Fixes:
Make prepared statement uid generator global
Document pgbouncer-related prepared statement breakage
Fix unaligned access issues in host-network byte I/O on ARM
Fix issues with timetz type I/O
Consistently use postgres/postgres as database/user pair in tests
Fix Range.__hash__()
Guard transaction methods against underlying connection release
   2017-10-22 09:32:05 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-asyncpg: update to 0.13.0

v0.13.0
Backwards Incompatible Changes
------------------------------
Drop support for PostgreSQL 9.1
Remove the deprecated "binary" parameter from Connection.set_type_codec()

New Features
------------
Add support for PostgreSQL 10

Bug Fixes
---------
Document that single fetches can return None
Fix type introspection being very slow on large databases
Fix copy tests on PostgreSQL < 9.4
Fix DeprecationWarning in tests
Fix intermittent authentication failures against PostgreSQL 10 servers
Do not attempt to connect to Unix sockets on Windows when host is not set
Guard against incorrect use of resources associated with a connection
Warn when there are active listeners on a connection that is released
Add a test for cursors on a standby replica.
Clarify the argument/parameter count mismatch exception
Fix TypeError on get_attributes when result has no columns
protocol: Use try-finally explicitly every time we create a waiter
Call correct parent constructor in InterfaceWarning.__init__
Allow grabbing the version information programmatically.
Use the general statement cache for type introspection
Fix issues with inet type I/O
Handle inactive connection closes while stored in the pool
   2017-07-31 14:12:59 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
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.