---
title: "pyathena 5.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each pyathena release removed, renamed or changed: 226 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pyathena
last_updated: 2026-12-04
---

# pyathena breaking changes

pyathena 5.0.0 (December 4, 2026) is its newest release with breaking changes, 226 of them. The first: Removed pyathena.filesystem.s3_async.S3DeleteResult.raise_for_outcomes. Every breaking API change we have recorded in pyathena on PyPI: 226 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.0.0`, released December 4, 2026. [Source repository](https://github.com/pyathena-dev/PyAthena)

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

## pyathena 5.0.0 breaking changes

pyathena 5.0.0, released December 4, 2026: 226 breaking changes.

- **Removed** `pyathena.filesystem.s3_async.S3DeleteResult.raise_for_outcomes`  

S3DeleteResult.raise_for_outcomes was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.filesystem.s3_async.S3MapResult.outcomes`  

S3MapResult.outcomes was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.filesystem.s3_async.S3Path.has_version_id`  

S3Path.has_version_id was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.filesystem.s3_async.S3Path.partition_by_version`  

S3Path.partition_by_version was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.filesystem.s3_async.S3Path.split_trailing_separators`  

S3Path.split_trailing_separators was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.filesystem.s3_async.S3Path.split_version_id`  

S3Path.split_version_id was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.filesystem.s3_async.S3Path.version_separators`  

S3Path.version_separators was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.filesystem.s3_async.unstoppable_retries`  

pyathena.filesystem.s3_async.unstoppable_retries was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.filesystem.s3_cache.S3ListingCache.evict_parent_listing`  

S3ListingCache.evict_parent_listing was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.filesystem.s3_executor.S3MapResult.outcomes`  

S3MapResult.outcomes was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.filesystem.s3_filesystem`  

Code must import s3_filesystem from pyathena.fs instead of pyathena.filesystem. [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.filesystem.s3_object.S3DeleteResult.raise_for_outcomes`  

S3DeleteResult.raise_for_outcomes was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.filesystem.s3_path.S3Path.has_version_id`  

S3Path.has_version_id was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.filesystem.s3_path.S3Path.partition_by_version`  

S3Path.partition_by_version was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.filesystem.s3_path.S3Path.split_trailing_separators`  

S3Path.split_trailing_separators was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.filesystem.s3_path.S3Path.split_version_id`  

S3Path.split_version_id was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.filesystem.s3_path.S3Path.version_separators`  

S3Path.version_separators was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.filesystem.s3_writer.T`  

pyathena.filesystem.s3_writer.T was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.filesystem.s3.S3ListingCache.evict_parent_listing`  

S3ListingCache.evict_parent_listing was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.formatter.AthenaCompression`  

pyathena.formatter.AthenaCompression was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.formatter.AthenaFileFormat`  

Import AthenaFileFormat and AthenaCompression from pyathena.model instead. [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.sqlalchemy.array.AthenaMap`  

pyathena.sqlalchemy.array.AthenaMap was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.sqlalchemy.array.AthenaStruct`  

pyathena.sqlalchemy.array.AthenaStruct was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `pyathena.sqlalchemy.compiler.Connection`  

pyathena.sqlalchemy.compiler.Connection was removed in PyAthena 5.0.0 [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Removed** `S3Path.version_separators`  

S3Path.version_separators() and related version helpers are gone. [github.com](https://github.com/pyathena-dev/PyAthena/releases/tag/v5.0.0)
- **Renamed** `pyathena.connection.DefaultParameterFormatter`  

Use pyathena.engine.DefaultParameterFormatter instead. [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Renamed** `pyathena.filesystem.s3_async.S3CompleteMultipartUpload`  

Use pyathena.filesystem.s3.S3CompleteMultipartUpload instead. [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Renamed** `S3DeleteResult.raise_for_outcomes`  

No alias is kept, so callers must use raise_for_errors. [github.com](https://github.com/pyathena-dev/PyAthena/releases/tag/v5.0.0)
- **Renamed** `S3MapResult.outcomes`  

No alias is kept, so code reading outcomes must read results. [github.com](https://github.com/pyathena-dev/PyAthena/releases/tag/v5.0.0)
- **Behavior changed**  

Bound values are rendered into the statement now; exec_driver_sql and text() under global qmark must use the new placeholder forms. [github.com](https://github.com/pyathena-dev/PyAthena/releases/tag/v5.0.0)
- **Behavior changed** `cache_size`  

Executions are reused only when their engine matches the query's engine; executions reporting no engine are not reused. [github.com](https://github.com/pyathena-dev/PyAthena/releases/tag/v5.0.0)
- **Behavior changed** `connect`  

Without engine_version, each workgroup costs one GetWorkGroup call at the first query and needs athena:GetWorkGroup permission. [github.com](https://github.com/pyathena-dev/PyAthena/releases/tag/v5.0.0)
- **Behavior changed** `DefaultParameterFormatter`  

Strings are escaped per the engine that parses each statement, so existing escaped literals may render differently. [github.com](https://github.com/pyathena-dev/PyAthena/releases/tag/v5.0.0)
- **Behavior changed** `Interval`  

Declaring an Interval column in CREATE TABLE now raises CompileError; use Interval(native=False) to keep the old emulation. [github.com](https://github.com/pyathena-dev/PyAthena/releases/tag/v5.0.0)
- **Behavior changed** `Numeric`  

Inline Decimal values now render as DECIMAL literals on engine version 3, and user subclasses of Numeric use AthenaNumeric processors. [github.com](https://github.com/pyathena-dev/PyAthena/releases/tag/v5.0.0)
- **Behavior changed** `pyathena.paramstyle`  

An explicit paramstyle passed to execute() takes precedence over the global setting, so queries may format differently. [github.com](https://github.com/pyathena-dev/PyAthena/releases/tag/v5.0.0)
- **Behavior changed** `S3FileSystem.touch`  

touch now returns the full PutObject response including ResponseMetadata, and to_dict keys use field names such as etag. [github.com](https://github.com/pyathena-dev/PyAthena/releases/tag/v5.0.0)
- **Configuration changed**  

Install boto3 and botocore 1.44.17 or later; older versions are no longer supported. [github.com](https://github.com/pyathena-dev/PyAthena/releases/tag/v5.0.0)
- **Configuration changed**  

The sqlalchemy and aiosqlalchemy extras now need sqlalchemy 2.0.52 or later, and non-numeric Numeric parameters raise CompileError. [github.com](https://github.com/pyathena-dev/PyAthena/releases/tag/v5.0.0)
- **Signature changed** `_prepare_query`  

Subclasses overriding \_prepare_query must accept the paramstyle argument and the new engine argument. [github.com](https://github.com/pyathena-dev/PyAthena/releases/tag/v5.0.0)
- **Signature changed** `pyathena.aio.arrow.cursor.AioArrowCursor.__init__`  

Was def \_\_init\_\_(self, \*, s3_staging_dir: str | None = None, schema_name: str | None = None, catalog_name: str | None = None, work_group: str | None = None, poll_interval: float = 1, encryption_option: str | None = None, kms_key: str |... [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Signature changed** `pyathena.aio.arrow.cursor.AioArrowCursor.execute`  

Was async def execute(self, operation: str, parameters: dict\[str, Any\] | list\[str\] | None = None, \*, work_group: str | None = None, s3_staging_dir: str | None = None, cache_size: int | None = None, cache_expiration_time: int | None = None... [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Signature changed** `pyathena.aio.connection.AioCursor.execute`  

Was async def execute(self, operation: str, parameters: dict\[str, Any\] | list\[str\] | None = None, \*, work_group: str | None = None, s3_staging_dir: str | None = None, cache_size: int | None = None, cache_expiration_time: int | None = None... [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Signature changed** `pyathena.aio.cursor.AioCursor.execute`  

Was async def execute(self, operation: str, parameters: dict\[str, Any\] | list\[str\] | None = None, \*, work_group: str | None = None, s3_staging_dir: str | None = None, cache_size: int | None = None, cache_expiration_time: int | None = None... [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Signature changed** `pyathena.aio.cursor.AthenaAioResultSet.__init__`  

Was def \_\_init\_\_(self, connection: Connection\[Any\], converter: Converter, query_execution: AthenaQueryExecution, arraysize: int, retry_config: RetryConfig, result_set_type_hints: dict\[str | int, str\] | None = None) -> None; now def... [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Signature changed** `pyathena.aio.pandas.cursor.AioPandasCursor.execute`  

Was async def execute(self, operation: str, parameters: dict\[str, Any\] | list\[str\] | None = None, \*, work_group: str | None = None, s3_staging_dir: str | None = None, cache_size: int | None = None, cache_expiration_time: int | None = None... [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Signature changed** `pyathena.aio.polars.cursor.AioPolarsCursor.execute`  

Was async def execute(self, operation: str, parameters: dict\[str, Any\] | list\[str\] | None = None, \*, work_group: str | None = None, s3_staging_dir: str | None = None, cache_size: int | None = None, cache_expiration_time: int | None = None... [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Signature changed** `pyathena.aio.result_set.AthenaAioResultSet.__init__`  

Was def \_\_init\_\_(self, connection: Connection\[Any\], converter: Converter, query_execution: AthenaQueryExecution, arraysize: int, retry_config: RetryConfig, result_set_type_hints: dict\[str | int, str\] | None = None) -> None; now def... [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Signature changed** `pyathena.aio.s3fs.cursor.AioS3FSCursor.execute`  

Was async def execute(self, operation: str, parameters: dict\[str, Any\] | list\[str\] | None = None, \*, work_group: str | None = None, s3_staging_dir: str | None = None, cache_size: int | None = None, cache_expiration_time: int | None = None... [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)
- **Signature changed** `pyathena.arrow.async_cursor.AsyncArrowCursor.__init__`  

Was def \_\_init\_\_(self, \*, s3_staging_dir: str | None = None, schema_name: str | None = None, catalog_name: str | None = None, work_group: str | None = None, poll_interval: float = 1, encryption_option: str | None = None, kms_key: str |... [pypi.org](https://pypi.org/project/PyAthena/5.0.0/)

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

## 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.
