-
Notifications
You must be signed in to change notification settings - Fork 151
Update dependencies to include jupyterlab 3.x.x (JupyterLab 3 support) #229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependencies to include jupyterlab 3.x.x (JupyterLab 3 support) #229
Conversation
Thanks for submitting your first pull request! You are awesome! 🤗 |
Thanks! Maybe it could be useful to add a small CI step to build and install the lab extension, similar to: https://github.com/jupyterlab/jupyterlab_apod/blob/2df8db256d67a28b3f728e2c3b5adef0a7a67fa9/.github/workflows/build.yml#L1 |
Sure, let me look into it.
…On Thu, Jan 7, 2021 at 10:20 AM Jeremy Tuloup ***@***.***> wrote:
Thanks!
Maybe it could be useful to add a small CI step to build and install the
lab extension, similar to:
https://github.com/jupyterlab/jupyterlab_apod/blob/2df8db256d67a28b3f728e2c3b5adef0a7a67fa9/.github/workflows/build.yml#L1
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#229 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFPVGQ7YKRVG7IVSANSAQULSYV4HXANCNFSM4VOHMZJA>
.
|
A follow-up PR could also update the Meaning that a single There is more information about the new distribution in the docs: |
Thanks for the resources. Yes, I know about that feature. Happy to work on
that as a follow-up but can we release the jupyterlab 3 compatible version
as-is? Or are you thinking of releasing both together?
…On Thu, 7 Jan 2021, 14:55 Jeremy Tuloup, ***@***.***> wrote:
A follow-up PR could also update the setup.py and the packaging of the
extension, so it adopts the new distribution system.
Meaning that a single pip install jupyter-server-proxy would also install
the JupyterLab 3.0 extension by default.
There is more information about the new distribution in the docs:
-
https://jupyterlab.readthedocs.io/en/stable/extension/extension_dev.html#prebuilt-extensions
-
https://jupyterlab.readthedocs.io/en/stable/extension/extension_tutorial.html
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#229 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFPVGQ5CKAAZWWJ772XTSSLSYV4XNANCNFSM4VOHMZJA>
.
|
Yes it would make sense to first release a new version of the extension to npm, with the changes from this PR, so it can be installed with JupyterLab 3.0 using the And then as a second step switch to the new distribution system, which will require releasing the Python package to PyPI. |
Yes, agreed.
…On Thu, Jan 7, 2021 at 10:49 AM Jeremy Tuloup ***@***.***> wrote:
Yes it would make sense to first release a new version of the extension to
npm, with the changes from this PR, so it can be installed with JupyterLab
3.0 using the jupyter labextension install.
And then as a second step switch to the new distribution system, which
will require releasing the Python package to PyPI.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#229 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFPVGQZHICLGRAU6E5IQRPLSYV7RVANCNFSM4VOHMZJA>
.
|
…rectly on supported python versions.
…rectly on supported python versions.
Merge from updated master
Okay, added the "build" job which installs the extension in a virtualenv with all supported python versions, installs jupyterlab, installs the extension. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM!
Along with merging this, I figure we should release a jupyterlab extension as a NPM package, but then transition to packaging it in Python. I opened #233 for that.
@dipanjank have you tried this to work locally as well btw? I'm not a very active maintainer on this project and have only now done a review of the changes rather than tried them.
@jtpio do you suggest we release v3.0.0 of the NPM package to indicate its JL 3 compatible, or stay with v2.x.y as it is not a breaking change involved?
@consideRatio yes, I did the following
I think this can be done as an automated test. Will give it a try at some point if you think it's valuable. |
@dipanjank nice, thank you! |
I released version 2.1.2 of the JupyterLab extension to NPM. |
Usually semver is useful to communicate the type of changes (breaking or not) to the consumer of the package. For this extension if it's still compatible with both lab 2 and 3, then it should be fine to stick to |
See #197 for more discussion about npm package versioning. |
This pull request has been mentioned on Jupyter Community Forum. There might be relevant details there: https://discourse.jupyter.org/t/how-to-launch-browser-from-jupyterlab/7912/6 |
Changed jupyterlab component dependencies to include jupyterlab 3.0.0.
Fixes #219