Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
d91d5b45cd |
BIN
psycopg2-2.9.10.tar.gz
(Stored with Git LFS)
BIN
psycopg2-2.9.10.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
psycopg2-2.9.6.tar.gz
(Stored with Git LFS)
Normal file
BIN
psycopg2-2.9.6.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,47 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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>
|
Fri Apr 21 12:30:00 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-psycopg2
|
# spec file for package python-psycopg2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-psycopg2
|
Name: python-psycopg2
|
||||||
Version: 2.9.10
|
Version: 2.9.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python-PostgreSQL Database Adapter
|
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
|
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/
|
URL: http://initd.org/psycopg/
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/psycopg2/psycopg2-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/psycopg2/psycopg2-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel >= 3.7}
|
BuildRequires: %{python_module devel >= 3.6}
|
||||||
BuildRequires: %{python_module pip}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# newer postgresql packages pg_config in -server-devel
|
# newer postgresql packages pg_config in -server-devel
|
||||||
%if 0%{?sle_version} > 150100 || 0%{?suse_version} > 1500
|
%if 0%{?sle_version} > 150100 || 0%{?suse_version} > 1500
|
||||||
BuildRequires: postgresql-server-devel >= 15
|
BuildRequires: postgresql-server-devel >= 9.1
|
||||||
%else
|
%else
|
||||||
BuildRequires: postgresql-devel >= 15
|
BuildRequires: postgresql-devel >= 9.1
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
|
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
|
||||||
Suggests: postgresql-server
|
Suggests: postgresql-server
|
||||||
@@ -52,14 +52,14 @@ UPDATEs. psycopg2 also provide asychronous operations and support
|
|||||||
for coroutine libraries.
|
for coroutine libraries.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n psycopg2-%{version}
|
%setup -q -n psycopg2-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
%pyproject_wheel
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%python_install
|
||||||
%python_expand rm -rf %{buildroot}%{$python_sitearch}/psycopg2/tests # Don't package testsuite
|
%python_expand rm -rf %{buildroot}%{$python_sitearch}/psycopg2/tests # Don't package testsuite
|
||||||
%fdupes %{buildroot}/%{_mandir} # Create symlinks for man pages
|
%fdupes %{buildroot}/%{_mandir} # Create symlinks for man pages
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
@@ -72,6 +72,6 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc AUTHORS NEWS README.rst
|
%doc AUTHORS NEWS README.rst
|
||||||
%{python_sitearch}/psycopg2/
|
%{python_sitearch}/psycopg2/
|
||||||
%{python_sitearch}/psycopg2-%{version}.dist-info
|
%{python_sitearch}/psycopg2-%{version}-py%{python_version}.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user