Skip to main content

sqlalchemy-redshift Is Back: Reviving a Critical Piece of the Python Data Ecosystem

If you’ve ever connected to AWS Redshift from Python using SQLAlchemy, chances are you’ve used sqlalchemy-redshift. You may not have…

Updated 3 min readMarkdown
sqlalchemy-redshift Is Back: Reviving a Critical Piece of the Python Data Ecosystem

sqlalchemy-redshift Is Back: Reviving a Critical Piece of the Python Data Ecosystem

If you’ve ever connected to AWS Redshift from Python using SQLAlchemy, chances are you’ve used sqlalchemy-redshift. You may not have thought much about it — it’s one of those packages that just works in the background. That is, until it stops working.

For nearly three years, the project went quiet while the rest of the Python ecosystem moved on to SQLAlchemy 2.0, leaving sqlalchemy-redshift behind. I’ve taken full ownership of sqlalchemy-redshift, and this time around the project has the backing of the **OpenMetadata **engineering team to keep it maintained, stable, and up to date. With the release of v1.0.0, it’s back — sqlalchemy-redshift.

Why Does This Package Matter?

The package is downloaded on average ~6 million times on PyPI. Over 1,800 repositories and **149 packages **depend on sqlalchemy-redshift.

Critical data infrastructure projects rely on it. Apache Superset — the leading open-source BI platform with over 72k GitHub stars — lists sqlalchemy-redshift as the recommended way to connect to Redshift. We at OpenMetadata are using it. Great Expectations relies on it for data quality checks against Redshift warehouses, and it is used by MindsDB, Records, and Querybook by Pinterest — the list goes on.

When the package stalled in 2023 and SQLAlchemy released v2.0, many projects were affected. Apache Airflow removed sqlalchemy-redshift as a dependency in late 2024 because it couldn’t keep up with the SQLAlchemy 2.0 migration. Great Expectations and MindsDB ended up creating their own forks of the package just to get SQLAlchemy 2.0 support. For OpenMetadata, supporting SQLAlchemy 2.0 required sqlalchemy-redshift to also support SQLAlchemy 2.0. Taking over this project allowed us to unblock OpenMetadata and many other projects. This is illustrated by Sebastian Saavedra, a Software Engineer at ZeroFox, who said:

We depend on OpenMetadata’s lineage backend to track data assets correctly. OpenMetadata supporting SQLAlchemy 2 removes friction and makes upgrades much smoother on our side.

What Does 1.0.0 Deliver?

The v1.0.0 release is a major update focused on modernization:

  • SQLAlchemy 2.0 support — the dialect now requires SQLAlchemy 2.0+ and is fully compatible with its new APIs, including the updated reflection system, select() syntax, and multi-reflection behavior.
  • Python 3.10+ — dropped support for Python 3.9 and below, aligning with current ecosystem standards.
  • Codebase cleanup — removed the legacy redshift_sqlalchemy compatibility shim (a remnant from the project’s 2015 rename), replaced pkg_resources with importlib.metadata, and modernized the entire test suite. The migration touched 35 files with over 2,000 lines changed.

What’s Next?

Since v1.0.0 is a major upgrade, we’re starting from a clean slate — all existing issues and PRs will be closed. If any of them are still relevant under 1.0.0, you can reopen them. From here, we plan to actively develop new capabilities and keep the dialect current as both SQLAlchemy and Redshift continue to evolve.

If you use this package, upgrade to v1.0.0 and report any issues. Contributions are always welcome.

No comments yet. Be the first to comment.