mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Merge pull request #39 from yuvipanda/all-pip
Install all python packages in hub environment with pip
This commit is contained in:
@@ -62,12 +62,15 @@ def ensure_jupyterhub_package(prefix):
|
|||||||
"""
|
"""
|
||||||
Install JupyterHub into our conda environment if needed.
|
Install JupyterHub into our conda environment if needed.
|
||||||
|
|
||||||
Conda constructor does not play well with conda-forge, so we can ship this
|
We install all python packages from PyPI as much as possible in the
|
||||||
with constructor
|
hub environment. A lot of spawners & authenticators do not have conda-forge
|
||||||
|
packages, but do have pip packages. Keeping all python packages in the
|
||||||
|
hub environment be installed with pip prevents accidental mixing of python
|
||||||
|
and conda packages!
|
||||||
"""
|
"""
|
||||||
# FIXME: Use fully deterministic package lists here
|
conda.ensure_conda_packages(prefix, ['configurable-http-proxy==3.1.0'])
|
||||||
conda.ensure_conda_packages(prefix, ['jupyterhub==0.9.0'])
|
|
||||||
conda.ensure_pip_packages(prefix, [
|
conda.ensure_pip_packages(prefix, [
|
||||||
|
'jupyterhub==0.9.0',
|
||||||
'jupyterhub-dummyauthenticator==0.3.1',
|
'jupyterhub-dummyauthenticator==0.3.1',
|
||||||
'jupyterhub-systemdspawner==0.11',
|
'jupyterhub-systemdspawner==0.11',
|
||||||
'jupyterhub-firstuseauthenticator==0.10'
|
'jupyterhub-firstuseauthenticator==0.10'
|
||||||
|
|||||||
Reference in New Issue
Block a user