SimonBiggs / scriptedforms

Quickly create live-update GUIs for Python packages using Markdown and simple HTML elements.
Apache License 2.0
510 stars 34 forks source link

Most recent version not currently working as a JupyterLab extension #284

Open DemGiran opened 6 years ago

DemGiran commented 6 years ago

I am having trouble instaling it on jupyter lab and so I thought to make sure that this is intended to be an extension?

I tried the follow two commands but no success: jupyter labextension install @simonbiggs/scriptedforms jupyter labextension install scriptedforms

Any thoughts?

SimonBiggs commented 6 years ago

Hi DemGiran,

It certainly can be used inside JupyterLab. But for each release of JupyterLab every extension needs to be updated.

I have fallen quite far behind on the JupyterLab release schedule. For example, if you're willing to install the development version of ScriptedForms using pip install --pre scriptedforms then you will be able to use ScriptedForms with JupyterLab 0.16.0:

https://github.com/SimonBiggs/scriptedforms/blob/master/scriptedforms/package.json#L55

That is quite far behind the current version of JupyterLab.

Let me see if I can make a dev release that works with the current version for you though.

On Thu., 23 Aug. 2018, 1:53 am DemGiran, notifications@github.com wrote:

I am having trouble instaling it on jupyter lab and so I thought to make sure that this is intended to be an extension?

I tried the follow two commands but no success: jupyter labextension install @simonbiggs/scriptedforms jupyter labextension install scriptedforms

Any thoughts?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SimonBiggs/scriptedforms/issues/284, or mute the thread https://github.com/notifications/unsubscribe-auth/AGQVexYP9xMI0QUAb0r39B65ulykm3pjks5uTXw2gaJpZM4WH684 .

SimonBiggs commented 6 years ago

@DemGiran Giran actually, I made a mistake with the version of JupyterLab you would need. Although JupyterLab is at version 0.34.x it is using javascript packages 0.18.x (https://github.com/jupyterlab/jupyterlab/releases/tag/%40jupyterlab%2Fapplication%400.18.3), so I am only two minor versions behind.

SimonBiggs commented 6 years ago

@DemGiran so, I just wanted to see if I could fix this before work today, but it seems like this upgrade will be a much bigger job than an hour. For now if you want to use ScriptedForms with JupyterLab you'll need to use JupyterLab version 0.32 if you are using the ScriptedForms 0.9.3-dev5 (installed with pip install --pre scriptedforms) or JupyerLab version 0.31 if you are using 0.9.2.

Sorry that this is difficult at the moment, it's just a result of early stage development.

DemGiran commented 6 years ago

Thanks a lot!

SimonBiggs commented 6 years ago

You're welcome :). Did the older versions of JupyterLab work?