diff options
author | adam <adam@pkgsrc.org> | 2018-06-12 10:30:39 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-06-12 10:30:39 +0000 |
commit | ecd3bff7eeeb2f4ad8db1fed5213c3deacf9d9ac (patch) | |
tree | 86b62bfa7eacbec9aa02109af8eca5d59e177707 /databases | |
parent | c4ba19ccea64b3b1b5ac63af9f7d3a966426fedb (diff) | |
download | pkgsrc-ecd3bff7eeeb2f4ad8db1fed5213c3deacf9d9ac.tar.gz |
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
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-asyncpg/Makefile | 7 | ||||
-rw-r--r-- | databases/py-asyncpg/PLIST | 4 | ||||
-rw-r--r-- | databases/py-asyncpg/distinfo | 10 |
3 files changed, 13 insertions, 8 deletions
diff --git a/databases/py-asyncpg/Makefile b/databases/py-asyncpg/Makefile index 55b84537bd9..b97a054ed9d 100644 --- a/databases/py-asyncpg/Makefile +++ b/databases/py-asyncpg/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.4 2018/02/22 09:24:16 adam Exp $ +# $NetBSD: Makefile,v 1.5 2018/06/12 10:30:39 adam Exp $ -DISTNAME= asyncpg-0.15.0 +DISTNAME= asyncpg-0.16.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=a/asyncpg/} @@ -10,6 +10,9 @@ HOMEPAGE= https://github.com/MagicStack/asyncpg COMMENT= Asyncio PosgtreSQL driver LICENSE= apache-2.0 +TEST_DEPENDS+= ${PYPKGPREFIX}-flake8>=3.5.0:../../devel/py-flake8 +TEST_DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.8.0:../../devel/py-uvloop + PYTHON_VERSIONS_ACCEPTED= 36 35 # Testing requires postgresql-contrib diff --git a/databases/py-asyncpg/PLIST b/databases/py-asyncpg/PLIST index 8e5e79aa589..5609540c8fb 100644 --- a/databases/py-asyncpg/PLIST +++ b/databases/py-asyncpg/PLIST @@ -1,7 +1,8 @@ -@comment $NetBSD: PLIST,v 1.3 2017/12/30 10:31:29 adam Exp $ +@comment $NetBSD: PLIST,v 1.4 2018/06/12 10:30:39 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/requires.txt ${PYSITELIB}/${EGG_INFODIR}/top_level.txt ${PYSITELIB}/asyncpg/__init__.py ${PYSITELIB}/asyncpg/__init__.pyc @@ -72,6 +73,7 @@ ${PYSITELIB}/asyncpg/protocol/codecs/range.pyx ${PYSITELIB}/asyncpg/protocol/codecs/record.pyx ${PYSITELIB}/asyncpg/protocol/codecs/text.pyx ${PYSITELIB}/asyncpg/protocol/codecs/textutils.pyx +${PYSITELIB}/asyncpg/protocol/codecs/tid.pyx ${PYSITELIB}/asyncpg/protocol/codecs/tsearch.pyx ${PYSITELIB}/asyncpg/protocol/codecs/txid.pyx ${PYSITELIB}/asyncpg/protocol/codecs/uuid.pyx diff --git a/databases/py-asyncpg/distinfo b/databases/py-asyncpg/distinfo index c23a76ce267..c500575b05c 100644 --- a/databases/py-asyncpg/distinfo +++ b/databases/py-asyncpg/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.4 2018/02/22 09:24:16 adam Exp $ +$NetBSD: distinfo,v 1.5 2018/06/12 10:30:39 adam Exp $ -SHA1 (asyncpg-0.15.0.tar.gz) = 70f75912baa2a2f3c0b98037873dea6186c4b11b -RMD160 (asyncpg-0.15.0.tar.gz) = 69e0321592a71395c51fae0cc65bec0c4354d8c0 -SHA512 (asyncpg-0.15.0.tar.gz) = 19583b4d0eec16c743348b09e68b83951784951279751500215962bf91d8330f7cdfd0e0a4c0efaeab44d5021419b9e87e04d0fa8dea1169f2bffbf6b3df4837 -Size (asyncpg-0.15.0.tar.gz) = 591010 bytes +SHA1 (asyncpg-0.16.0.tar.gz) = 4ffdde18aa5f8e5f6535a5b691ab38b0d0220cfe +RMD160 (asyncpg-0.16.0.tar.gz) = 5567220fd1680dc967d857bbfdb56553707fa2b7 +SHA512 (asyncpg-0.16.0.tar.gz) = e89a1efbd5b88f7308fbaeaffdda6fe0ad5106e4cad36df7eaf1b41aca0430757900c4f906cb97a8721d67525cfa25e5221b980a77864fffd607153d3da6d560 +Size (asyncpg-0.16.0.tar.gz) = 615123 bytes |