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:           Sun Oct 20 20:12:01 UTC 2024

Modified Files:
        pkgsrc/databases/py-asyncpg: Makefile PLIST distinfo

Log Message:
py-asyncpg: updated to 0.30.0

0.30.0

Improvements

Implement GSSAPI authentication
Implement SSPI authentication
Add initial typings
Allow building with Cython 3
docs: fix connection pool close call
Add support for the sslnegotiation parameter
Test and build on Python 3.13
Support PostgreSQL 17
Add fetchmany to execute many and return rows
Add connect kwarg to Pool to better support GCP's CloudSQL
Allow customizing connection state reset

Fixes

s/quote/quote_plus/ in the note about DSN part quoting
Use asyncio.run() instead of run_until_complete()
Require async_timeout for python < 3.11
Allow testing with uvloop on Python 3.12
Mark pool-wrapped connection coroutine methods as coroutines
handle None parameters in copy_from_query, returning NULL
fix: return the pool from async_init_ if it's already initialized
Replace obsolete, unsafe Py_TRASHCAN_SAFE_BEGIN/END


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/databases/py-asyncpg/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/databases/py-asyncpg/PLIST
cvs rdiff -u -r1.24 -r1.25 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.27 pkgsrc/databases/py-asyncpg/Makefile:1.28
--- pkgsrc/databases/py-asyncpg/Makefile:1.27   Mon Nov  6 11:02:55 2023
+++ pkgsrc/databases/py-asyncpg/Makefile        Sun Oct 20 20:12:01 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2023/11/06 11:02:55 adam Exp $
+# $NetBSD: Makefile,v 1.28 2024/10/20 20:12:01 adam Exp $
 
-DISTNAME=      asyncpg-0.29.0
+DISTNAME=      asyncpg-0.30.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/asyncpg/}
@@ -15,8 +15,6 @@ TOOL_DEPENDS+=        ${PYPKGPREFIX}-wheel-[0-9
 TEST_DEPENDS+= ${PYPKGPREFIX}-flake8>=6.1:../../devel/py-flake8
 TEST_DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.15.3:../../devel/py-uvloop
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
 # Testing requires postgresql-contrib
 
 .include "../../lang/python/pyversion.mk"

Index: pkgsrc/databases/py-asyncpg/PLIST
diff -u pkgsrc/databases/py-asyncpg/PLIST:1.12 pkgsrc/databases/py-asyncpg/PLIST:1.13
--- pkgsrc/databases/py-asyncpg/PLIST:1.12      Mon Nov  6 11:02:55 2023
+++ pkgsrc/databases/py-asyncpg/PLIST   Sun Oct 20 20:12:01 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2023/11/06 11:02:55 adam Exp $
+@comment $NetBSD: PLIST,v 1.13 2024/10/20 20:12:01 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@@ -78,6 +78,7 @@ ${PYSITELIB}/asyncpg/pgproto/frb.pxd
 ${PYSITELIB}/asyncpg/pgproto/frb.pyx
 ${PYSITELIB}/asyncpg/pgproto/hton.pxd
 ${PYSITELIB}/asyncpg/pgproto/pgproto.pxd
+${PYSITELIB}/asyncpg/pgproto/pgproto.pyi
 ${PYSITELIB}/asyncpg/pgproto/pgproto.pyx
 ${PYSITELIB}/asyncpg/pgproto/pgproto.so
 ${PYSITELIB}/asyncpg/pgproto/tohex.pxd
@@ -113,6 +114,7 @@ ${PYSITELIB}/asyncpg/protocol/pgtypes.px
 ${PYSITELIB}/asyncpg/protocol/prepared_stmt.pxd
 ${PYSITELIB}/asyncpg/protocol/prepared_stmt.pyx
 ${PYSITELIB}/asyncpg/protocol/protocol.pxd
+${PYSITELIB}/asyncpg/protocol/protocol.pyi
 ${PYSITELIB}/asyncpg/protocol/protocol.pyx
 ${PYSITELIB}/asyncpg/protocol/protocol.so
 ${PYSITELIB}/asyncpg/protocol/record/__init__.pxd

Index: pkgsrc/databases/py-asyncpg/distinfo
diff -u pkgsrc/databases/py-asyncpg/distinfo:1.24 pkgsrc/databases/py-asyncpg/distinfo:1.25
--- pkgsrc/databases/py-asyncpg/distinfo:1.24   Mon Nov  6 11:02:55 2023
+++ pkgsrc/databases/py-asyncpg/distinfo        Sun Oct 20 20:12:01 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.24 2023/11/06 11:02:55 adam Exp $
+$NetBSD: distinfo,v 1.25 2024/10/20 20:12:01 adam Exp $
 
-BLAKE2s (asyncpg-0.29.0.tar.gz) = d6586af84a9c51dd3676043cf09b3e116306b1fb588df9992bbee3ca884a1c01
-SHA512 (asyncpg-0.29.0.tar.gz) = 5db979496323fcf4068d5de111b52f2ae1ad9efe68f80c28e6303ad936eb051d1792409f1e31fb86dc35caad5ef9b92c40e4f6dcbcccc3907ab2247f61db5504
-Size (asyncpg-0.29.0.tar.gz) = 820455 bytes
+BLAKE2s (asyncpg-0.30.0.tar.gz) = 92f6b9b2a2dd7b2188d33573e6255e164c4b33281c7b9a7ec7e573208b6b8a50
+SHA512 (asyncpg-0.30.0.tar.gz) = bbfc83ae881f454cb16343037ae48fbc9c9c65b57d11fc1e28ec054b9051d823f7da0735307090d0ce4e5dca166590b147d0f9d383a1ac0b894396290aa0782a
+Size (asyncpg-0.30.0.tar.gz) = 957746 bytes



Home | Main Index | Thread Index | Old Index