1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jupyterlab_ynh.git synced 2024-09-03 19:26:35 +02:00

Merge pull request #112 from YunoHost-Apps/fix

Fix
This commit is contained in:
Éric Gaspar 2022-08-24 19:00:00 +02:00 committed by GitHub
commit ff5bb1cee1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 12 deletions

View file

@ -18,7 +18,8 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
JupyterLab is the next-generation user interface for Project Jupyter offering all the familiar building blocks of the classic Jupyter Notebook (notebook, terminal, text editor, file browser, rich outputs, etc.) in a flexible and powerful user interface. JupyterLab will eventually replace the classic Jupyter Notebook. JupyterLab is the next-generation user interface for Project Jupyter offering all the familiar building blocks of the classic Jupyter Notebook (notebook, terminal, text editor, file browser, rich outputs, etc.) in a flexible and powerful user interface. JupyterLab will eventually replace the classic Jupyter Notebook.
**Shipped version:** 3.4.2~ynh1 **Shipped version:** 3.4.5~ynh1
**Demo:** https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/master?urlpath=lab/tree/demo **Demo:** https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/master?urlpath=lab/tree/demo
@ -28,7 +29,7 @@ JupyterLab is the next-generation user interface for Project Jupyter offering al
## Documentation and resources ## Documentation and resources
* Official app website: <https://jupyterlab.readthedocs.io/en/stable/> * Official app website: <https://jupyter.org>
* Official admin documentation: <https://jupyterlab.readthedocs.io/en/stable/> * Official admin documentation: <https://jupyterlab.readthedocs.io/en/stable/>
* Upstream app code repository: <https://github.com/jupyterhub/jupyterhub> * Upstream app code repository: <https://github.com/jupyterhub/jupyterhub>
* YunoHost documentation for this app: <https://yunohost.org/app_jupyterlab> * YunoHost documentation for this app: <https://yunohost.org/app_jupyterlab>

View file

@ -18,7 +18,8 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
JupyterLab is the next-generation user interface for Project Jupyter offering all the familiar building blocks of the classic Jupyter Notebook (notebook, terminal, text editor, file browser, rich outputs, etc.) in a flexible and powerful user interface. JupyterLab will eventually replace the classic Jupyter Notebook. JupyterLab is the next-generation user interface for Project Jupyter offering all the familiar building blocks of the classic Jupyter Notebook (notebook, terminal, text editor, file browser, rich outputs, etc.) in a flexible and powerful user interface. JupyterLab will eventually replace the classic Jupyter Notebook.
**Version incluse :** 3.4.2~ynh1 **Version incluse :** 3.4.5~ynh1
**Démo :** https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/master?urlpath=lab/tree/demo **Démo :** https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/master?urlpath=lab/tree/demo
@ -28,7 +29,7 @@ JupyterLab is the next-generation user interface for Project Jupyter offering al
## Documentations et ressources ## Documentations et ressources
* Site officiel de l'app : <https://jupyterlab.readthedocs.io/en/stable/> * Site officiel de l'app : <https://jupyter.org>
* Documentation officielle de l'admin : <https://jupyterlab.readthedocs.io/en/stable/> * Documentation officielle de l'admin : <https://jupyterlab.readthedocs.io/en/stable/>
* Dépôt de code officiel de l'app : <https://github.com/jupyterhub/jupyterhub> * Dépôt de code officiel de l'app : <https://github.com/jupyterhub/jupyterhub>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_jupyterlab> * Documentation YunoHost pour cette app : <https://yunohost.org/app_jupyterlab>

View file

@ -6,11 +6,11 @@
"en": "Code console environment for running Python code interactively.", "en": "Code console environment for running Python code interactively.",
"fr": "Console de code pour exécuter du code Python de manière interactive." "fr": "Console de code pour exécuter du code Python de manière interactive."
}, },
"version": "3.4.2~ynh1", "version": "3.4.5~ynh1",
"url": "https://jupyterlab.readthedocs.io/en/stable/", "url": "https://jupyter.org",
"upstream": { "upstream": {
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"website": "https://jupyterlab.readthedocs.io/en/stable/", "website": "https://jupyter.org",
"demo": "https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/master?urlpath=lab/tree/demo", "demo": "https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/master?urlpath=lab/tree/demo",
"admindoc": "https://jupyterlab.readthedocs.io/en/stable/", "admindoc": "https://jupyterlab.readthedocs.io/en/stable/",
"code": "https://github.com/jupyterhub/jupyterhub", "code": "https://github.com/jupyterhub/jupyterhub",
@ -22,7 +22,7 @@
"email": "pierre@kayou.io" "email": "pierre@kayou.io"
}, },
"requirements": { "requirements": {
"yunohost": ">= 4.3.0" "yunohost": ">= 11.0.9"
}, },
"multi_instance": true, "multi_instance": true,
"services": [ "services": [

View file

@ -5,11 +5,11 @@
#================================================= #=================================================
# dependencies used by the app # dependencies used by the app
pkg_dependencies="python3-dev python3-pip libffi-dev libzmq3-dev" pkg_dependencies="python3-dev python3-pip"
nodejs_version="16" nodejs_version="16"
jupyterlab_version="3.4.2" jupyterlab_version="3.4.5"
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS

View file

@ -100,7 +100,7 @@ mkdir -p "$final_path"
pushd $final_path pushd $final_path
mkdir -p .venv mkdir -p .venv
PIPENV_VENV_IN_PROJECT="enabled" PIPENV_SKIP_LOCK=true ynh_exec_warn_less python3 -m pipenv install jupyterlab==$jupyterlab_version jupyterhub notebook jupyterhub-ldapauthenticator pyzmq --three PIPENV_VENV_IN_PROJECT="enabled" PIPENV_SKIP_LOCK=true ynh_exec_warn_less python3 -m pipenv install jupyterlab==$jupyterlab_version jupyterhub notebook jupyterhub-ldapauthenticator pyzmq jupyterlab-language-pack-fr-FR --three
popd popd
#================================================= #=================================================

View file

@ -28,7 +28,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
# Remove the service from the list of services known by YunoHost (added from `yunohost service add`) # Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
if ynh_exec_warn_less yunohost service status $app >/dev/null if ynh_exec_warn_less yunohost service status $app >/dev/null
then then
ynh_script_progression --message="Removing $app service integration..."--weight=2 ynh_script_progression --message="Removing $app service integration..." --weight=2
yunohost service remove $app yunohost service remove $app
fi fi