File: RELEASE.md

package info (click to toggle)
bqplot 0.12.32-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 18,072 kB
  • sloc: python: 2,573; makefile: 162; javascript: 150
file content (71 lines) | stat: -rw-r--r-- 1,399 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
To release a new version of bqplot on PyPI:

## Create a new environment for the release

```sh
conda create -c conda-forge --override-channels -y -n bqplotrelease jupyterlab nodejs twine ipywidgets pip jupyter_packaging
conda activate bqplotrelease
```

## Check out a fresh copy of the repo

We check out a fresh copy in a `release/` subdirectory to make sure we do not
overwrite our development repo.

```sh
mkdir -p release
cd release
# Delete any previous checkout we have here.
rm -rf bqplot


git clone git@github.com:bloomberg/bqplot.git
cd bqplot
```

## Release the npm package

```sh
cd js/
npm version [Major/minor/patch]
npm install
npm publish
cd ..
```

## Release the pypi package

Update _version.py (bump both the python package version, and if needed, the Javascript version)

```
git clean -dfx
python setup.py sdist
python setup.py bdist_wheel
twine upload dist/*
```

## Tag the repository

Check to make sure the only changes are to the `package.json`, `package-lock.json`, and `_version.py` files:

```sh
git diff
```

Commit the changes in git

```sh
git commit -sa
```

Tag the release

```sh
git tag [version, like 0.12.4]
```

Push your change to a new PR and ask for a review to merge the PR.

## Update the recipe on conda-forge and set the stable branch to the newly tagged commit

Update the [conda-forge feedstock](https://github.com/conda-forge/bqplot-feedstock/).