From 7c062d5dd1643cfe5caf65a7b0e08b82555e00279f7d9029f6c35de01e3ca823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 4 Jun 2019 18:48:55 +0000 Subject: [PATCH] Accepting request 707666 from home:mcalabkova:branches:devel:languages:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to 2.8.3 * Added interval_status parameter to start_replication() method and other facilities to send automatic replication keepalives at periodic intervals * Fixed RealDictCursor when there are repeated columns * Fixed RealDictRow modifiability * Fixed “there’s no async cursor” error polling a connection with no cursor 2.8.0 * Added errors module. Every PostgreSQL error is converted into a specific exception class * Added encrypt_password() function * Added BYTES adapter to manage databases with mixed encodings on Python 3 * Added table_oid and table_column attributes on cursor.description items * Added connection.info object to retrieve various PostgreSQL connection information * str() on Range produces a human-readable representation * Fixed async communication blocking if results are returned in different chunks * Fixed adaptation of numeric subclasses such as IntEnum * Dropped support for Python 2.6, 3.2, 3.3. * Dropped deprecated register_tstz_w_secs() * Dropped deprecated PersistentConnectionPool. Use ZPsycopgDA.pool instead. * Binary packages no longer installed by default. The ‘psycopg2-binary’ package must be used explicitly. * Dropped PSYCOPG_DISPLAY_SIZE build parameter. OBS-URL: https://build.opensuse.org/request/show/707666 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=64 --- psycopg2-2.7.7.tar.gz | 3 --- psycopg2-2.8.2.tar.gz | 3 +++ python-psycopg2.changes | 33 +++++++++++++++++++++++++++++++++ python-psycopg2.spec | 3 ++- 4 files changed, 38 insertions(+), 4 deletions(-) delete mode 100644 psycopg2-2.7.7.tar.gz create mode 100644 psycopg2-2.8.2.tar.gz diff --git a/psycopg2-2.7.7.tar.gz b/psycopg2-2.7.7.tar.gz deleted file mode 100644 index 31edba3..0000000 --- a/psycopg2-2.7.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f4526d078aedd5187d0508aa5f9a01eae6a48a470ed678406da94b4cd6524b7e -size 427474 diff --git a/psycopg2-2.8.2.tar.gz b/psycopg2-2.8.2.tar.gz new file mode 100644 index 0000000..081e60a --- /dev/null +++ b/psycopg2-2.8.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5cacf21b6f813c239f100ef78a4132056f93a5940219ec25d2ef833cbeb05588 +size 368224 diff --git a/python-psycopg2.changes b/python-psycopg2.changes index 12eacba..0823b02 100644 --- a/python-psycopg2.changes +++ b/python-psycopg2.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Tue Jun 4 15:36:23 UTC 2019 - Marketa Calabkova + +- Update to 2.8.3 + * Added interval_status parameter to start_replication() method + and other facilities to send automatic replication keepalives + at periodic intervals + * Fixed RealDictCursor when there are repeated columns + * Fixed RealDictRow modifiability + * Fixed “there’s no async cursor” error polling a connection with + no cursor + 2.8.0 + * Added errors module. Every PostgreSQL error is converted into + a specific exception class + * Added encrypt_password() function + * Added BYTES adapter to manage databases with mixed encodings on + Python 3 + * Added table_oid and table_column attributes on cursor.description + items + * Added connection.info object to retrieve various PostgreSQL + connection information + * str() on Range produces a human-readable representation + * Fixed async communication blocking if results are returned in + different chunks + * Fixed adaptation of numeric subclasses such as IntEnum + * Dropped support for Python 2.6, 3.2, 3.3. + * Dropped deprecated register_tstz_w_secs() + * Dropped deprecated PersistentConnectionPool. Use + ZPsycopgDA.pool instead. + * Binary packages no longer installed by default. The + ‘psycopg2-binary’ package must be used explicitly. + * Dropped PSYCOPG_DISPLAY_SIZE build parameter. + ------------------------------------------------------------------- Tue Apr 2 16:43:30 UTC 2019 - Todd R diff --git a/python-psycopg2.spec b/python-psycopg2.spec index 05b42a6..43e185a 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-psycopg2 -Version: 2.7.7 +Version: 2.8.2 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 @@ -26,6 +26,7 @@ Group: Development/Languages/Python 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 setuptools} BuildRequires: fdupes BuildRequires: postgresql-devel >= 9.1 BuildRequires: python-rpm-macros