Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 4f659ba905 | |||
| bc09642509 | |||
| 1369f9e6ba | |||
| 1de01d20b5 | |||
| be13944f02 | |||
| 5eb21238f8 | |||
| 42367063b0 | |||
| 1247e08f71 |
@@ -1,13 +0,0 @@
|
|||||||
Index: psycopg-3.1.17/tests/pool/test_sched_async.py
|
|
||||||
===================================================================
|
|
||||||
--- psycopg-3.1.17.orig/tests/pool/test_sched_async.py
|
|
||||||
+++ psycopg-3.1.17/tests/pool/test_sched_async.py
|
|
||||||
@@ -8,7 +8,7 @@ import pytest
|
|
||||||
from psycopg._compat import create_task
|
|
||||||
|
|
||||||
try:
|
|
||||||
- from psycopg_pool.sched import AsyncScheduler
|
|
||||||
+ from psycopg_pool.sched_async import AsyncScheduler
|
|
||||||
except ImportError:
|
|
||||||
# Tests should have been skipped if the package is not available
|
|
||||||
pass
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9c16da4e33b5721fa3ac04368da6e3bc08cb2f1141c1ea1717f50a18aeac1525
|
|
||||||
size 507073
|
|
||||||
3
psycopg-3.2.9.tar.gz
Normal file
3
psycopg-3.2.9.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2d32c406f1b8e628e0eafd8608b452872bd67576d9d269e25ffbcd4ebacae085
|
||||||
|
size 565735
|
||||||
@@ -1,3 +1,87 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 29 09:46:59 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:50:45 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:
|
||||||
|
* 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).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 12 16:27:40 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.2.3:
|
||||||
|
* Release binary packages including PostgreSQL 17 libpq
|
||||||
|
(:ticket:`#852`).
|
||||||
|
* 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
|
||||||
|
- drop fix-pool-import.patch (upstream)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 16 08:40:25 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Thu May 16 08:40:25 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-psycopg
|
# spec file for package python-psycopg
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 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
|
||||||
@@ -19,14 +19,12 @@
|
|||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-psycopg
|
Name: python-psycopg
|
||||||
# This needs to upgraded in lockstep with python-psycopg-c
|
# This needs to upgraded in lockstep with python-psycopg-c
|
||||||
Version: 3.1.19
|
Version: 3.2.9
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: PostgreSQL database adapter for Python
|
Summary: PostgreSQL database adapter for Python
|
||||||
License: LGPL-3.0-only
|
License: LGPL-3.0-only
|
||||||
URL: https://psycopg.org/psycopg3/
|
URL: https://psycopg.org/psycopg3/
|
||||||
Source: https://github.com/psycopg/psycopg/archive/refs/tags/%{version}.tar.gz#/psycopg-%{version}.tar.gz
|
Source: https://github.com/psycopg/psycopg/archive/refs/tags/%{version}.tar.gz#/psycopg-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM One small part of gh#psycopg/psycopg#c3d303d8b3b642ad45b053096e3f8e4111012600.patch
|
|
||||||
Patch0: fix-pool-import.patch
|
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools >= 49.2.0}
|
BuildRequires: %{python_module setuptools >= 49.2.0}
|
||||||
BuildRequires: %{python_module wheel >= 0.37}
|
BuildRequires: %{python_module wheel >= 0.37}
|
||||||
|
|||||||
Reference in New Issue
Block a user