17
0

Compare commits

9 Commits

Author SHA256 Message Date
9d319f8f2f Accepting request 1281099 from devel:languages:python
- update to 3.2.9:
  * Fix `DateFromTicks` and `TimeFromTicks` return values to return
    a date and a time referred to the UTC timezone rather than to
    the local timezone. For consistency, `TimestampFromTicks` to
    return a datetime in UTC rather than in the local timezone
  * Fix `~Cursor.rownumber` after using  `~AsyncServerCursor.scroll()`
    on `AsyncServerCursor` (🎫`#1066`).
  * Fix interval parsing with days or other parts and negative time
    in C module
  * Don't process further connection attempts after Ctrl-C
  * Fix cursors to correctly iterate over rows even if their row
    factory returns `None` (🎫`#1073`).
  * Fix `ConnectionInfo.port` when the port is specified as an
    empty string
  * Report all the attempts error messages in the exception raised
    for a connection failure (🎫`#1069`).
  * Improve logging on connection (🎫`#1085`).
  * Add support for PostgreSQL 18 libpq (🎫`#1082`).
  * Add SRID support to shapely dumpers/loaders (🎫`#1028`).
  * Add support for binary hstore (🎫`#1030`).

OBS-URL: https://build.opensuse.org/request/show/1281099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psycopg-c?expand=0&rev=10
2025-05-30 12:37:29 +00:00
904895bbee OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg-c?expand=0&rev=23 2025-05-29 09:47:02 +00:00
1c5f582b64 - update to 3.2.9:
* Fix `DateFromTicks` and `TimeFromTicks` return values to return
    a date and a time referred to the UTC timezone rather than to
    the local timezone. For consistency, `TimestampFromTicks` to
    return a datetime in UTC rather than in the local timezone
  * Fix `~Cursor.rownumber` after using  `~AsyncServerCursor.scroll()`
    on `AsyncServerCursor` (🎫`#1066`).
  * Fix interval parsing with days or other parts and negative time
    in C module
  * Don't process further connection attempts after Ctrl-C
  * Fix cursors to correctly iterate over rows even if their row
    factory returns `None` (🎫`#1073`).
  * Fix `ConnectionInfo.port` when the port is specified as an
    empty string
  * Report all the attempts error messages in the exception raised
    for a connection failure (🎫`#1069`).
  * Improve logging on connection (🎫`#1085`).
  * Add support for PostgreSQL 18 libpq (🎫`#1082`).
  * Add SRID support to shapely dumpers/loaders (🎫`#1028`).
  * Add support for binary hstore (🎫`#1030`).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg-c?expand=0&rev=22
2025-05-29 09:46:43 +00:00
99bee63eb7 Accepting request 1268071 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1268071
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psycopg-c?expand=0&rev=9
2025-04-10 19:58:35 +00:00
b2544df1a8 Accepting request 1268045 from home:alarrosa:branches:devel:languages:python
- update to 3.2.6:
  * Fix connection semantic when using
    target_session_attrs=prefer-standby (ticket #1021).
- update to 3.2.5:
  * 3x faster UUID loading thanks to C implementation
    (tickets #447, #998).
- update to 3.2.4:
  * Don’t lose notifies received whilst the notifies() iterator
    is not running (ticket #962).
  * Make sure that the notifies callback is called during the use
    of the notifies() generator (ticket #972).
  * Raise the correct error returned by the database (such as
    AdminShutdown or IdleInTransactionSessionTimeout) instead of
    a generic OperationalError when a server error causes a client
    disconnection (ticket #988).
  * Build macOS dependencies from sources instead using the
    Homebrew versions in order to avoid problems with
    MACOSX_DEPLOYMENT_TARGET (ticket #858).
  * Bump libpq to 17.2 in Linux and macOS binary packages.
  * Bump libpq to 16.4 in Windows binary packages, using the
    vcpkg library (ticket #966).

OBS-URL: https://build.opensuse.org/request/show/1268045
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg-c?expand=0&rev=20
2025-04-09 08:54:54 +00:00
3c562adea1 Accepting request 1223751 from devel:languages:python
- update to 3.2.3:
  * Release binary packages including PostgreSQL 17 libpq
  * Drop TypeDef specifications as string from public modules, as
    they cannot be composed by users as typing objects previously
    could (ticket #860).
  * Release Python 3.13 binary packages.

OBS-URL: https://build.opensuse.org/request/show/1223751
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psycopg-c?expand=0&rev=8
2024-11-13 14:28:19 +00:00
ae57a9507d - update to 3.2.3:
* Release binary packages including PostgreSQL 17 libpq
  * Drop TypeDef specifications as string from public modules, as
    they cannot be composed by users as typing objects previously
    could (ticket #860).
  * Release Python 3.13 binary packages.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg-c?expand=0&rev=18
2024-11-12 16:30:37 +00:00
9de4107413 Accepting request 1198068 from devel:languages:python
- 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
------------------------------------------------------------------

OBS-URL: https://build.opensuse.org/request/show/1198068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psycopg-c?expand=0&rev=7
2024-09-02 11:14:33 +00:00
24437bbfce - 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
------------------------------------------------------------------

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg-c?expand=0&rev=16
2024-08-31 12:28:28 +00:00
4 changed files with 88 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8e90f53c430e7d661cb3a9298e2761847212ead1b24c5fb058fc9d0fd9616017
size 562146

3
psycopg_c-3.2.9.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c9f654f20c6c56bddc4543a3caab236741ee94b6732ab7090b95605502210e2
size 609538

View File

@@ -1,4 +1,86 @@
-------------------------------------------------------------------
Thu May 29 09:44:26 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 3.2.9:
* Fix `DateFromTicks` and `TimeFromTicks` return values to return
a date and a time referred to the UTC timezone rather than to
the local timezone. For consistency, `TimestampFromTicks` to
return a datetime in UTC rather than in the local timezone
* Fix `~Cursor.rownumber` after using `~AsyncServerCursor.scroll()`
on `AsyncServerCursor` (:ticket:`#1066`).
* Fix interval parsing with days or other parts and negative time
in C module
* Don't process further connection attempts after Ctrl-C
* Fix cursors to correctly iterate over rows even if their row
factory returns `None` (:ticket:`#1073`).
* Fix `ConnectionInfo.port` when the port is specified as an
empty string
* Report all the attempts error messages in the exception raised
for a connection failure (:ticket:`#1069`).
* Improve logging on connection (:ticket:`#1085`).
* Add support for PostgreSQL 18 libpq (:ticket:`#1082`).
* Add SRID support to shapely dumpers/loaders (:ticket:`#1028`).
* Add support for binary hstore (:ticket:`#1030`).
-------------------------------------------------------------------
Wed Apr 9 06:53:27 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
- update to 3.2.6:
* Fix connection semantic when using
target_session_attrs=prefer-standby (ticket #1021).
- update to 3.2.5:
* 3x faster UUID loading thanks to C implementation
(tickets #447, #998).
- update to 3.2.4:
* Dont lose notifies received whilst the notifies() iterator
is not running (ticket #962).
* Make sure that the notifies callback is called during the use
of the notifies() generator (ticket #972).
* Raise the correct error returned by the database (such as
AdminShutdown or IdleInTransactionSessionTimeout) instead of
a generic OperationalError when a server error causes a client
disconnection (ticket #988).
* Build macOS dependencies from sources instead using the
Homebrew versions in order to avoid problems with
MACOSX_DEPLOYMENT_TARGET (ticket #858).
* Bump libpq to 17.2 in Linux and macOS binary packages.
* Bump libpq to 16.4 in Windows binary packages, using the
vcpkg library (ticket #966).
-------------------------------------------------------------------
Tue Nov 12 16:28:30 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.2.3:
* Release binary packages including PostgreSQL 17 libpq
* Drop TypeDef specifications as string from public modules, as
they cannot be composed by users as typing objects previously
could (ticket #860).
* Release Python 3.13 binary packages.
-------------------------------------------------------------------
Sat Aug 31 12:26:21 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>
- update to 3.1.19:

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-psycopg-c
#
# Copyright (c) 2024 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
@@ -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.9
Release: 0
Summary: PostgreSQL database adapter for Python -- C optimisation distribution
License: LGPL-3.0-only
@@ -32,7 +32,7 @@ BuildRequires: %{python_module tomli >= 2.0.1}
BuildRequires: %{python_module wheel >= 0.37}
BuildRequires: fdupes
BuildRequires: gcc
BuildRequires: postgresql15-server-devel
BuildRequires: postgresql17-server-devel
BuildRequires: python-rpm-macros
%python_subpackages