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: Wed Feb 10 08:26:31 UTC 2021
Modified Files:
pkgsrc/databases/py-asyncpg: Makefile PLIST distinfo
Log Message:
py-asyncpg: updated to 0.22.0
v0.22.0
A new asyncpg release is here.
Notable additions include Python 3.9 support, support for recently added
PostgreSQL types like jsonpath, and last but not least, vastly
improved executemany() performance. Importantly, executemany() is
also now atomic, which means that either all iterations succeed, or
none at all, whereas previously partial results would have remained in
place, unless executemany() was called in a transaction.
There is also the usual assortment of improvements and bugfixes, see the
details below.
This is the last release of asyncpg that supports Python 3.5, which has
reached EOL last September.
Improvements
Vastly speedup executemany by batching protocol messages
Allow using custom Record class
Add Python 3.9 support
Prefer SSL connections by default
Add codecs for a bunch of new builtin types
Expose Pool as asyncpg.Pool
Avoid unnecessary overhead during connection reset
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/databases/py-asyncpg/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/databases/py-asyncpg/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/databases/py-asyncpg/distinfo
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.15 pkgsrc/databases/py-asyncpg/Makefile:1.16
--- pkgsrc/databases/py-asyncpg/Makefile:1.15 Mon Aug 10 06:11:17 2020
+++ pkgsrc/databases/py-asyncpg/Makefile Wed Feb 10 08:26:31 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2020/08/10 06:11:17 adam Exp $
+# $NetBSD: Makefile,v 1.16 2021/02/10 08:26:31 adam Exp $
-DISTNAME= asyncpg-0.21.0
+DISTNAME= asyncpg-0.22.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/asyncpg/}
@@ -14,6 +14,11 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-codestyle>
TEST_DEPENDS+= ${PYPKGPREFIX}-flake8>=3.7.9:../../devel/py-flake8
TEST_DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.14.0:../../devel/py-uvloop
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.7.4.3:../../devel/py-typing-extensions
+.endif
+
PYTHON_VERSIONS_INCOMPATIBLE= 27
# Testing requires postgresql-contrib
Index: pkgsrc/databases/py-asyncpg/PLIST
diff -u pkgsrc/databases/py-asyncpg/PLIST:1.8 pkgsrc/databases/py-asyncpg/PLIST:1.9
--- pkgsrc/databases/py-asyncpg/PLIST:1.8 Fri Nov 22 09:32:37 2019
+++ pkgsrc/databases/py-asyncpg/PLIST Wed Feb 10 08:26:31 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2019/11/22 09:32:37 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2021/02/10 08:26:31 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -14,6 +14,9 @@ ${PYSITELIB}/asyncpg/_testbase/__init__.
${PYSITELIB}/asyncpg/_testbase/fuzzer.py
${PYSITELIB}/asyncpg/_testbase/fuzzer.pyc
${PYSITELIB}/asyncpg/_testbase/fuzzer.pyo
+${PYSITELIB}/asyncpg/_version.py
+${PYSITELIB}/asyncpg/_version.pyc
+${PYSITELIB}/asyncpg/_version.pyo
${PYSITELIB}/asyncpg/cluster.py
${PYSITELIB}/asyncpg/cluster.pyc
${PYSITELIB}/asyncpg/cluster.pyo
@@ -57,20 +60,18 @@ ${PYSITELIB}/asyncpg/pgproto/codecs/geom
${PYSITELIB}/asyncpg/pgproto/codecs/hstore.pyx
${PYSITELIB}/asyncpg/pgproto/codecs/int.pyx
${PYSITELIB}/asyncpg/pgproto/codecs/json.pyx
+${PYSITELIB}/asyncpg/pgproto/codecs/jsonpath.pyx
${PYSITELIB}/asyncpg/pgproto/codecs/misc.pyx
${PYSITELIB}/asyncpg/pgproto/codecs/network.pyx
${PYSITELIB}/asyncpg/pgproto/codecs/numeric.pyx
+${PYSITELIB}/asyncpg/pgproto/codecs/pg_snapshot.pyx
${PYSITELIB}/asyncpg/pgproto/codecs/text.pyx
${PYSITELIB}/asyncpg/pgproto/codecs/tid.pyx
-${PYSITELIB}/asyncpg/pgproto/codecs/txid.pyx
${PYSITELIB}/asyncpg/pgproto/codecs/uuid.pyx
${PYSITELIB}/asyncpg/pgproto/consts.pxi
${PYSITELIB}/asyncpg/pgproto/cpythonx.pxd
${PYSITELIB}/asyncpg/pgproto/debug.h
${PYSITELIB}/asyncpg/pgproto/debug.pxd
-${PYSITELIB}/asyncpg/pgproto/exceptions.py
-${PYSITELIB}/asyncpg/pgproto/exceptions.pyc
-${PYSITELIB}/asyncpg/pgproto/exceptions.pyo
${PYSITELIB}/asyncpg/pgproto/frb.pxd
${PYSITELIB}/asyncpg/pgproto/frb.pyx
${PYSITELIB}/asyncpg/pgproto/hton.h
Index: pkgsrc/databases/py-asyncpg/distinfo
diff -u pkgsrc/databases/py-asyncpg/distinfo:1.13 pkgsrc/databases/py-asyncpg/distinfo:1.14
--- pkgsrc/databases/py-asyncpg/distinfo:1.13 Mon Aug 10 06:11:17 2020
+++ pkgsrc/databases/py-asyncpg/distinfo Wed Feb 10 08:26:31 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2020/08/10 06:11:17 adam Exp $
+$NetBSD: distinfo,v 1.14 2021/02/10 08:26:31 adam Exp $
-SHA1 (asyncpg-0.21.0.tar.gz) = 2f50e1fb61bac4a45b5b468d40b083185e2de507
-RMD160 (asyncpg-0.21.0.tar.gz) = 6d1176c2f2a5c8bf87fc582421b73ddb79711339
-SHA512 (asyncpg-0.21.0.tar.gz) = 8bfd6689008ea964ac66d1c141bddd749f50d928b6cbc5e059f0e1d0a3597213ccae0b2fa7d694bf4e40c0b2650c445d2c54040a076ba69509e508bf51de2970
-Size (asyncpg-0.21.0.tar.gz) = 746782 bytes
+SHA1 (asyncpg-0.22.0.tar.gz) = 2154d1ceee5dd7bcd35d7dfa08acacb634486d8c
+RMD160 (asyncpg-0.22.0.tar.gz) = ecf628bf520845e28fb372275a0ef62a711bdecb
+SHA512 (asyncpg-0.22.0.tar.gz) = b953290e10ea408ad67ac28f394bb3aaf84c4e42d136f0af9e2f7befcf03e34faf46ef1806c98099453028963142a6e3bce63ff3cbe118b2026744de2103eb37
+Size (asyncpg-0.22.0.tar.gz) = 770278 bytes
Home |
Main Index |
Thread Index |
Old Index