Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
e23f54caf2 |
BIN
psycopg2-2.9.10.tar.gz
(Stored with Git LFS)
Normal file
BIN
psycopg2-2.9.10.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
psycopg2-2.9.6.tar.gz
(Stored with Git LFS)
BIN
psycopg2-2.9.6.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,3 +1,47 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 10 12:25:48 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 2.9.10
|
||||
* Add support for Python 3.13.
|
||||
* Receive notifications on commit (ticket #1728).
|
||||
* Errorcodes map and errors classes updated to PostgreSQL 17.
|
||||
* Drop support for Python 3.7.
|
||||
- Drop support-python-313.patch, merged upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 29 05:08:18 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Drop patch py313-tests.patch, included in:
|
||||
- Add patch support-python-313.patch:
|
||||
* Support Python 3.13.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 28 21:56:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add py313-tests.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 3 10:10:03 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- require setuptools
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- update to 2.9.7:
|
||||
* Fix propagation of exceptions raised during module
|
||||
initialization
|
||||
* Fix building when pg_config returns an empty string
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:30:00 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-psycopg2
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,25 +16,25 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-psycopg2
|
||||
Version: 2.9.6
|
||||
Version: 2.9.10
|
||||
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: http://initd.org/psycopg/
|
||||
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 setuptools}
|
||||
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
|
||||
@@ -52,14 +52,14 @@ UPDATEs. psycopg2 also provide asychronous operations and support
|
||||
for coroutine libraries.
|
||||
|
||||
%prep
|
||||
%setup -q -n psycopg2-%{version}
|
||||
%autosetup -p1 -n psycopg2-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand rm -rf %{buildroot}%{$python_sitearch}/psycopg2/tests # Don't package testsuite
|
||||
%fdupes %{buildroot}/%{_mandir} # Create symlinks for man pages
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
@@ -72,6 +72,6 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%license LICENSE
|
||||
%doc AUTHORS NEWS README.rst
|
||||
%{python_sitearch}/psycopg2/
|
||||
%{python_sitearch}/psycopg2-%{version}-py%{python_version}.egg-info
|
||||
%{python_sitearch}/psycopg2-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user