Skip to content
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

Publish jupyterlab-jupytext==1.3.11 and jupyterlab-jupytext==1.4.0 #1146

Merged
merged 5 commits into from
Oct 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jupyterlab/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jupyterlab-jupytext-extensions",
"version": "1.3.9",
"version": "1.4.0",
"private": true,
"files": [],
"workspaces": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# 1.4.0 (2023-10-22)

- This version of the JupyterLab extension requires JupyterLab 4.x.

# 1.3.11 (2023-10-22)

- This version is the same as 1.3.10. It was re-published to include the README that was missing in 1.3.10.

# 1.3.10 (2023-10-22)

- The server extension for `jupytext` has been moved from core Jupytext to the (Python) `jupyterlab-jupytext` extension.
- The Jupyter Lab extension is now compatible with the [JupyterLab RISE](https://github.com/jupyterlab-contrib/rise) extension. Many thanks to [Frédéric Collonval](https://github.com/fcollonval) for his PR ([#1126](https://github.com/mwouts/jupytext/pull/1126))!
- This version of the JupyterLab extension is compatible with JupyterLab 4.x. Many thanks to [Thierry Parmentelat](https://github.com/parmentelat) for his PRs! ([#1092](https://github.com/mwouts/jupytext/pull/1092), [#1109](https://github.com/mwouts/jupytext/pull/1109))

# 1.3.9 (2022-06-02)

- We updated the `yarn.lock` file for the jupyter lab extension to address security vulnerabilities ([#904](https://github.com/mwouts/jupytext/issues/904), [#925](https://github.com/mwouts/jupytext/issues/925), [#935](https://github.com/mwouts/jupytext/issues/935), [#939](https://github.com/mwouts/jupytext/issues/939), [#984](https://github.com/mwouts/jupytext/issues/984), [#1005](https://github.com/mwouts/jupytext/issues/1005), [#1011](https://github.com/mwouts/jupytext/issues/1011), [#1030](https://github.com/mwouts/jupytext/issues/1030), [#1036](https://github.com/mwouts/jupytext/issues/1036), [#1052](https://github.com/mwouts/jupytext/pull/1052))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jupyter labextension install jupyterlab-jupytext@1.1.1 # for JupyterLab 1.x

We assume that you have activated the conda environment described in [CONTRIBUTING.md](https://github.com/mwouts/jupytext/blob/main/CONTRIBUTING.md).

Then you can rebuild the Jupytext python package (with `BUILD_JUPYTERLAB_EXTENSION=1 python setup.py sdist bdist_wheel`) and reinstall it (`pip install dist/jupytext-x.x.x-py3-none-any.whl`).
Then you can rebuild the Jupytext python package (with `python -m build`) and reinstall it (`pip install dist/jupytext-x.x.x-py3-none-any.whl`).

Alternatively, if you prefer to develop iteratively, you could install a development version of the extension with

```bash
BUILD_JUPYTERLAB_EXTENSION=1 jupyter labextension develop . --overwrite
jupyter labextension develop . --overwrite
```

Read more on this on the [JupyterLab documentation](https://jupyterlab.readthedocs.io/en/latest/extension/extension_dev.html#developing-a-prebuilt-extension).
Expand All @@ -38,24 +38,15 @@ Read more on this on the [JupyterLab documentation](https://jupyterlab.readthedo

Please note that the main purpose of updating the extension on [npm](https://www.npmjs.com) is to keep the npm documentation up-to-date, since the extension is made available within the Python package itself.

Make sure you have `nodejs>=12` installed, bump the version in `package.json`, and then:
Make sure you have `nodejs>=18` installed, bump the version in `package.json`, and then:

```bash
# Go to the extension folder
cd packages/labextension

# Cleanup
rm -rf lib node_modules yarn.lock

# Install JupyterLab's plugin manager
jlpm install

# Package the extension
npm pack
npm pack --pack-destination dist jupyterlab/packages/jupyterlab-jupytext-extension

# Test the extension locally
jupyter labextension install jupyterlab-jupytext-xxx.tgz
jupyter labextension install dist/jupyterlab-jupytext-xxx.tgz

# Publish the package on npm with
npm publish --access=public
npm publish --access=public jupyterlab/packages/jupyterlab-jupytext-extension/
```
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jupyterlab-jupytext",
"version": "1.3.9",
"version": "1.4.0",
"description": "Save Jupyter Notebooks as Scripts or Markdown files that work well with version control & external text editors",
"keywords": [
"jupyter",
Expand Down
Loading