---
title: "psycopg 3.3.7 Breaking Changes on PyPI | Since.dev"
description: "What each psycopg release removed, renamed or changed: 443 breaking changes in 9 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/psycopg
last_updated: 2026-12-04
---

# psycopg breaking changes

psycopg 3.3.7 (November 3, 2026) is its newest release with breaking changes, 2 of them. The first: Signature changed psycopg.types.array.ArrayBinaryLoader.\_\_init\_\_. Every breaking API change we have recorded in psycopg on PyPI: 443 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.3.9`, released November 12, 2026. [Source repository](https://github.com/psycopg/psycopg)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [3.2.0](#v-3-2-0) to [3.3.7](#v-3-3-7): 103 breaking changes in 8 versions.

## psycopg 3.3.7 breaking changes

psycopg 3.3.7, released November 3, 2026: 2 breaking changes.

- **Signature changed** `psycopg.types.array.ArrayBinaryLoader.__init__`  

Was def \_\_init\_\_(self, oid: int, context: abc.AdaptContext | None = None); now def \_\_init\_\_(self, oid: int, context: AdaptContext | None = None). [pypi.org](https://pypi.org/project/psycopg/3.3.7/)
- **Signature changed** `psycopg.types.array.ArrayLoader.__init__`  

Was def \_\_init\_\_(self, oid: int, context: abc.AdaptContext | None = None); now def \_\_init\_\_(self, oid: int, context: AdaptContext | None = None). [pypi.org](https://pypi.org/project/psycopg/3.3.7/)

## psycopg 3.3.6 breaking changes

psycopg 3.3.6, released September 18, 2026: 10 breaking changes.

- **Signature changed** `psycopg.abc.WaitFunc.__call__`  

Was def \_\_call\_\_(self, gen: PQGen\[RV\], fileno: int, interval: float = ...) -> RV; now def \_\_call\_\_(self, gen: PQGen\[RV\], fileno: int, interval: float = ..., timeout: float | None = ...) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.3.6/)
- **Signature changed** `psycopg.Connection.wait`  

Was def wait(self, gen: PQGen\[RV\], interval: float = \_WAIT_INTERVAL) -> RV; now def wait(self, gen: PQGen\[RV\], interval: float = \_WAIT_INTERVAL, timeout: float | None = None) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.3.6/)
- **Signature changed** `psycopg.crdb.CrdbConnection.wait`  

Was def wait(self, gen: PQGen\[RV\], interval: float = \_WAIT_INTERVAL) -> RV; now def wait(self, gen: PQGen\[RV\], interval: float = \_WAIT_INTERVAL, timeout: float | None = None) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.3.6/)
- **Signature changed** `psycopg.waiting.wait_async`  

Was async def wait_async(gen: PQGen\[RV\], fileno: int, interval: float = 0.0) -> RV; now async def wait_async(gen: PQGen\[RV\], fileno: int, interval: float = 0.0, timeout: float | None = None) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.3.6/)
- **Signature changed** `psycopg.waiting.wait_conn`  

Was def wait_conn(gen: PQGenConn\[RV\], interval: float = 0.0) -> RV; now def wait_conn(gen: PQGenConn\[RV\], interval: float = 0.0, timeout: float | None = None) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.3.6/)
- **Signature changed** `psycopg.waiting.wait_conn_async`  

Was async def wait_conn_async(gen: PQGenConn\[RV\], interval: float = 0.0) -> RV; now async def wait_conn_async(gen: PQGenConn\[RV\], interval: float = 0.0, timeout: float | None = None) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.3.6/)
- **Signature changed** `psycopg.waiting.wait_epoll`  

Was def wait_epoll(gen: PQGen\[RV\], fileno: int, interval: float = 0.0) -> RV; now def wait_epoll(gen: PQGen\[RV\], fileno: int, interval: float = 0.0, timeout: float | None = None) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.3.6/)
- **Signature changed** `psycopg.waiting.wait_poll`  

Was def wait_poll(gen: PQGen\[RV\], fileno: int, interval: float = 0.0) -> RV; now def wait_poll(gen: PQGen\[RV\], fileno: int, interval: float = 0.0, timeout: float | None = None) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.3.6/)
- **Signature changed** `psycopg.waiting.wait_select`  

Was def wait_select(gen: PQGen\[RV\], fileno: int, interval: float = 0.0) -> RV; now def wait_select(gen: PQGen\[RV\], fileno: int, interval: float = 0.0, timeout: float | None = None) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.3.6/)
- **Signature changed** `psycopg.waiting.wait_selector`  

Was def wait_selector(gen: PQGen\[RV\], fileno: int, interval: float = 0.0) -> RV; now def wait_selector(gen: PQGen\[RV\], fileno: int, interval: float = 0.0, timeout: float | None = None) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.3.6/)

## psycopg 3.3.5 breaking changes

psycopg 3.3.5, released August 31, 2026: 3 breaking changes.

- **Signature changed** `psycopg.abc.Template.__iter__`  

Was def \_\_iter\_\_(self) -> Iterator\[str | Interpolation\]; now def \_\_iter\_\_(self) -> Iterator\[str | Interpolation\[Any\]\]. [pypi.org](https://pypi.org/project/psycopg/3.3.5/)
- **Signature changed** `psycopg.abc.Template.__new__`  

Was def \_\_new\_\_(cls, \*args: str | Interpolation) -> Self; now def \_\_new\_\_(cls, \*args: str | Interpolation\[Any\]) -> Self. [pypi.org](https://pypi.org/project/psycopg/3.3.5/)
- **Signature changed** `psycopg.abc.Template.interpolations`  

Was interpolations: tuple\[Interpolation\]; now interpolations: tuple\[Interpolation\[Any\]\]. [pypi.org](https://pypi.org/project/psycopg/3.3.5/)

## psycopg 3.3.4 breaking changes

psycopg 3.3.4, released May 1, 2026: 1 breaking change.

- **Signature changed** `psycopg.types.enum.EnumInfo.__init__`  

Was def \_\_init\_\_(self, name: str, oid: int, array_oid: int, labels: Sequence\[str\]); now def \_\_init\_\_(self, name: str, oid: int, array_oid: int, labels: Sequence\[str\], \*, regtype: str = ''). [pypi.org](https://pypi.org/project/psycopg/3.3.4/)

## psycopg 3.3.0 breaking changes

psycopg 3.3.0, released December 1, 2025: 51 breaking changes.

- **Removed** `psycopg.abc.TypeAlias`  

psycopg.abc.TypeAlias was removed in psycopg 3.3.0 [pypi.org](https://pypi.org/project/psycopg/3.3.0/)
- **Removed** `psycopg.connection_async.to_thread`  

psycopg.connection_async.to_thread was removed in psycopg 3.3.0 [pypi.org](https://pypi.org/project/psycopg/3.3.0/)
- **Removed** `psycopg.errors.TypeAlias`  

psycopg.errors.TypeAlias was removed in psycopg 3.3.0 [pypi.org](https://pypi.org/project/psycopg/3.3.0/)
- **Removed** `psycopg.errors.TypeGuard`  

psycopg.errors.TypeGuard was removed in psycopg 3.3.0 [pypi.org](https://pypi.org/project/psycopg/3.3.0/)
- **Removed** `psycopg.generators.Deque`  

psycopg.generators.Deque was removed in psycopg 3.3.0 [pypi.org](https://pypi.org/project/psycopg/3.3.0/)
- **Removed** `psycopg.pq.abc.TypeAlias`  

psycopg.pq.abc.TypeAlias was removed in psycopg 3.3.0 [pypi.org](https://pypi.org/project/psycopg/3.3.0/)
- **Removed** `psycopg.pq.misc.cache`  

psycopg.pq.misc.cache was removed in psycopg 3.3.0 [pypi.org](https://pypi.org/project/psycopg/3.3.0/)
- **Removed** `psycopg.raw_cursor.Composable`  

psycopg.raw_cursor.Composable was removed in psycopg 3.3.0 [pypi.org](https://pypi.org/project/psycopg/3.3.0/)
- **Removed** `psycopg.raw_cursor.Params`  

psycopg.raw_cursor.Params was removed in psycopg 3.3.0 [pypi.org](https://pypi.org/project/psycopg/3.3.0/)
- **Removed** `psycopg.raw_cursor.PostgresQuery`  

psycopg.raw_cursor.PostgresQuery was removed in psycopg 3.3.0 [pypi.org](https://pypi.org/project/psycopg/3.3.0/)

And 41 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## psycopg 3.2.11 breaking changes

psycopg 3.2.11, released October 18, 2025: 10 breaking changes.

- **Signature changed** `psycopg.abc.WaitFunc.__call__`  

Was def \_\_call\_\_(self, gen: PQGen\[RV\], fileno: int, interval: float | None = None) -> RV; now def \_\_call\_\_(self, gen: PQGen\[RV\], fileno: int, interval: float = ...) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.2.11/)
- **Signature changed** `psycopg.Connection.wait`  

Was def wait(self, gen: PQGen\[RV\], interval: float | None = \_WAIT_INTERVAL) -> RV; now def wait(self, gen: PQGen\[RV\], interval: float = \_WAIT_INTERVAL) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.2.11/)
- **Signature changed** `psycopg.crdb.CrdbConnection.wait`  

Was def wait(self, gen: PQGen\[RV\], interval: float | None = \_WAIT_INTERVAL) -> RV; now def wait(self, gen: PQGen\[RV\], interval: float = \_WAIT_INTERVAL) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.2.11/)
- **Signature changed** `psycopg.waiting.wait_async`  

Was async def wait_async(gen: PQGen\[RV\], fileno: int, interval: float | None = None) -> RV; now async def wait_async(gen: PQGen\[RV\], fileno: int, interval: float = 0.0) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.2.11/)
- **Signature changed** `psycopg.waiting.wait_conn`  

Was def wait_conn(gen: PQGenConn\[RV\], interval: float | None = None) -> RV; now def wait_conn(gen: PQGenConn\[RV\], interval: float = 0.0) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.2.11/)
- **Signature changed** `psycopg.waiting.wait_conn_async`  

Was async def wait_conn_async(gen: PQGenConn\[RV\], interval: float | None = None) -> RV; now async def wait_conn_async(gen: PQGenConn\[RV\], interval: float = 0.0) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.2.11/)
- **Signature changed** `psycopg.waiting.wait_epoll`  

Was def wait_epoll(gen: PQGen\[RV\], fileno: int, interval: float | None = None) -> RV; now def wait_epoll(gen: PQGen\[RV\], fileno: int, interval: float = 0.0) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.2.11/)
- **Signature changed** `psycopg.waiting.wait_poll`  

Was def wait_poll(gen: PQGen\[RV\], fileno: int, interval: float | None = None) -> RV; now def wait_poll(gen: PQGen\[RV\], fileno: int, interval: float = 0.0) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.2.11/)
- **Signature changed** `psycopg.waiting.wait_select`  

Was def wait_select(gen: PQGen\[RV\], fileno: int, interval: float | None = None) -> RV; now def wait_select(gen: PQGen\[RV\], fileno: int, interval: float = 0.0) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.2.11/)
- **Signature changed** `psycopg.waiting.wait_selector`  

Was def wait_selector(gen: PQGen\[RV\], fileno: int, interval: float | None = None) -> RV; now def wait_selector(gen: PQGen\[RV\], fileno: int, interval: float = 0.0) -> RV. [pypi.org](https://pypi.org/project/psycopg/3.2.11/)

## Older versions

3 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### psycopg 3.2.10 breaking changes

psycopg 3.2.10, released September 8, 2025: 24 breaking changes.

- **Removed** `psycopg.cursor_async.Pipeline.__enter__`  

Pipeline.\_\_enter\_\_ was removed in psycopg 3.2.10 [pypi.org](https://pypi.org/project/psycopg/3.2.10/)
- **Removed** `psycopg.cursor_async.Pipeline.__exit__`  

Pipeline.\_\_exit\_\_ was removed in psycopg 3.2.10 [pypi.org](https://pypi.org/project/psycopg/3.2.10/)

And 22 more in this version.

### psycopg 3.2.8 breaking changes

psycopg 3.2.8, released May 11, 2025: 2 breaking changes.

- **Removed** `psycopg.server_cursor`  

psycopg.server_cursor was removed in psycopg 3.2.8 [pypi.org](https://pypi.org/project/psycopg/3.2.8/)
- **Signature changed** `psycopg.abc.Transformer.load_row`  

Was def load_row(self, row: int, make_row: RowMaker\[Row\]) -> Row | None; now def load_row(self, row: int, make_row: RowMaker\[Row\]) -> Row. [pypi.org](https://pypi.org/project/psycopg/3.2.8/)

### psycopg 3.2.0 breaking changes

psycopg 3.2.0, released June 30, 2024: 340 breaking changes.

- **Removed** `psycopg.abc.BaseConnection.ConnStatus`  

psycopg.abc.BaseConnection.ConnStatus was removed in psycopg 3.2.0 [pypi.org](https://pypi.org/project/psycopg/3.2.0/)
- **Removed** `psycopg.abc.BaseConnection.TransactionStatus`  

psycopg.abc.BaseConnection.TransactionStatus was removed in psycopg 3.2.0 [pypi.org](https://pypi.org/project/psycopg/3.2.0/)

And 338 more in this version.

## Related packages

- [psycopg-pool](https://since.dev/packages/pypi/psycopg-pool.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
