diff --git a/psycopg2-2.8.6.tar.gz b/psycopg2-2.8.6.tar.gz deleted file mode 100644 index fb30462..0000000 --- a/psycopg2-2.8.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fb23f6c71107c37fd667cb4ea363ddeb936b348bbd6449278eb92c189699f543 -size 383797 diff --git a/psycopg2-2.9.1.tar.gz b/psycopg2-2.9.1.tar.gz new file mode 100644 index 0000000..04ae4d3 --- /dev/null +++ b/psycopg2-2.9.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de5303a6f1d0a7a34b9d40e4d3bef684ccc44a49bbe3eb85e3c0bffb4a131b7c +size 379972 diff --git a/python-psycopg2.changes b/python-psycopg2.changes index 4171623..eacd183 100644 --- a/python-psycopg2.changes +++ b/python-psycopg2.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Tue Oct 12 10:07:48 UTC 2021 - ecsos + +- Update to 2.9.1 + - Fix regression with named `sql.Placeholder` (:ticket:`1291`). +- Update to 2.9.0 + - ``with connection`` starts a transaction on autocommit transactions too + (:ticket:`#941`). + - Timezones with fractional minutes are supported on Python 3.7 and following + (:ticket:`#1272`). + - Escape table and column names in `~cursor.copy_from()` and `~cursor.copy_to()`. + - Connection exceptions with sqlstate ``08XXX`` reclassified as + `~psycopg2.OperationalError` (a subclass of the previously used + `~psycopg2.DatabaseError`) (:ticket:`#1148`). + - Include library dirs required from libpq to work around MacOS build problems + (:ticket:`#1200`). + - Dropped support for Python 2.7, 3.4, 3.5 (:ticket:`#1198, #1000, #1197`). + - Dropped support for mx.DateTime. + - Use `datetime.timezone` objects by default in datetime objects instead of + `~psycopg2.tz.FixedOffsetTimezone`. + - The `psycopg2.tz` module is deprecated and scheduled to be dropped in the + next major release. + - Provide :pep:`599` wheels packages (manylinux2014 tag) for i686 and x86_64 + platforms. + - Provide :pep:`600` wheels packages (manylinux_2_24 tag) for aarch64 and + ppc64le platforms. + - Wheel package compiled against OpenSSL 1.1.1k and PostgreSQL 13.3. + - Build system for Linux/MacOS binary packages moved to GitHub action. + ------------------------------------------------------------------- Wed Sep 16 21:18:19 UTC 2020 - Dirk Mueller diff --git a/python-psycopg2.spec b/python-psycopg2.spec index 73f5fd4..0cfb4c0 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -1,7 +1,7 @@ # # spec file for package python-psycopg2 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-psycopg2 -Version: 2.8.6 +Version: 2.9.1 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/ Source: https://files.pythonhosted.org/packages/source/p/psycopg2/psycopg2-%{version}.tar.gz -BuildRequires: %{python_module devel} +BuildRequires: %{python_module devel >= 3.6} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -64,7 +65,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" %check # tests require running PGSQL -#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m unittest discover +#%%python_expand PYTHONPATH=%%{buildroot}%%{$python_sitearch} $python -m unittest discover %files %{python_files} %license LICENSE