Skip to content

Commit 885969d

Browse files
authored
Release 2.0.0 (#94)
* Refresh package-lock.json * Update version to 2.0.0 * Update to bokeh 2.0 * Update dates in license * Require minimum Python 3.6+ * Drop __future__ imports * Add DEVGUIDE.md
1 parent 2348f19 commit 885969d

File tree

9 files changed

+30
-45
lines changed

9 files changed

+30
-45
lines changed

DEVGUIDE.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Release process
2+
3+
## Update package version
4+
5+
| File | Entry | Content |
6+
| --------------------------- | ----------------- | -------- |
7+
| `jupyter_bokeh/__init__.py` | `__version__` | `2.0.0` |
8+
| `jupyter_bokeh/widgets.py` | `_module_version` | `^2.0.0` |
9+
| `package.json` | `version` | `2.0.0` |
10+
| `setup.py` | `version` | `2.0.0` |

LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2012 - 2019, Anaconda, Inc., and Bokeh Contributors
1+
Copyright (c) 2012 - 2020, Anaconda, Inc., and Bokeh Contributors
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification,

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,23 @@ jupyter nbextension enable jupyter_bokeh --py --sys-prefix
3636
## Compatibility
3737

3838
The core [Bokeh](https://github.com/bokeh/bokeh) library is generally version independent of
39-
[JupyterLab](https://github.com/jupyterlab/jupyterlab) and this ``jupyter_bokeh`` extension for versions
40-
of ``bokeh>=0.12.0``.
39+
[JupyterLab](https://github.com/jupyterlab/jupyterlab) and this ``jupyter_bokeh`` extension
40+
for versions of ``bokeh>=2.0.0``.
4141

4242
Our goal is that ``jupyter_bokeh`` minor releases (using the [SemVer](https://semver.org/) pattern) are
4343
made to follow JupyterLab minor release bumps and micro releases are for new ``jupyter_bokeh`` features
4444
or bug fix releases. We've been previously inconsistent with having the extension release minor version bumps
4545
track that of JupyterLab, so users seeking to find extension releases that are compatible with their JupyterLab
4646
installation may refer to the below table.
4747

48-
###### Compatible JupyterLab and jupyter_bokeh versions
48+
###### Compatible JupyterLab and `jupyter_bokeh` versions
4949

50-
| JupyterLab | jupyter_bokeh |
50+
| JupyterLab | `jupyter_bokeh` |
5151
| ------------- | ---------------- |
5252
| 0.34.x | 0.6.2 |
5353
| 0.35.x | 0.6.3 |
5454
| 1.0.x | 1.0.0 |
55+
| 2.0.x | 1.0.0 |
5556

5657
## Development
5758

conda.recipe/meta.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ requirements:
2121
build:
2222
- python
2323
- setuptools
24-
- nodejs >=8.8
24+
- nodejs >=10.13.0
2525
run:
2626
- python
27-
- bokeh >=1.3.4
27+
- bokeh >=2.0.0
2828
- ipywidgets >=7.0.0
2929

3030
test:

jupyter_bokeh/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
from .widgets import BokehModel
44

5-
__version__ = "1.2.0"
5+
__version__ = "2.0.0"

jupyter_bokeh/widgets.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#-----------------------------------------------------------------------------
2-
# Copyright (c) 2012 - 2019, Anaconda, Inc., and Bokeh Contributors.
2+
# Copyright (c) 2012 - 2020, Anaconda, Inc., and Bokeh Contributors.
33
# All rights reserved.
44
#
55
# The full license is in the file LICENSE.txt, distributed with this software.
@@ -13,7 +13,6 @@
1313
#-----------------------------------------------------------------------------
1414
# Boilerplate
1515
#-----------------------------------------------------------------------------
16-
from __future__ import absolute_import, division, print_function, unicode_literals
1716

1817
# Standard library imports
1918
import json
@@ -40,7 +39,7 @@
4039
)
4140

4241
_module_name = "@bokeh/jupyter_bokeh"
43-
_module_version = "^1.2.0"
42+
_module_version = "^2.0.0"
4443

4544
#-----------------------------------------------------------------------------
4645
# General API
@@ -93,7 +92,7 @@ def update_from_model(self, model):
9392
def _document_patched(self, event):
9493
if event.setter is self:
9594
return
96-
msg = Protocol("1.0").create("PATCH-DOC", [event])
95+
msg = Protocol().create("PATCH-DOC", [event])
9796

9897
self.send({"msg": "patch", "payload": msg.header_json})
9998
self.send({"msg": "patch", "payload": msg.metadata_json})

package-lock.json

+4-30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bokeh/jupyter_bokeh",
3-
"version": "1.2.0",
3+
"version": "2.0.0",
44
"description": "A Jupyter extension for rendering Bokeh content.",
55
"author": "Bokeh Team <[email protected]>",
66
"keywords": [

setup.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@ def run(self):
2020
self.spawn([npm, "run", "prepack"])
2121

2222
install_requires = [
23-
"bokeh >=1.3.4",
23+
"bokeh >=2.0.0",
2424
"ipywidgets >=7.0.0",
2525
]
2626

2727
setup_args = dict(
2828
name="jupyter_bokeh",
29-
version="1.2.0",
29+
version="2.0.0",
3030
install_requires=install_requires,
31+
python_requires=">=3.6",
3132
description="A Jupyter extension for rendering Bokeh content.",
3233
long_description=open("README.md").read(),
3334
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)