jdelic / django-dbconn-retry

Patches Django to reconnect on a failed database connection once before failing. Helping with running Django ORM through HAProxy, for example.
BSD 3-Clause "New" or "Revised" License
76 stars 25 forks source link

Bump psycopg2 from 2.7.3.2 to 2.9.3 #16

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps psycopg2 from 2.7.3.2 to 2.9.3.

Changelog

Sourced from psycopg2's changelog.

Current release

What's new in psycopg 2.9.3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • Alpine (musl) wheels now available (:ticket:[#1392](https://github.com/psycopg/psycopg2/issues/1392)).

What's new in psycopg 2.9.2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • Raise ValueError for dates >= Y10k (:ticket:[#1307](https://github.com/psycopg/psycopg2/issues/1307)).
  • ~psycopg2.errorcodes map and ~psycopg2.errors classes updated to PostgreSQL 14.
  • Add preliminary support for Python 3.11 (:tickets:[#1376](https://github.com/psycopg/psycopg2/issues/1376), [#1386](https://github.com/psycopg/psycopg2/issues/1386)).
  • Wheel package compiled against OpenSSL 1.1.1l and PostgreSQL 14.1 (:ticket:[#1388](https://github.com/psycopg/psycopg2/issues/1388)).

What's new in psycopg 2.9.1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^

Fix regression with named sql.Placeholder (:ticket:[#1291](https://github.com/psycopg/psycopg2/issues/1291)).

What's new in psycopg 2.9

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

Other changes:

  • Dropped support for Python 2.7, 3.4, 3.5 (:tickets:[#1198](https://github.com/psycopg/psycopg2/issues/1198), [#1000](https://github.com/psycopg/psycopg2/issues/1000), [#1197](https://github.com/psycopg/psycopg2/issues/1197)).
  • Dropped support for mx.DateTime.
  • Use datetime.timezone objects by default in datetime objects instead of ~psycopg2.tz.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

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)