Psycopg 2.9 released

Поиск
Список
Период
Сортировка
Искать

Psycopg 2.9 released

От:
Psycopg Development Team via PostgreSQL Announce <announce-noreply@postgresql.org>
Дата:
 

Psycopg 2.9 released

Psycopg 2.9 has been released!

This is a relatively small release compared to previous major releases. However the creation of the packages took a lot of effort. The previously used CI system now has reduced support for free software projects - it was decided that package building should be moved to GitHub Actions.

Packaging has also become more complex because of the evolution of the Python packaging standards and the need to support multiple architectures (Intel, ARM, PPC...).

Maintaining a project such as Psycopg requires a lot of effort. For this reason, we are extremely grateful to all our sponsors who are enabling the maintenance and development of Psycopg. Thank you very much! <3

What’s new in psycopg 2.9

  • "with connection" starts a transaction on autocommit transactions too (ticket #941).
  • Timezones with fractional minutes are supported on Python 3.7 and following (ticket #1272).
  • Escape table and column names in 'copy_from()' and 'copy_to()'.
  • Connection exceptions with sqlstate '08XXX' reclassified as 'OperationalError' (a subclass of the previously used 'DatabaseError') (ticket #1148).
  • Include library dirs required from libpq to work around MacOS build problems (ticket #1200).

Other changes:

  • Dropped support for Python 2.7, 3.4, 3.5 (ticket #1198, ticket #1000, ticket #1197).
  • Dropped support for mx.DateTime.
  • Use 'datetime.timezone' objects by default in 'datetime' objects instead of 'FixedOffsetTimezone'.
  • The 'psycopg2.tz' module is deprecated and scheduled to be dropped in the next major release.
  • Provide PEP 599 wheels packages ('manylinux2014' tag) for i686 and x86_64 platforms.
  • Provide PEP 600 wheels packages ('manylinux_2_24' tag) for aarch64 and ppc64le platforms.
  • Wheel package compiled against OpenSSL 1.1.1k and PostgreSQL 13.3.
  • Build system for Linux/MacOS binary packages moved to GitHub Actions.

Psycopg is the most popular PostgreSQL adapter for the Python programming language. At its core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.

This email was sent to you from Psycopg Development Team. It was delivered on their behalf by the PostgreSQL project. Any questions about the content of the message should be sent to Psycopg Development Team.

You were sent this email as a subscriber of the pgsql-announce mailinglist, for the content tag Related Open Source. To unsubscribe from further emails, or change which emails you want to receive, please click the personal unsubscribe link that you can find in the headers of this email, or visit https://lists.postgresql.org/unsubscribe/.
 
FAQ