Skip to content

Commit d690ac8

Browse files
authored
Update to SQLAlchemy 2.x (#521)
* update sqlalchemy to 2.x * Add SQLAlchemy 2.x requirement warning to README and readthedocs * change JupyterLab 3 "will reach" to "reached" * Remove "anywhere on earth" as it's not a relevant information anymore
1 parent 7cf42f9 commit d690ac8

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ details.
1818
- JupyterLab 3.x (for Jupyter Scheduler 1.x)
1919

2020
> [!IMPORTANT]
21-
> JupyterLab 3 will reach its end of maintenance date on May 15, 2024, anywhere on Earth. As a result, we will not backport new features to the v1 branch supporting JupyterLab 3 after this date. Fixes for critical issues will still be backported until December 31, 2024. If you are still using JupyterLab 3, we strongly encourage you to **upgrade to JupyterLab 4 as soon as possible**. For more information, see [JupyterLab 3 end of maintenance](https://blog.jupyter.org/jupyterlab-3-end-of-maintenance-879778927db2) on the Jupyter Blog.
21+
> Starting with v2.7.0, Jupyter Scheduler requires SQLAlchemy 2.x instead of SQLAlchemy 1.x.
22+
23+
> [!IMPORTANT]
24+
> JupyterLab 3 reached its end of maintenance date on May 15, 2024. As a result, we will not backport new features to the v1 branch supporting JupyterLab 3 after this date. Fixes for critical issues will still be backported until December 31, 2024. If you are still using JupyterLab 3, we strongly encourage you to **upgrade to JupyterLab 4 as soon as possible**. For more information, see [JupyterLab 3 end of maintenance](https://blog.jupyter.org/jupyterlab-3-end-of-maintenance-879778927db2) on the Jupyter Blog.
2225
2326
## Install
2427

docs/users/index.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,14 @@ jupyter labextension list
2626
and checking that both the `jupyter_scheduler` server extension and the
2727
`@jupyterlab/scheduler` prebuilt lab extension are enabled.
2828

29+
:::{attention}
30+
:name: sqlalchemy-2.x-requirement
31+
Starting with v2.7.0, Jupyter Scheduler requires SQLAlchemy 2.x instead of SQLAlchemy 1.x.
32+
:::
33+
2934
:::{attention}
3035
:name: jupyter-lab-3-end-of-maintenance
31-
JupyterLab 3 will reach its end of maintenance date on May 15, 2024, anywhere on Earth. As a result, we will not backport new features to the v1 branch supporting JupyterLab 3 after this date. Fixes for critical issues will still be backported until December 31, 2024. If you are still using JupyterLab 3, we strongly encourage you to **upgrade to JupyterLab 4 as soon as possible**. For more information, see [JupyterLab 3 end of maintenance](https://blog.jupyter.org/jupyterlab-3-end-of-maintenance-879778927db2) on the Jupyter Blog.
36+
JupyterLab 3 reached its end of maintenance date on May 15, 2024. As a result, we will not backport new features to the v1 branch supporting JupyterLab 3 after this date. Fixes for critical issues will still be backported until December 31, 2024. If you are still using JupyterLab 3, we strongly encourage you to **upgrade to JupyterLab 4 as soon as possible**. For more information, see [JupyterLab 3 end of maintenance](https://blog.jupyter.org/jupyterlab-3-end-of-maintenance-879778927db2) on the Jupyter Blog.
3237
:::
3338

3439
## Use

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dependencies = [
3333
"traitlets~=5.0",
3434
"nbconvert~=7.0",
3535
"pydantic>=1.10,<3",
36-
"sqlalchemy~=1.0",
36+
"sqlalchemy>=2.0,<3",
3737
"croniter~=1.4",
3838
"pytz==2023.3",
3939
"fsspec==2023.6.0",

0 commit comments

Comments
 (0)