./devel/py-asyncpg, Asyncio PosgtreSQL driver

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


Branch: CURRENT, Version: 0.18.3, Package name: py37-asyncpg-0.18.3, 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/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 641c9b08833548f17833ae8449cc74adee80e665
RMD160: 3e3f9e7fe96f0219708597c3ed9281e0b721a64e
Filesize: 647.496 KB

Version history: (Expand)


CVS history: (Expand)


   2019-01-03 11:57:07 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-asyncpg: updated to 0.18.3

v0.18.3:
* Fix bswap on *BSD
* Make sure idle never-acquired pool connections are closed due to inactivity
   2018-11-11 23:00:58 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-asyncpg: updated to 0.18.2

asyncpg v0.18.2

Bug Fixes
* Revert "Stop treating ReadyForQuery as a universal result indicator"
  to fix stability regression.
* Correctly ignore all incoming messages after the Terminate message
* Properly cleanup connections closed by remote
   2018-11-02 12:51:38 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-asyncpg: updated to 0.18.1

asyncpg v0.18.1:
Fix DSN parsing regression

asyncpg v0.18.0:
Improvements
Implement Record.get()
Internal asyncpg errors are now consistently raised as InternalClientError
Allow mappings as composite type input
Add BitString.to_int() and BitString.from_int()
Allow 'sslmode' in DSNs
Add support for specifying multiple host addresses when connecting
Low-level protocol implementation has been tweaked and
optimized for slightly better performance in certain scenarios
Queries with cached statements now generate fewer TCP packets
Allow aliasing builtin types by name in set_builtin_type_codec()
Factor out generic PostgreSQL protocol helpers into a separate package
Fix tests and enable CI for PostgreSQL 11

Bug Fixes
Handle and ignore permission errors when attempting to read .pgpass
Fix decoding of fractional timestamps before Postgres epoch
   2018-07-11 11:00:17 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-asyncpg: updated to 0.17.0

asyncpg v0.17.0:

Improvements
Official support for Python 3.7.

Bug Fixes
Fix garbage collection of connections and emit a ResourceWarning
if an unclosed connection is garbage collected.

Raise a clear error if there's a race in pool intialization.

Channel names in Connection.add_listener() and
Connection.remove_listener() are now quoted properly.

Fixed endianness detection on *BSD systems.

Fixed handling of large type OIDs.
   2018-07-03 07:03:44 by Adam Ciarcinski | Files touched by this commit (495)
Log message:
extend PYTHON_VERSIONS_ for Python 3.7
   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