# Jupyterlab Upgrade

**URL:** <https://discourse.jupyter.org/t/jupyterlab-upgrade/2393>\
**Category:** JupyterLab\
**Tags:** release, how-to\
**Created:** [October 14, 2019, 6:42am UTC](https://discourse.jupyter.org/t/jupyterlab-upgrade/2393 "2019-10-14T06:42:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manjunath](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@Manjunath](https://discourse.jupyter.org/u/Manjunath)\
**Post date:** [October 14, 2019, 6:42am UTC](https://discourse.jupyter.org/t/jupyterlab-upgrade/2393/1 "2019-10-14T06:42:47Z")

</div>

Hi Team,

Our clients are willing to upgrade the existing juyterlab to the most recent version 1.1.4.  
I am here to know the steps and things to be considered while upgrading jupyterlab from version 0.31.5 to 1.1.4.

conda i version :  
aq10lah01:/home/ep\_basha # conda --version  
conda 4.4.10

Jupyter version  
aq10lah01:/home/ep\_basha # jupyter --version  
4.4.0

Jupyter notebook version  
aq10lah01:/home/ep\_basha # jupyter notebook --version  
5.4.0

Python version  
aq10lah01:/home/ep\_basha # python --version  
Python 3.6.4 :: Anaconda, Inc.

Anaconda version  
aq10lah01:/home/ep\_basha # anaconda --version  
anaconda Command line client (version 1.6.9)

Jupyter lab version  
0.31.5

SUSE linux vm with version 12.3

We need to upgrade the jupyter lab to version 1.1.4 which is the latest one.

questions like,

1. Does jupyterlab supports python 3.6 ?
2. what are the things to be backed up for the upgrade?
3. steps to upgrade?
4. Does upgrading jupyterlab upgrades all the jars related to python as well?
5. Does the old version of python jars supports new jupyterlab?
6. How long does it takes to upgrade?

Any additional information will be helpful.

---

<div class="post-metadata">

**Author:** ![00Kai0](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/00kai0/32/1144_2.png) [@00Kai0](https://discourse.jupyter.org/u/00Kai0)\
**Post date:** [October 14, 2019, 7:18am UTC](https://discourse.jupyter.org/t/jupyterlab-upgrade/2393/2 "2019-10-14T07:18:46Z")

</div>

Don’t need backend.  
You can use `conda create -n new_env python=3.6 ` and `conda activate nev_env` to use a new environment. And just install `jupyterlab`.  
Then, you should check that any code in your `ipynb` is right.

---

<div class="post-metadata">

**Author:** ![Manjunath](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@Manjunath](https://discourse.jupyter.org/u/Manjunath)\
**Post date:** [October 14, 2019, 8:33am UTC](https://discourse.jupyter.org/t/jupyterlab-upgrade/2393/3 "2019-10-14T08:33:34Z")

</div>

Its a production cluster and as of now we have the conda info as below,  
conda info

```
 active environment : None
        shell level : 0
   user config file : /root/.condarc

```

populated config files : /root/.condarc  
conda version : 4.4.10  
conda-build version : 3.4.1  
python version : 3.6.4.final.0  
base environment : /opt/anaconda3 (writable)  
channel URLs : [https://repo.continuum.io/pkgs/main/linux-64](https://repo.continuum.io/pkgs/main/linux-64)

```
      package cache : /opt/anaconda3/pkgs
                      /root/.conda/pkgs
   envs directories : /opt/anaconda3/envs
                      /root/.conda/envs
           platform : linux-64
         user-agent : conda/4.4.10 requests/2.18.4 CPython/3.6.4 Linux/4.4.114-94.14-default sles/12.3 glibc/2.22
            UID:GID : 0:0
         netrc file : None
       offline mode : False

```

So just creating new environment and installing jupyterlab works fine or does it also install new instance of python with 3.7?

---

<div class="post-metadata">

**Author:** ![jasongrout](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/jasongrout/32/371_2.png) [@jasongrout](https://discourse.jupyter.org/u/jasongrout)\
**Post date:** [October 14, 2019, 12:40pm UTC](https://discourse.jupyter.org/t/jupyterlab-upgrade/2393/4 "2019-10-14T12:40:38Z")

</div>

Here are some direct answers to your questions. However, asking about “jars” for python indicates you aren’t very familiar with conda/anaconda and how packaging in python works, so you might want to consult someone more familiar with your setup and how python is installed as you proceed.

> [@Manjunath](#):
>
> Does jupyterlab supports python 3.6 ?

Yes

> [@Manjunath](#):
>
> what are the things to be backed up for the upgrade?

You’re upgrading through quite a few versions. I _think_ things should be fine, but user settings may not be transferred through the upgrade (i.e., anything in advanced settings, like custom keyboard shortcuts, etc.). Also, you’ll need to reinstall any custom extensions with versions that support jlab 1

> [@Manjunath](#):
>
> steps to upgrade?

I think just `conda install jupyterlab=1.1.4` might work. Again, it looks like you have a fairly specialized setup, so you’ll want to consult someone more familiar with how you are using conda and your overall environment.

> [@Manjunath](#):
>
> Does upgrading jupyterlab upgrades all the jars related to python as well?

Upgrading just JupyterLab should not upgrade your python package if you have python 3.6, at least if you are using our official conda-forge package. If you are getting the anaconda jlab 1.1.4 package, you might check with Anaconda (they control the Anaconda package, not us, so they would know).

> [@Manjunath](#):
>
> Does the old version of python jars supports new jupyterlab?

JupyterLab should work fine with python 3.6.

> [@Manjunath](#):
>
> How long does it takes to upgrade?

5 minutes?

---

<div class="post-metadata">

**Author:** ![Manjunath](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@Manjunath](https://discourse.jupyter.org/u/Manjunath)\
**Post date:** [October 14, 2019, 12:59pm UTC](https://discourse.jupyter.org/t/jupyterlab-upgrade/2393/5 "2019-10-14T12:59:27Z")

</div>

Hi Jasongrout,

The information provided has given a very clear detailed picture about the upgrade plan. Thank you very much for the quick response.  
Yes, I am new to this jupyter upgrade work some of my question were quite illogical I guess sorry for wrong questions if any.

I will consult the respective person and come back to you by tomorrow and update.

Kind Regards,  
Manjunath P N

---

<div class="post-metadata">

**Author:** ![jasongrout](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/jasongrout/32/371_2.png) [@jasongrout](https://discourse.jupyter.org/u/jasongrout)\
**Post date:** [October 14, 2019, 8:50pm UTC](https://discourse.jupyter.org/t/jupyterlab-upgrade/2393/6 "2019-10-14T20:50:41Z")

</div>

> [@Manjunath](#):
>
> Yes, I am new to this jupyter upgrade work some of my question were quite illogical I guess sorry for wrong questions if any.

No problem at all, we’re glad you asked! I just wanted to caution you that it would be good to talk with someone who knows your setup and environment, since it seems a bit specialized.
