Skip to content

Commit 7a2b15d

Browse files
committed
Release 0.17.0
1 parent 855a8dd commit 7a2b15d

File tree

5 files changed

+35
-6
lines changed

5 files changed

+35
-6
lines changed

RELEASE.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Release workflow
2+
3+
1. Clone new copy of repository:
4+
```sh
5+
git clone [email protected]:jupyter-widgets/ipyleaflet.git
6+
```
7+
2. Update the version numbers in the following files (see https://github.com/jupyter-widgets/ipyleaflet/commit/48f3cb68cd07e6c4ae7b353a17861e4e51ca4471)
8+
- `ipyleaflet/_version.py` (two places)
9+
- `js/package.json`
10+
- `environment.yml`
11+
3. Make sure the changelog is updated: `CHANGELOG.md`
12+
4. Build and publish to npm (if yarn prompts for the new version, I give the same as what is already in the `package.json`)
13+
```sh
14+
cd js
15+
yarn install && yarn run build && yarn publish
16+
cd ..
17+
```
18+
5. Build and publish Python package
19+
```sh
20+
python -m build
21+
twine upload dist/*
22+
```
23+
6. Update environment environment config with new ipyleaflet pypi download link: `docs/jupyterlite_config.json`
24+
7. Commit and push in git
25+
```sh
26+
git commit -am "Release <VERSION>"
27+
git tag <VERSION>
28+
git push origin master --tags
29+
```

docs/jupyterlite_config.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"LiteBuildConfig": {
33
"federated_extensions": [
44
"https://files.pythonhosted.org/packages/py3/j/jupyterlab-widgets/jupyterlab_widgets-1.1.1-py3-none-any.whl",
5-
"https://files.pythonhosted.org/packages/py2.py3/i/ipyleaflet/ipyleaflet-0.16.0-py2.py3-none-any.whl"
5+
"https://files.pythonhosted.org/packages/py2.py3/i/ipyleaflet/ipyleaflet-0.17.0-py2.py3-none-any.whl"
66
],
77
"ignore_sys_prefix": true,
88
"piplite_urls": [
9-
"https://files.pythonhosted.org/packages/py2.py3/i/ipyleaflet/ipyleaflet-0.16.0-py2.py3-none-any.whl",
9+
"https://files.pythonhosted.org/packages/py2.py3/i/ipyleaflet/ipyleaflet-0.17.0-py2.py3-none-any.whl",
1010
"https://files.pythonhosted.org/packages/py2.py3/i/ipython-genutils/ipython_genutils-0.2.0-py2.py3-none-any.whl",
1111
"https://files.pythonhosted.org/packages/py2.py3/i/ipywidgets/ipywidgets-7.7.1-py2.py3-none-any.whl",
1212
"https://files.pythonhosted.org/packages/py2.py3/r/requests/requests-2.27.1-py2.py3-none-any.whl",

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: ipyleaflet
33
channels:
44
- conda-forge
55
dependencies:
6-
- ipyleaflet=0.16.0
6+
- ipyleaflet=0.17.0
77
- scipy
88
- bqplot
99
- rasterio

ipyleaflet/_version.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Distributed under the terms of the Modified BSD License.
33
#
44

5-
version_info = (0, 16, 0)
5+
version_info = (0, 17, 0)
66

77
__version__ = '%s.%s.%s' % (version_info[0], version_info[1], version_info[2])
88

9-
EXTENSION_VERSION = '^0.16.0'
9+
EXTENSION_VERSION = '^0.17.0'

js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jupyter-leaflet",
3-
"version": "0.16.0",
3+
"version": "0.17.0",
44
"description": "jupyter - leaflet bridge",
55
"keywords": [
66
"jupyter",

0 commit comments

Comments
 (0)