jupyter-server / jupyter-scheduler

Run Jupyter notebooks as jobs
https://jupyter-scheduler.readthedocs.io
BSD 3-Clause "New" or "Revised" License
200 stars 23 forks source link

Update to SQLAlchemy 2.x #521

Closed andrii-i closed 6 months ago

andrii-i commented 6 months ago

Jupyter Scheduler uses subset of SQLAlchemy functionality supported in both SQLAlchemy 1.x and 2.x.

Updating to SQLAlchemy 2.x would allow people who want to use Jupyter Scheduler and other packages that depend on SQLAlchemy 2.x in the same environment (for example, pandas) to do so.

For reference: SQLAlchemy 2.0 - Major Migration Guide .

Fixes #478. Will also fix a SQLAlchemy 1.x depreciation warning failing CI in #520: https://github.com/jupyter-server/jupyter-scheduler/actions/runs/9179340732/job/25241262049?pr=520#step:6:463

andrii-i commented 6 months ago

Thank you @JasonWeill, @srdas.