Accepting request 1129668 from devel:languages:python

- update to 2.9.9:
  * Add support for Python 3.12.
  * Drop support for Python 3.6.
  * Wheel package bundled with PostgreSQL 16 libpq in order to
    add support for recent features, such as ``sslcertmode``.

OBS-URL: https://build.opensuse.org/request/show/1129668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psycopg2?expand=0&rev=45
This commit is contained in:
Ana Guerrero 2023-11-30 21:00:04 +00:00 committed by Git OBS Bridge
commit d0b27bcb21
4 changed files with 16 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f00cc35bd7119f1fed17b85bd1007855194dde2cbd8de01ab8ebb17487440ad8
size 383496

BIN
psycopg2-2.9.9.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Nov 28 21:39:17 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.9.9:
* Add support for Python 3.12.
* Drop support for Python 3.6.
* Wheel package bundled with PostgreSQL 16 libpq in order to
add support for recent features, such as ``sslcertmode``.
-------------------------------------------------------------------
Thu Sep 7 11:08:36 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -18,22 +18,22 @@
%{?sle15_python_module_pythons}
Name: python-psycopg2
Version: 2.9.7
Version: 2.9.9
Release: 0
Summary: Python-PostgreSQL Database Adapter
License: LGPL-3.0-or-later AND (LGPL-3.0-or-later OR ZPL-2.0) AND SUSE-GPL-2.0-with-openssl-exception
URL: https://www.psycopg.org/
Source: https://files.pythonhosted.org/packages/source/p/psycopg2/psycopg2-%{version}.tar.gz
BuildRequires: %{python_module devel >= 3.6}
BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# newer postgresql packages pg_config in -server-devel
%if 0%{?sle_version} > 150100 || 0%{?suse_version} > 1500
BuildRequires: postgresql-server-devel >= 9.1
BuildRequires: postgresql-server-devel >= 15
%else
BuildRequires: postgresql-devel >= 9.1
BuildRequires: postgresql-devel >= 15
%endif
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
Suggests: postgresql-server