From 24437bbfce57591363daa25d45d67fe00672d284b43a7cbc0eda5b26ac6fbfff Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 31 Aug 2024 12:28:28 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=203.2.1:=20=20=20*=20Fix=20pack?= =?UTF-8?q?aging=20metadata=20breaking=20[c],=20[binary]=20dependencies=20?= =?UTF-8?q?=20=20*=20Add=20support=20for=20integer,=20floating=20point,=20?= =?UTF-8?q?boolean=20NumPy=20scalar=20=20=20=20=20types=20(ticket=20#332).?= =?UTF-8?q?=20=20=20*=20Add=20timeout=20and=20stop=5Fafter=20parameters=20?= =?UTF-8?q?to=20Connection.notifies()=20=20=20*=20Allow=20dumpers=20to=20r?= =?UTF-8?q?eturn=20None,=20to=20be=20converted=20to=20NULL=20(ticket=20=20?= =?UTF-8?q?=20*=20Add=20Raw=20query=20cursors=20to=20execute=20queries=20u?= =?UTF-8?q?sing=20placeholders=20in=20=20=20=20=20PostgreSQL=20format=20($?= =?UTF-8?q?1,=20$2=E2=80=A6)=20(tickets=20#560,=20#839).=20=20=20*=20Add?= =?UTF-8?q?=20capabilities=20object=20to=20inspect=20the=20libpq=20capabil?= =?UTF-8?q?ities=20=20=20*=20Add=20scalar=5Frow=20to=20return=20scalar=20v?= =?UTF-8?q?alues=20from=20a=20query=20=20=20*=20Add=20cancel=5Fsafe()=20fo?= =?UTF-8?q?r=20encrypted=20and=20non-blocking=20cancellation=20when=20=20?= =?UTF-8?q?=20=20=20using=20libpq=20v17.=20Use=20such=20method=20internall?= =?UTF-8?q?y=20to=20implement=20=20=20=20=20KeyboardInterrupt=20and=20copy?= =?UTF-8?q?=20termination=20=20=20*=20The=20context=20parameter=20of=20sql?= =?UTF-8?q?=20objects=20as=5Fstring()=20and=20as=5Fbytes()=20=20=20=20=20m?= =?UTF-8?q?ethods=20is=20now=20optional=20=20=20*=20Add=20set=5Fautocommit?= =?UTF-8?q?()=20on=20sync=20connections,=20and=20similar=20transaction=20?= =?UTF-8?q?=20=20=20=20control=20methods=20available=20on=20the=20async=20?= =?UTF-8?q?connections.=20=20=20*=20Add=20a=20size=20parameter=20to=20stre?= =?UTF-8?q?am()=20to=20enable=20results=20retrieval=20in=20=20=20=20=20chu?= =?UTF-8?q?nks=20instead=20of=20row-by-row=20-----------------------------?= =?UTF-8?q?-------------------------------------?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg-c?expand=0&rev=16 --- psycopg_c-3.1.19.tar.gz | 3 --- psycopg_c-3.2.1.tar.gz | 3 +++ python-psycopg-c.changes | 23 +++++++++++++++++++++++ python-psycopg-c.spec | 2 +- 4 files changed, 27 insertions(+), 4 deletions(-) delete mode 100644 psycopg_c-3.1.19.tar.gz create mode 100644 psycopg_c-3.2.1.tar.gz diff --git a/psycopg_c-3.1.19.tar.gz b/psycopg_c-3.1.19.tar.gz deleted file mode 100644 index 085aec7..0000000 --- a/psycopg_c-3.1.19.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8e90f53c430e7d661cb3a9298e2761847212ead1b24c5fb058fc9d0fd9616017 -size 562146 diff --git a/psycopg_c-3.2.1.tar.gz b/psycopg_c-3.2.1.tar.gz new file mode 100644 index 0000000..30ef407 --- /dev/null +++ b/psycopg_c-3.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d09943cc8a855c42c1e23b4298957b7ce8f27bf3683258c52fd139f601f7cda +size 598194 diff --git a/python-psycopg-c.changes b/python-psycopg-c.changes index 1f316ac..730bbb0 100644 --- a/python-psycopg-c.changes +++ b/python-psycopg-c.changes @@ -1,4 +1,27 @@ ------------------------------------------------------------------- +Sat Aug 31 12:26:21 UTC 2024 - Dirk Müller + +- update to 3.2.1: + * Fix packaging metadata breaking [c], [binary] dependencies + * Add support for integer, floating point, boolean NumPy scalar + types (ticket #332). + * Add timeout and stop_after parameters to Connection.notifies() + * Allow dumpers to return None, to be converted to NULL (ticket + * Add Raw query cursors to execute queries using placeholders in + PostgreSQL format ($1, $2…) (tickets #560, #839). + * Add capabilities object to inspect the libpq capabilities + * Add scalar_row to return scalar values from a query + * Add cancel_safe() for encrypted and non-blocking cancellation when + using libpq v17. Use such method internally to implement + KeyboardInterrupt and copy termination + * The context parameter of sql objects as_string() and as_bytes() + methods is now optional + * Add set_autocommit() on sync connections, and similar transaction + control methods available on the async connections. + * Add a size parameter to stream() to enable results retrieval in + chunks instead of row-by-row + +------------------------------------------------------------------ Thu May 16 08:37:46 UTC 2024 - Dirk Müller - update to 3.1.19: diff --git a/python-psycopg-c.spec b/python-psycopg-c.spec index fce132e..2f4399d 100644 --- a/python-psycopg-c.spec +++ b/python-psycopg-c.spec @@ -19,7 +19,7 @@ %{?sle15_python_module_pythons} Name: python-psycopg-c # This needs to upgraded in lockstep with python-psycopg -Version: 3.1.19 +Version: 3.2.1 Release: 0 Summary: PostgreSQL database adapter for Python -- C optimisation distribution License: LGPL-3.0-only