pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/py-asyncpg
Module Name: pkgsrc
Committed By: adam
Date: Tue Jun 12 10:30:39 UTC 2018
Modified Files:
pkgsrc/databases/py-asyncpg: Makefile PLIST distinfo
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
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/databases/py-asyncpg/Makefile \
pkgsrc/databases/py-asyncpg/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/databases/py-asyncpg/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/py-asyncpg/Makefile
diff -u pkgsrc/databases/py-asyncpg/Makefile:1.4 pkgsrc/databases/py-asyncpg/Makefile:1.5
--- pkgsrc/databases/py-asyncpg/Makefile:1.4 Thu Feb 22 09:24:16 2018
+++ pkgsrc/databases/py-asyncpg/Makefile Tue Jun 12 10:30:39 2018
@@ -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/
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
Index: pkgsrc/databases/py-asyncpg/distinfo
diff -u pkgsrc/databases/py-asyncpg/distinfo:1.4 pkgsrc/databases/py-asyncpg/distinfo:1.5
--- pkgsrc/databases/py-asyncpg/distinfo:1.4 Thu Feb 22 09:24:16 2018
+++ pkgsrc/databases/py-asyncpg/distinfo Tue Jun 12 10:30:39 2018
@@ -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
Index: pkgsrc/databases/py-asyncpg/PLIST
diff -u pkgsrc/databases/py-asyncpg/PLIST:1.3 pkgsrc/databases/py-asyncpg/PLIST:1.4
--- pkgsrc/databases/py-asyncpg/PLIST:1.3 Sat Dec 30 10:31:29 2017
+++ pkgsrc/databases/py-asyncpg/PLIST Tue Jun 12 10:30:39 2018
@@ -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/ran
${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
Home |
Main Index |
Thread Index |
Old Index