Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pip install aiomysql # MySQL async
Some features pull in additional packages when used with the asyncio API:

- The async Federated Authentication and Okta Authentication plugins use [aiohttp](https://docs.aiohttp.org/) for their HTTP flows: `pip install aiohttp`.
- Async SQLAlchemy (`create_async_engine`) requires SQLAlchemy's asyncio support, which includes `greenlet`: `pip install "sqlalchemy[asyncio]"`.
- Async SQLAlchemy (`create_async_engine`) requires SQLAlchemy's asyncio support, which includes `greenlet`: `pip install "sqlalchemy[asyncio]>=2.0.49,<2.1"`. SQLAlchemy 2.1 is not supported yet.

### Asyncio on Windows

Expand Down
4 changes: 2 additions & 2 deletions docs/using-the-python-wrapper/SqlAlchemySupport.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The AWS Advanced Python Wrapper can be used as a PEP 249 DBAPI module with SQLAl
## Prerequisites

- Python 3.10 – 3.14 (inclusive)
- SQLAlchemy 2.x
- SQLAlchemy 2.0, version 2.0.49 or later (`pip install "sqlalchemy>=2.0.49,<2.1"`); SQLAlchemy 2.1 is not supported yet
- One of:
- [psycopg v3](https://www.psycopg.org/psycopg3/) for PostgreSQL
- [mysql-connector-python](https://dev.mysql.com/doc/connector-python/en/) for MySQL
Expand Down Expand Up @@ -194,7 +194,7 @@ The KMS Encryption Plugin works with synchronous engines only, and its guide's [
## Async usage

> [!NOTE]\
> Async engines require SQLAlchemy's asyncio support (`pip install "sqlalchemy[asyncio]"`, which includes `greenlet`), plus the async driver: Psycopg for PostgreSQL, [aiomysql](https://github.com/aio-libs/aiomysql) for MySQL.
> Async engines require SQLAlchemy's asyncio support (`pip install "sqlalchemy[asyncio]>=2.0.49,<2.1"`, which includes `greenlet`), plus the async driver: Psycopg for PostgreSQL, [aiomysql](https://github.com/aio-libs/aiomysql) for MySQL.

> [!IMPORTANT]\
> **On Windows**, select a selector event loop before running any async code, or every
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ flake8 = ">=7.3.0,<8"
flake8-type-checking = ">=3.2.0,<4.0"
isort = "^9.0.2"
pep8-naming = ">=0.15.1,<0.16.0"
SQLAlchemy = "^2.0.49"
SQLAlchemy = ">=2.0.49,<2.1"
psycopg = "^3.3.3"
psycopg-binary = "^3.3.3"
mysql-connector-python = "^9.7.0"
Expand Down