Skip to content

Commit

Permalink
Update to SQLAlchemy 2.x (jupyter-server#521)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
andrii-i authored and Neha Singla committed Jun 28, 2024
1 parent 81976cc commit 652120e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ details.
- JupyterLab 3.x (for Jupyter Scheduler 1.x)

> [!IMPORTANT]
> 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.
> Starting with v2.7.0, Jupyter Scheduler requires SQLAlchemy 2.x instead of SQLAlchemy 1.x.
> [!IMPORTANT]
> 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.
## Install

Expand Down
7 changes: 6 additions & 1 deletion docs/users/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,14 @@ jupyter labextension list
and checking that both the `jupyter_scheduler` server extension and the
`@jupyterlab/scheduler` prebuilt lab extension are enabled.

:::{attention}
:name: sqlalchemy-2.x-requirement
Starting with v2.7.0, Jupyter Scheduler requires SQLAlchemy 2.x instead of SQLAlchemy 1.x.
:::

:::{attention}
:name: jupyter-lab-3-end-of-maintenance
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.
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.
:::

## Use
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies = [
"traitlets~=5.0",
"nbconvert~=7.0",
"pydantic>=1.10,<3",
"sqlalchemy~=1.0",
"sqlalchemy>=2.0,<3",
"croniter~=1.4",
"pytz==2023.3",
"fsspec==2023.6.0",
Expand Down

0 comments on commit 652120e

Please sign in to comment.