# SQLAlchemy 2.1.0 drops greenlet by default, raises minimum Python to 3.11

Original title: SQLAlchemy 2.1.0 Released

> Hacker News story 50043030 · language: en · submitted 2026-10-11
> Web version: https://zeli.app/story/50043030
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 26 · by [kbumsik](<https://news.ycombinator.com/user?id=kbumsik>) · 💬 12
[original](<https://www.sqlalchemy.org/blog/2026/09/24/sqlalchemy-2.1.0-released/>) · [HN discussion](<https://news.ycombinator.com/item?id=50043030>)

## Summary

SQLAlchemy 2.1.0 is now the default pip install. The release removes the greenlet dependency from default installs, so asyncio users must use pip install sqlalchemy[asyncio]. It also switches default drivers for PostgreSQL and Oracle to psycopg and oracledb, and requires Python 3.11 or newer. New features include tstring() for dynamic bind parameters, CREATE VIEW and CREATE TABLE AS support, and a driver for Microsoft SQL Server.

## Key quote

> The greenlet dependency, used for all asyncio features, no longer installs by default.

## HN discussion (12 comments)

### [rcleveng](<https://news.ycombinator.com/item?id=50049016>)

> I'm super excited to get rid of all of my workarounds that add or remove `+psycopg` from the URLs depending on what I'm giving it to.

### [listenallyall](<https://news.ycombinator.com/item?id=50049108>)

> SQLAlchemy is the library that convinced me, 8 or 9 years ago, to avoid using Python altogether.* Cold turkey, hard stop. Thank you for the motivation.
>
> Not sure how they took something relatively straightforward - running database queries - and turned into such a convoluted mess.
>
> *Python is still pretty good for data analysis, plotting, and scripting. But not for building actual applications.

---

## Cite

- Page: https://zeli.app/story/50043030
- Date: 2026-10-11
- Source: sqlalchemy.org (https://www.sqlalchemy.org/blog/2026/09/24/sqlalchemy-2.1.0-released/)
- Hacker News: https://news.ycombinator.com/item?id=50043030

## Other languages

- zh: https://zeli.app/zh/story/50043030 · markdown: https://zeli.app/zh/story/50043030.md
- ja: https://zeli.app/ja/story/50043030 · markdown: https://zeli.app/ja/story/50043030.md
- ko: https://zeli.app/ko/story/50043030 · markdown: https://zeli.app/ko/story/50043030.md
- de: https://zeli.app/de/story/50043030 · markdown: https://zeli.app/de/story/50043030.md
- es: https://zeli.app/es/story/50043030 · markdown: https://zeli.app/es/story/50043030.md
- ru: https://zeli.app/ru/story/50043030 · markdown: https://zeli.app/ru/story/50043030.md
