pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-asyncpg py-asyncpg: updated to 0.18.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c980f61a5ac8
branches:  trunk
changeset: 386905:c980f61a5ac8
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Nov 02 11:51:38 2018 +0000

description:
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

diffstat:

 databases/py-asyncpg/Makefile |   6 +-
 databases/py-asyncpg/PLIST    |  69 +++++++++++++++++++++++++++---------------
 databases/py-asyncpg/distinfo |  10 +++---
 3 files changed, 52 insertions(+), 33 deletions(-)

diffs (146 lines):

diff -r 336a67febdbf -r c980f61a5ac8 databases/py-asyncpg/Makefile
--- a/databases/py-asyncpg/Makefile     Fri Nov 02 09:59:53 2018 +0000
+++ b/databases/py-asyncpg/Makefile     Fri Nov 02 11:51:38 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2018/07/11 09:00:17 adam Exp $
+# $NetBSD: Makefile,v 1.8 2018/11/02 11:51:38 adam Exp $
 
-DISTNAME=      asyncpg-0.17.0
+DISTNAME=      asyncpg-0.18.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/asyncpg/}
@@ -13,7 +13,7 @@
 TEST_DEPENDS+= ${PYPKGPREFIX}-flake8>=3.5.0:../../devel/py-flake8
 TEST_DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.8.0:../../devel/py-uvloop
 
-PYTHON_VERSIONS_ACCEPTED=      37 36 35
+PYTHON_VERSIONS_INCOMPATIBLE=  27 34
 
 # Testing requires postgresql-contrib
 
diff -r 336a67febdbf -r c980f61a5ac8 databases/py-asyncpg/PLIST
--- a/databases/py-asyncpg/PLIST        Fri Nov 02 09:59:53 2018 +0000
+++ b/databases/py-asyncpg/PLIST        Fri Nov 02 11:51:38 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2018/07/11 09:00:17 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2018/11/02 11:51:38 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -41,6 +41,47 @@
 ${PYSITELIB}/asyncpg/introspection.py
 ${PYSITELIB}/asyncpg/introspection.pyc
 ${PYSITELIB}/asyncpg/introspection.pyo
+${PYSITELIB}/asyncpg/pgproto/__init__.pxd
+${PYSITELIB}/asyncpg/pgproto/__init__.py
+${PYSITELIB}/asyncpg/pgproto/__init__.pyc
+${PYSITELIB}/asyncpg/pgproto/__init__.pyo
+${PYSITELIB}/asyncpg/pgproto/buffer.pxd
+${PYSITELIB}/asyncpg/pgproto/buffer.pyx
+${PYSITELIB}/asyncpg/pgproto/codecs/__init__.pxd
+${PYSITELIB}/asyncpg/pgproto/codecs/bits.pyx
+${PYSITELIB}/asyncpg/pgproto/codecs/bytea.pyx
+${PYSITELIB}/asyncpg/pgproto/codecs/context.pyx
+${PYSITELIB}/asyncpg/pgproto/codecs/datetime.pyx
+${PYSITELIB}/asyncpg/pgproto/codecs/float.pyx
+${PYSITELIB}/asyncpg/pgproto/codecs/geometry.pyx
+${PYSITELIB}/asyncpg/pgproto/codecs/hstore.pyx
+${PYSITELIB}/asyncpg/pgproto/codecs/int.pyx
+${PYSITELIB}/asyncpg/pgproto/codecs/json.pyx
+${PYSITELIB}/asyncpg/pgproto/codecs/misc.pyx
+${PYSITELIB}/asyncpg/pgproto/codecs/network.pyx
+${PYSITELIB}/asyncpg/pgproto/codecs/numeric.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
+${PYSITELIB}/asyncpg/pgproto/hton.pxd
+${PYSITELIB}/asyncpg/pgproto/pgproto.c
+${PYSITELIB}/asyncpg/pgproto/pgproto.pxd
+${PYSITELIB}/asyncpg/pgproto/pgproto.pyx
+${PYSITELIB}/asyncpg/pgproto/pgproto.so
+${PYSITELIB}/asyncpg/pgproto/types.py
+${PYSITELIB}/asyncpg/pgproto/types.pyc
+${PYSITELIB}/asyncpg/pgproto/types.pyo
 ${PYSITELIB}/asyncpg/pool.py
 ${PYSITELIB}/asyncpg/pool.pyc
 ${PYSITELIB}/asyncpg/pool.pyo
@@ -50,42 +91,21 @@
 ${PYSITELIB}/asyncpg/protocol/__init__.py
 ${PYSITELIB}/asyncpg/protocol/__init__.pyc
 ${PYSITELIB}/asyncpg/protocol/__init__.pyo
-${PYSITELIB}/asyncpg/protocol/buffer.pxd
-${PYSITELIB}/asyncpg/protocol/buffer.pyx
 ${PYSITELIB}/asyncpg/protocol/codecs/__init__.py
 ${PYSITELIB}/asyncpg/protocol/codecs/__init__.pyc
 ${PYSITELIB}/asyncpg/protocol/codecs/__init__.pyo
 ${PYSITELIB}/asyncpg/protocol/codecs/array.pyx
 ${PYSITELIB}/asyncpg/protocol/codecs/base.pxd
 ${PYSITELIB}/asyncpg/protocol/codecs/base.pyx
-${PYSITELIB}/asyncpg/protocol/codecs/bits.pyx
-${PYSITELIB}/asyncpg/protocol/codecs/bytea.pyx
-${PYSITELIB}/asyncpg/protocol/codecs/datetime.pyx
-${PYSITELIB}/asyncpg/protocol/codecs/float.pyx
-${PYSITELIB}/asyncpg/protocol/codecs/geometry.pyx
-${PYSITELIB}/asyncpg/protocol/codecs/hstore.pyx
-${PYSITELIB}/asyncpg/protocol/codecs/int.pyx
-${PYSITELIB}/asyncpg/protocol/codecs/json.pyx
-${PYSITELIB}/asyncpg/protocol/codecs/misc.pyx
-${PYSITELIB}/asyncpg/protocol/codecs/money.pyx
-${PYSITELIB}/asyncpg/protocol/codecs/network.pyx
-${PYSITELIB}/asyncpg/protocol/codecs/numeric.pyx
+${PYSITELIB}/asyncpg/protocol/codecs/pgproto.pyx
 ${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
 ${PYSITELIB}/asyncpg/protocol/consts.pxi
 ${PYSITELIB}/asyncpg/protocol/coreproto.pxd
 ${PYSITELIB}/asyncpg/protocol/coreproto.pyx
-${PYSITELIB}/asyncpg/protocol/debug.h
-${PYSITELIB}/asyncpg/protocol/debug.pxd
+${PYSITELIB}/asyncpg/protocol/cpythonx.pxd
 ${PYSITELIB}/asyncpg/protocol/encodings.pyx
-${PYSITELIB}/asyncpg/protocol/hton.h
-${PYSITELIB}/asyncpg/protocol/hton.pxd
 ${PYSITELIB}/asyncpg/protocol/pgtypes.pxi
 ${PYSITELIB}/asyncpg/protocol/prepared_stmt.pxd
 ${PYSITELIB}/asyncpg/protocol/prepared_stmt.pyx
@@ -93,7 +113,6 @@
 ${PYSITELIB}/asyncpg/protocol/protocol.pxd
 ${PYSITELIB}/asyncpg/protocol/protocol.pyx
 ${PYSITELIB}/asyncpg/protocol/protocol.so
-${PYSITELIB}/asyncpg/protocol/python.pxd
 ${PYSITELIB}/asyncpg/protocol/record/__init__.pxd
 ${PYSITELIB}/asyncpg/protocol/record/recordobj.c
 ${PYSITELIB}/asyncpg/protocol/record/recordobj.h
diff -r 336a67febdbf -r c980f61a5ac8 databases/py-asyncpg/distinfo
--- a/databases/py-asyncpg/distinfo     Fri Nov 02 09:59:53 2018 +0000
+++ b/databases/py-asyncpg/distinfo     Fri Nov 02 11:51:38 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2018/07/11 09:00:17 adam Exp $
+$NetBSD: distinfo,v 1.7 2018/11/02 11:51:38 adam Exp $
 
-SHA1 (asyncpg-0.17.0.tar.gz) = c636480de0d4ddad7a9541f049118bdd59bcb712
-RMD160 (asyncpg-0.17.0.tar.gz) = d781c205d02b599ddbeb806252a4ea0e016398c1
-SHA512 (asyncpg-0.17.0.tar.gz) = 435f89d81252589ea48677b0712ef7afb3fd3ce272ab1b83fd17921ee7a2494363045d436de18f308c42c41bfa0a1b0945201512134ff162e9dea6795656bafb
-Size (asyncpg-0.17.0.tar.gz) = 617710 bytes
+SHA1 (asyncpg-0.18.1.tar.gz) = 48e0bd234ed720f0649c3816eb05961313b32d9d
+RMD160 (asyncpg-0.18.1.tar.gz) = 63db9c7c27fe8e4d0e97d2efea112d300306ffa7
+SHA512 (asyncpg-0.18.1.tar.gz) = cdcb901424a80081d4715c1348d44323650d041bbb5bb46a0ec27d4925d07e18948a6a50157adb135d72e5721c80c32241bf957e3d4dfbac177ab41b341cb3dc
+Size (asyncpg-0.18.1.tar.gz) = 658666 bytes



Home | Main Index | Thread Index | Old Index