Subject: CVS commit: pkgsrc/databases/py-asyncpg
From: Adam Ciarcinski
Date: 2018-06-12 12:30:39
Message id: 20180612103039.CAEAFFBEC@cvs.NetBSD.org

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

Files:
RevisionActionfile
1.5modifypkgsrc/databases/py-asyncpg/Makefile
1.4modifypkgsrc/databases/py-asyncpg/PLIST
1.5modifypkgsrc/databases/py-asyncpg/distinfo