Merge pull request #848 from pnasrat/fix-sqlalchemy-1_x

Ensure SQLAlchemy 1.x used for hub
This commit is contained in:
Erik Sundell
2023-02-06 22:28:48 +01:00
committed by GitHub
2 changed files with 3 additions and 0 deletions

View File

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

View File

@@ -5,6 +5,8 @@
# the requirements-txt-fixer pre-commit hook that sorted them and made # the requirements-txt-fixer pre-commit hook that sorted them and made
# our integration tests fail. # 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 + notebook package are base requirements for user environment
jupyterhub==1.* jupyterhub==1.*
notebook==6.* notebook==6.*