diff mbox series

[meta-oe,07/11] python3-psycopg: Upgrade 3.3.8 -> 3.3.9

Message ID 20261117224337.4181772-7-leon.anavi@konsulko.com
State New
Headers show
Series [meta-oe,01/11] cabextract: Upgrade 1.11 -> 1.12 | expand

Commit Message

Leon Anavi Nov. 17, 2026, 10:43 p.m. UTC
Upgrade to release 3.3.9:

- Use the C implementation of the wait functions on Windows too. It
  was disabled because of an excessive CPU usage, fixed in Psycopg
  3.2.11.
- Fix binary dumping of Int4Range and other typed ranges and
  multiranges.
- Fix dumping of Decimal 0 with large exponent.
- Close the connection if the query cancellation following a Ctrl-C
  or a task cancellation is interrupted again, instead of leaving
  it stuck in ACTIVE state.
- Limit the memory used by COPY FROM if the server consumes data
  slower than it is produced. Add a flush_threshold parameter to
  LibpqWriter to tune it.
- Don't wait on the event loop when the socket is already writable,
  which made pipeline mode, executemany() and write() on async
connections several times slower than on sync ones.
- Fix client-side quoting of negative zero floats and decimals,
  which could produce a -- SQL comment (ticket #1480).
- Raise DataError instead of ValueError registering a composite
  whose name or attributes are not valid namedtuple names, for
  instance Python keywords.
- Speed up the C implementation of the sync wait function, in
  particular when the connection doesn’t need to wait, for instance
  at every write().
- Dont replace the exception raised in a COPY block, for instance
  an interruption, with an error terminating the operation.
- Fix QueuedLibpqWriter hanging forever, instead of raising the
  error, if sending data to the server fails while its queue is
  full.
- Performance improvements to lists dumping.
- 2.5x faster UUID loading in the C implementation.
- Reduce the size of the binary packages by about 15 to 40%,
  depending on the platform.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../{python3-psycopg_3.3.8.bb => python3-psycopg_3.3.9.bb}      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-devtools/python/{python3-psycopg_3.3.8.bb => python3-psycopg_3.3.9.bb} (86%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/python/python3-psycopg_3.3.8.bb b/meta-oe/recipes-devtools/python/python3-psycopg_3.3.9.bb
similarity index 86%
rename from meta-oe/recipes-devtools/python/python3-psycopg_3.3.8.bb
rename to meta-oe/recipes-devtools/python/python3-psycopg_3.3.9.bb
index 40374466c3..5f3875251f 100644
--- a/meta-oe/recipes-devtools/python/python3-psycopg_3.3.8.bb
+++ b/meta-oe/recipes-devtools/python/python3-psycopg_3.3.9.bb
@@ -7,7 +7,7 @@  features offered by PostgreSQL."
 LICENSE = "LGPL-3.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404"
 
-SRC_URI[sha256sum] = "86c135a9a6f5e98404975c5787e620bf436a7807e088baebd1b20fa48d3b4b4f"
+SRC_URI[sha256sum] = "87c1d85c3e0e88e811d3c0b3808f947bd967c6faf34af6cd86fd021f77793d6c"
 
 inherit pypi python_setuptools_build_meta