14
0

- Update to 3.1.17:

* Fix multiple connection attempts when a host name resolve to multiple
    IP addresses (🎫`699`).
  * Use `typing.Self` as a more correct return value annotation of context
    managers and other self-returning methods (see 🎫`708`).
- Add patch fix-pool-import.patch:
  * Correct where we are importing from due to new pool release.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg?expand=0&rev=7
This commit is contained in:
2024-01-15 05:04:45 +00:00
committed by Git OBS Bridge
parent 153330e5d3
commit 62da2d1111
5 changed files with 30 additions and 4 deletions

View File

@@ -18,12 +18,14 @@
Name: python-psycopg
# This needs to upgraded in lockstep with python-psycopg-c
Version: 3.1.16
Version: 3.1.17
Release: 0
Summary: PostgreSQL database adapter for Python
License: LGPL-3.0-only
URL: https://psycopg.org/psycopg3/
Source: https://github.com/psycopg/psycopg/archive/refs/tags/%{version}.tar.gz#/psycopg-%{version}.tar.gz
# PATCH-FIX-UPSTREAM One small part of gh#psycopg/psycopg#c3d303d8b3b642ad45b053096e3f8e4111012600.patch
Patch0: fix-pool-import.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 49.2.0}
BuildRequires: %{python_module wheel >= 0.37}