Skip to content

Commit 3b26976

Browse files
authored
NGL 2.2.2 (#1096)
1 parent a6c9c06 commit 3b26976

File tree

16 files changed

+1355
-53880
lines changed

16 files changed

+1355
-53880
lines changed

.github/workflows/build-extension.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
yarn-
4848
4949
- name: Install dependencies
50-
run: python -m pip install -U jupyterlab~=3.0 jupyter_packaging~=0.7.9 jupyterlab_widgets~=1.0.0
50+
run: python -m pip install -U jupyterlab jupyter_packaging jupyterlab_widgets
5151
- name: Build the extension
5252
working-directory: js
5353
run: |

devtools/nglview-jupyterlab.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
conda create -n lab python=3.8 -y
1+
conda create -n lab python=3.11 -y
22
source activate lab
3-
conda install jupyterlab=3 nglview -c conda-forge -y
3+
# conda install jupyterlab=3 nglview -c conda-forge -y
4+
conda install jupyterlab=3 -c conda-forge -y

js/nglview-js-widgets/__init__.py

-17
This file was deleted.

js/nglview-js-widgets/_version.py

-19
This file was deleted.

js/package.json

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nglview-js-widgets",
3-
"version": "3.0.8",
3+
"version": "3.0.9",
44
"description": "nglview-js-widgets",
55
"keywords": [
66
"ipython",
@@ -55,16 +55,16 @@
5555
"test": "mocha"
5656
},
5757
"dependencies": {
58-
"@jupyter-widgets/base": "^4.0.0",
58+
"@jupyter-widgets/base": "^1 || ^2.0.2 || ^3 || ^4 || ^5 || ^6",
5959
"@jupyter-widgets/jupyterlab-manager": "^3.0.0",
6060
"jquery": "^3.2.1",
6161
"jquery-ui": "^1.12.1",
6262
"lodash": "^4.17.4",
63-
"ngl": "2.0.0-dev.39",
63+
"ngl": "2.2.2",
6464
"underscore": "^1.8.3"
6565
},
6666
"devDependencies": {
67-
"@jupyterlab/builder": "^3.0.0",
67+
"@jupyterlab/builder": "^3.0.5",
6868
"@types/chai": "^4.1.4",
6969
"@types/expect.js": "^0.3.29",
7070
"@types/mocha": "^2.2.48",
@@ -78,7 +78,7 @@
7878
"file-loader": "^1.1.6",
7979
"json-loader": "^0.5.4",
8080
"mkdirp": "^1.0.3",
81-
"ngl": "2.0.0-dev.39",
81+
"ngl": "2.2.2",
8282
"npm-run-all": "^4.1.5",
8383
"prettier": "^2.1.1",
8484
"rimraf": "^3.0.2",
@@ -103,5 +103,6 @@
103103
},
104104
"directories": {
105105
"test": "test"
106-
}
106+
},
107+
"packageManager": "[email protected]"
107108
}

js/src/fullscreen.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export
2727
class FullscreenView extends BaseView{
2828
stage : any
2929
render() {
30-
this.stage = new NGL.Stage()
30+
this.stage = new NGL.Stage(null, null)
3131
var that = this
3232
this.model.on("msg:custom", function(msg){
3333
that.on_msg(msg)

nglview/_frontend.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__frontend_version__ = '3.0.8'
1+
__frontend_version__ = '3.0.9'

nglview/scripts/__init__.py

Whitespace-only changes.

nglview/scripts/app.py

-40
This file was deleted.

nglview/scripts/cmd_example.py

-21
This file was deleted.

0 commit comments

Comments
 (0)