From 2d014fd025690787ae3d6f8939daf6c8cf080e07 Mon Sep 17 00:00:00 2001 From: omni Date: Sun, 6 Aug 2023 12:38:33 +0000 Subject: [PATCH] community/py3-psycopg: upgrade to 3.1.10 --- community/py3-psycopg/APKBUILD | 8 ++++---- community/py3-psycopg/typing-ext.patch | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/community/py3-psycopg/APKBUILD b/community/py3-psycopg/APKBUILD index 7e3666ea3c9..08ebe84f0e7 100644 --- a/community/py3-psycopg/APKBUILD +++ b/community/py3-psycopg/APKBUILD @@ -1,8 +1,8 @@ # Contributor: omni # Maintainer: omni pkgname=py3-psycopg -pkgver=3.1.9 -pkgrel=1 +pkgver=3.1.10 +pkgrel=0 pkgdesc="PostgreSQL adapter for python" options="!check" # Requires running database url="https://www.psycopg.org/" @@ -38,6 +38,6 @@ package() { } sha512sums=" -ee49b263283e5b8d9c72e70ab9a86e6b1a33ad30f0f8ae42a1da4d137b7e38e94f18a1ab8c502925fdce0616a9356fb75097e17123989369c958002570fffc43 psycopg-3.1.9.tar.gz -b7c69bd57e54893f4a9548fe66766634b97b8345740ab8570dd03d7e3f4c778db059dd705aaae9e0d701fd8dc21d6f3b7beeb30ddb61b0fea0b0642cfbe5d282 typing-ext.patch +9aad13a487e8b7e945a044d0b19e0e2cf14e87d3ffc6a03dd3fbf608886b056708fb700678f3d415ab1c19a8cb48a7a685729d0a3d43992beaae00f640b94669 psycopg-3.1.10.tar.gz +eea6e80ae5c15398425fbebd662eca480daa69cab217b1b15db096e5cf830192d4a9b2f1f6cbaf2e85871a5994beec7db41778242df9ef3766164165b253c9c1 typing-ext.patch " diff --git a/community/py3-psycopg/typing-ext.patch b/community/py3-psycopg/typing-ext.patch index 16091b6c432..fea257d3066 100644 --- a/community/py3-psycopg/typing-ext.patch +++ b/community/py3-psycopg/typing-ext.patch @@ -125,14 +125,14 @@ index 78ad577..a620da3 100644 from . import errors as e --- a/psycopg/errors.py +++ b/psycopg/errors.py -@@ -19,7 +19,7 @@ DBAPI-defined Exceptions are defined in the following hierarchy:: - # Copyright (C) 2020 The Psycopg Team - - from typing import Any, Dict, Optional, Sequence, Tuple, Type, Union +@@ -21,7 +21,7 @@ DBAPI-defined Exceptions are defined in + from dataclasses import dataclass, field, fields + from typing import Any, Callable, Dict, List, NoReturn, Optional, Sequence, Tuple, Type + from typing import Union, TYPE_CHECKING -from typing_extensions import TypeAlias +from typing import TypeAlias from asyncio import CancelledError - + from .pq.abc import PGconn, PGresult diff --git a/psycopg/pq/abc.py b/psycopg/pq/abc.py index 9c45f64..c28c57c 100644