Skip to content

Commit 9e94b21

Browse files
mattpapphilippjfr
andauthored
jupyter_bokeh 4.0.0 (#196)
* jupyter_bokeh 3.0.8 * Update to JupyterLab 4 * Remove auto-generated _version.py * More updates * Update conda build and deploy script * Drop twine dep * Use hatch version * Include hatch in build dependencies --------- Co-authored-by: Philipp Rudiger <[email protected]>
1 parent b98f3c7 commit 9e94b21

File tree

14 files changed

+6243
-6903
lines changed

14 files changed

+6243
-6903
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
yarn-
4444
4545
- name: Install dependencies
46-
run: python -m pip install -U jupyterlab~=3.0 jupyter_packaging~=0.12.3
46+
run: python -m pip install -U jupyterlab~=4.0 jupyter_packaging~=0.12.3
4747
- name: Build the extension
4848
run: |
4949
jlpm

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@
1010
/jupyter_bokeh/nbextension/index.js
1111
/jupyter_bokeh/nbextension/index.js.map
1212
__pycache__/
13+
/.yarn
14+
/jupyter_bokeh/_version.py

.yarnrc.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ installation may refer to the below table.
5656
| 1.0.x | 1.0.0 |
5757
| 2.0.x | 2.0.0 |
5858
| 3.0.x | 3.0.0 |
59+
| 4.0.x | 4.0.0 |
5960

6061
## Contributing
6162

conda.recipe/meta.yaml

+18-16
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
{% set data = load_setup_py_data() %}
1+
{% set pyproject = load_file_data('../pyproject.toml', from_recipe_dir=True) %}
2+
{% set pkgjson = load_file_data('../package.json', from_recipe_dir=True) %}
3+
{% set project = pyproject['project'] %}
4+
5+
{% set name = project['name'] %}
6+
{% set version = VERSION %}
27

38
package:
4-
name: jupyter_bokeh
5-
version: {{ data["version"] }}
9+
name: {{ name }}
10+
version: {{ version }}
611

712
source:
8-
path: ..
13+
url: ../dist/{{ name }}-{{ version }}-py3-none-any.whl
914

1015
build:
1116
noarch: python
12-
number: 0
13-
script: python setup.py install --single-version-externally-managed --record record.txt
14-
15-
extra:
16-
channels:
17-
- bokeh
18-
- conda-forge
17+
script: {{ PYTHON }} -m pip install -vv {{ name }}-{{ version }}-py3-none-any.whl
1918

2019
requirements:
2120
build:
@@ -25,25 +24,28 @@ requirements:
2524
- python
2625
- setuptools
2726
- nodejs >=18.0
27+
- hatch
2828
run:
2929
- python
3030
- bokeh 3.*
3131
- ipywidgets 8.*
3232
run_constrained:
33-
- jupyterlab 3.*
33+
- jupyterlab 4.*
3434

3535
test:
3636
imports:
3737
- jupyter_bokeh
3838

3939
about:
40-
home: {{ data["url"] }}
41-
license: {{ data["license"] }}
42-
summary: {{ data["description"] }}
40+
home: {{ pkgjson['homepage'] }}
41+
license: {{ project['license']['file'] }}
42+
summary: {{ pkgjson['description'] }}
4343

4444
extra:
4545
deploy:
4646
- anaconda-client
4747
- setuptools
48-
- twine
4948
- jq
49+
channels:
50+
- bokeh
51+
- conda-forge

jupyter_bokeh/_version.py

-19
This file was deleted.

jupyter_bokeh/nbextension/index.js.LICENSE.txt

+2-16
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,12 @@
11
/*!
2-
* Sizzle CSS Selector Engine v2.3.10
3-
* https://sizzlejs.com/
4-
*
5-
* Copyright JS Foundation and other contributors
6-
* Released under the MIT license
7-
* https://js.foundation/
8-
*
9-
* Date: 2023-02-14
10-
*/
11-
12-
/*!
13-
* jQuery JavaScript Library v3.6.4
2+
* jQuery JavaScript Library v3.7.1
143
* https://jquery.com/
154
*
16-
* Includes Sizzle.js
17-
* https://sizzlejs.com/
18-
*
195
* Copyright OpenJS Foundation and other contributors
206
* Released under the MIT license
217
* https://jquery.org/license
228
*
23-
* Date: 2023-03-08T15:28Z
9+
* Date: 2023-08-28T13:37Z
2410
*/
2511

2612
/*! *****************************************************************************

0 commit comments

Comments
 (0)