community/py3-psycopg: upgrade to 3.1.10

This commit is contained in:
omni 2023-08-06 12:38:33 +00:00 committed by Kevin Daudt
parent 94f418a29f
commit 2d014fd025
2 changed files with 9 additions and 9 deletions

View File

@ -1,8 +1,8 @@
# Contributor: omni <omni+alpine@hack.org>
# Maintainer: omni <omni+alpine@hack.org>
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
"

View File

@ -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