Skip to content

Commit

Permalink
jupyter_bokeh 4.0.0 (#196)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
mattpap and philippjfr authored Feb 22, 2024
1 parent b98f3c7 commit 9e94b21
Show file tree
Hide file tree
Showing 14 changed files with 6,243 additions and 6,903 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
yarn-
- name: Install dependencies
run: python -m pip install -U jupyterlab~=3.0 jupyter_packaging~=0.12.3
run: python -m pip install -U jupyterlab~=4.0 jupyter_packaging~=0.12.3
- name: Build the extension
run: |
jlpm
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@
/jupyter_bokeh/nbextension/index.js
/jupyter_bokeh/nbextension/index.js.map
__pycache__/
/.yarn
/jupyter_bokeh/_version.py
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ installation may refer to the below table.
| 1.0.x | 1.0.0 |
| 2.0.x | 2.0.0 |
| 3.0.x | 3.0.0 |
| 4.0.x | 4.0.0 |

## Contributing

Expand Down
34 changes: 18 additions & 16 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
{% set data = load_setup_py_data() %}
{% set pyproject = load_file_data('../pyproject.toml', from_recipe_dir=True) %}
{% set pkgjson = load_file_data('../package.json', from_recipe_dir=True) %}
{% set project = pyproject['project'] %}

{% set name = project['name'] %}
{% set version = VERSION %}

package:
name: jupyter_bokeh
version: {{ data["version"] }}
name: {{ name }}
version: {{ version }}

source:
path: ..
url: ../dist/{{ name }}-{{ version }}-py3-none-any.whl

build:
noarch: python
number: 0
script: python setup.py install --single-version-externally-managed --record record.txt

extra:
channels:
- bokeh
- conda-forge
script: {{ PYTHON }} -m pip install -vv {{ name }}-{{ version }}-py3-none-any.whl

requirements:
build:
Expand All @@ -25,25 +24,28 @@ requirements:
- python
- setuptools
- nodejs >=18.0
- hatch
run:
- python
- bokeh 3.*
- ipywidgets 8.*
run_constrained:
- jupyterlab 3.*
- jupyterlab 4.*

test:
imports:
- jupyter_bokeh

about:
home: {{ data["url"] }}
license: {{ data["license"] }}
summary: {{ data["description"] }}
home: {{ pkgjson['homepage'] }}
license: {{ project['license']['file'] }}
summary: {{ pkgjson['description'] }}

extra:
deploy:
- anaconda-client
- setuptools
- twine
- jq
channels:
- bokeh
- conda-forge
19 changes: 0 additions & 19 deletions jupyter_bokeh/_version.py

This file was deleted.

18 changes: 2 additions & 16 deletions jupyter_bokeh/nbextension/index.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
/*!
* Sizzle CSS Selector Engine v2.3.10
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://js.foundation/
*
* Date: 2023-02-14
*/

/*!
* jQuery JavaScript Library v3.6.4
* jQuery JavaScript Library v3.7.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2023-03-08T15:28Z
* Date: 2023-08-28T13:37Z
*/

/*! *****************************************************************************
Expand Down
Loading

0 comments on commit 9e94b21

Please sign in to comment.