14
0

12 Commits

Author SHA256 Message Date
bc09642509 - 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?expand=0&rev=20
2025-05-30 09:13:13 +00:00
1de01d20b5 Accepting request 1268046 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/1268046
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg?expand=0&rev=18
2025-04-09 08:55:01 +00:00
5eb21238f8 - update to 3.2.3:
* Release binary packages including PostgreSQL 17 libpq
    (🎫`#852`).
  * Drop !TypeDef specifications as string from public modules,
    as they cannot be composed by users as !typing objects
    previously could (🎫`#860`).
  * Release Python 3.13 binary packages.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg?expand=0&rev=16
2024-11-12 16:27:45 +00:00
1247e08f71 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg?expand=0&rev=14
2024-08-31 12:41:43 +00:00
e6683b10d3 - update to 3.1.19:
* Fix unaligned access undefined behaviour in C extension
  * Fix excessive stripping of error message prefixes
  * Allow to specify the connect_timeout connection parameter as
    float
  * Improve COPY performance on macOS

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg?expand=0&rev=12
2024-05-16 08:40:44 +00:00
cb1bfac0ed - update to 3.1.18:
* Fix possible deadlock on pipeline exit (🎫`#685`).
  * Fix overflow loading large intervals in C module
  * Fix compatibility with musl libc distributions affected by
    CPython issue #65821

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg?expand=0&rev=10
2024-03-21 17:16:05 +00:00
87a8c68c47 Accepting request 1138840 from home:alarrosa:branches:devel:languages:python
- Use %sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1138840
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg?expand=0&rev=8
2024-01-15 14:04:07 +00:00
62da2d1111 - Update to 3.1.17:
* Fix multiple connection attempts when a host name resolve to multiple
    IP addresses (🎫`699`).
  * Use `typing.Self` as a more correct return value annotation of context
    managers and other self-returning methods (see 🎫`708`).
- Add patch fix-pool-import.patch:
  * Correct where we are importing from due to new pool release.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg?expand=0&rev=7
2024-01-15 05:04:45 +00:00
153330e5d3 - update to 3.1.16:
* Fix empty ports handling in async multiple connection attempts

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg?expand=0&rev=6
2024-01-05 17:51:23 +00:00
ce5b3b34c5 - update to 3.1.15:
* Fix use of ``service`` in connection string (regression in
    3.1.13, 🎫`#694`).
  * Fix async connection to hosts resolving to multiple IP
    addresses (regression in 3.1.13, 🎫`#695`).
  * Respect the :envvar:`PGCONNECT_TIMEOUT` environment variable
    to determine the connection timeout.
  * Fix :ref:`interaction with gevent <gevent>` (🎫`#527`).
  * Add support for PyPy (🎫`#686`).
- Initial release of 3.1.9

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg?expand=0&rev=5
2023-12-14 21:12:16 +00:00
483f49d3e3 Accepting request 1128589 from home:alarrosa:branches:devel:languages:python
- Update to 3.1.13:
  * Raise DataError instead of whatever internal failure trying to
    dump a time object with with a tzinfo specified as ZoneInfo
    (ambiguous offset, see ticket #652).
  * Handle gracefully EINTR on signals instead of raising
    InterruptedError, consistently with PEP 475 guideline
    (ticket #667).
  * Fix support for connection strings with multiple hosts/ports
    and for the load_balance_hosts connection parameter
    (ticket #674).
  * Fix memory leak receiving notifications in Python
    implementation (ticket #679).
- Update to 3.1.12:
  * Fix possible hanging if a connection is closed while querying
    (ticket #608).
  * Fix memory leak when register_*() functions are called
    repeatedly (ticket #647).
  * Release Python 3.12 binary packages.
- Update to 3.1.11:
  * Avoid caching the parsing results of large queries to avoid
    excessive memory usage (ticket #628).
  * Fix integer overflow in C/binary extension with OID > 2^31
    (ticket #630).
  * Fix loading of intervals with days and months or years
    (ticket #643).
  * Work around excessive CPU usage on Windows (reported in
    ticket #645).
  * Fix building on Solaris and derivatives (ticket #632).
  * Fix possible lack of critical section guard in
    async executemany().

OBS-URL: https://build.opensuse.org/request/show/1128589
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg?expand=0&rev=3
2023-11-24 14:10:27 +00:00
4b08399cf7 - Initial release of 3.1.9
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg?expand=0&rev=1
2023-07-12 05:45:28 +00:00