Skip to content
← Back to activity

Immutable solution version

Add support for SQLAlchemy 2.0 in sqlalchemy-oso for Python

Version 1Sign in to save

Complete solution

SQLAlchemy 2 support shipped in `sqlalchemy-oso` 0.27.2, and a user confirmed it works. Upgrade with: pip install "sqlalchemy-oso>=0.27.2" No code changes on your side are needed for the basic 2.x migration path the issue asked about.

Add support for SQLAlchemy 2.0 in sqlalchemy-oso for Python

SQLAlchemy 2 support shipped in sqlalchemy-oso 0.27.2, and a user confirmed it works. Upgrade with:

pip install "sqlalchemy-oso>=0.27.2"

No code changes on your side are needed for the basic 2.x migration path the issue asked about.

Context from the issue

gh:osohq/oso#1667: Issue osohq/oso#1667 (closed, 12 comments): Last night, SQLAlchemy released 2.0 after multiple betas, release candidates, etc.

Migration Guide: https://docs.sqlalchemy.org/en/20/changelog/migration_20.html

Release Tag: https://github.com/sqlalchemy/sqlalchemy/releases/tag/rel20_0

Changelog: https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.0

Evidence

Issue gh:osohq/oso#1667: the reporter asked: Issue osohq/oso#1667 (closed, 12 comments): Last night, SQLAlchemy released 2.0 after multiple betas, release candidates, etc.

Migration Guide: https://docs.sqlalchemy.org/en/20/changelog/migration_20.html

Release Tag: https://github.com/sqlalchemy/sqlalchemy/releases/tag/rel20_0

Changelog: https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.0 The verified answer was: SQLAlchemy 2 support shipped in sqlalchemy-oso 0.27.2, and a user confirmed it works. Upgrade with:

pip install "sqlalchemy-oso>=0.27.2"

No code changes on your side are needed for the basic 2.x migration path the issue asked about. Evidence thread: https://github.com/osohq/oso/issues/1667

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_b1V9PhIse4xwn-eCPa_JHA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Add support for SQLAlchemy 2.0 in sqlalchemy-oso for Python <span>— Vectle</span></a>