This document guides a contributor through creating a release of JupyterLab.
Review CONTRIBUTING.md
. Make sure all the tools needed to generate the
built JavaScript files are properly installed.
We publish the npm packages, a Python source package, and a Python universal binary wheel. We also publish a conda package on conda-forge (see below). See the Python docs on package uploading for twine setup instructions and for why twine is the recommended method.
The command below ensures the latest dependencies and built files,
then prompts you to select package versions. When one package has an
effective major release, the packages that depend on it should also get a
major release, to prevent consumers that are using the ^
semver
requirement from getting a conflict.
npm run publish
jupyterlab/_version.py
with an rc
versionnpm run build:static
rm -rf dist
python setup.py sdist
python setup.py bdist_wheel --universal
twine upload dist/*
rc
in a clean environmentnpm access public @jupyterlab/<name>
to make it public.style/
in the files:
of a package (it will fail on the jupyter lab build
command because
webpack cannot find the referenced styles to import.jupyterlab/_version.py
with a final versionshasum -a 256 dist/*.tar.gz
recipe/meta.yaml
with the new version and md5 and reset the build number to 0.git checkout --orphan NEWBRANCH
git rm -rf .
0.28-01-show-a-panel
LICENSE
and README
files from the previous branch, as well as the package.json
fields up to
license
.jupyterlab/_version.py
with a dev
version./packages/packageFolder
:npm run patch:release packageFolder