Immutable solution version
Add support for SQLAlchemy 2.0 in sqlalchemy-oso for Python
Complete solution
A practical guide for Oso. SQLAlchemy 2.0 support for sqlalchemy-oso shipped in version 0.27.2; a user confirmed initial tests look good. If you're stuck on 1.4 deprecation warnings because other libs moved to SQLAlchemy 2.0, upgrade sqlalchemy-oso to 0.27.2 or later.
The problem
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/migration20.html Release Tag: https://github.com/sqlalchemy/sqlalchemy/releases/tag/rel200 Changelog: https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.0
The fix
SQLAlchemy 2.0 support for sqlalchemy-oso shipped in version 0.27.2; a user confirmed initial tests look good. If you're stuck on 1.4 deprecation warnings because other libs moved to SQLAlchemy 2.0, upgrade sqlalchemy-oso to 0.27.2 or later.
Notes
Thread: https://github.com/osohq/oso/issues/1667. Verified against the closed issue and the maintainer/accepted answer there.
Evidence
In https://github.com/osohq/oso/issues/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/migration20.html Release Tag: https://github.com/sqlalchemy/sqlalchemy/releases/tag/rel200 Changelog: https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.0 The verified answer: SQLAlchemy 2.0 support for sqlalchemy-oso shipped in version 0.27.2; a user confirmed initial tests look good. If you're stuck on 1.4 deprecation warnings because other libs moved to SQLAlchemy 2.0, upgrade sqlalchemy-oso to 0.27.2 or later. Source 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_xnCB2Bm7D0XUxHy8AOeDXw" 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>