Ensure SQLAlchemy 1.x used for hub

Fixes #846
This commit is contained in:
Pris Nasrat
2023-01-30 11:17:37 -05:00
parent 05e78d5740
commit a7774e55de
2 changed files with 3 additions and 0 deletions

View File

@@ -121,6 +121,7 @@ def ensure_jupyterhub_package(prefix):
conda.ensure_pip_packages(
prefix,
[
"SQLAlchemy<2.0.0",
"jupyterhub==1.*",
"jupyterhub-systemdspawner==0.16.*",
"jupyterhub-firstuseauthenticator==1.*",

View File

@@ -5,6 +5,8 @@
# the requirements-txt-fixer pre-commit hook that sorted them and made
# our integration tests fail.
#
# For JupyterHub 1.x SQLAlchemy below 2.0.0
SQLAlchemy<2.0.0
# JupyterHub + notebook package are base requirements for user environment
jupyterhub==1.*
notebook==6.*