Skip to content

Commit 8fb83cf

Browse files
committed
deploy visualpython 2.4.7
1 parent fa276fe commit 8fb83cf

File tree

12 files changed

+23
-18
lines changed

12 files changed

+23
-18
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#=============================================================================
1212
# Set version and replace it
1313
#=============================================================================
14-
VP_ORG_VER=2.4.5
15-
VP_NEW_VER=2.4.6
14+
VP_ORG_VER=2.4.6
15+
VP_NEW_VER=2.4.7
1616

1717
# update version info
1818
grep -REil "VP_ORG_VER=.+$" colab/build.colab.sh jupyterlab/build.jupyterlab.sh jupyternotebook/build.jupyternotebook.sh | xargs sed -i "s/VP_ORG_VER=.\+$/VP_ORG_VER=${VP_ORG_VER}/g"

colab/build.colab.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#=============================================================================
1212
# Replace Version
1313
#=============================================================================
14-
VP_ORG_VER=2.4.5
15-
VP_NEW_VER=2.4.6
14+
VP_ORG_VER=2.4.6
15+
VP_NEW_VER=2.4.7
1616

1717
# update version info
1818
# update manifest version with new numbering for new version

colab/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Visual Python for Colab",
33
"description": "GUI-based Python code generator for Google Colab as an extension",
4-
"version": "2.4.6",
4+
"version": "2.4.7",
55
"manifest_version": 3,
66
"icons": {
77
"48": "icon.png",

jupyterlab/build.jupyterlab.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#=============================================================================
1212
# Replace Version and Basic Files
1313
#=============================================================================
14-
VP_ORG_VER=2.4.5
15-
VP_NEW_VER=2.4.6
14+
VP_ORG_VER=2.4.6
15+
VP_NEW_VER=2.4.7
1616

1717
# update version info
1818
grep -REil "\"version\": \"${VP_ORG_VER}\"" package.json | xargs sed -i "s/\"version\": \"${VP_ORG_VER//\./\\.}\"/\"version\": \"${VP_NEW_VER}\"/g"

jupyterlab/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jupyterlab/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jupyterlab-visualpython",
3-
"version": "2.4.6",
3+
"version": "2.4.7",
44
"description": "GUI-based Python code generator for Jupyter Lab as an extension",
55
"keywords": [
66
"jupyter",

jupyterlab/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ classifiers = [
3232
"Programming Language :: Python :: 3.9",
3333
"Programming Language :: Python :: 3.10",
3434
]
35-
version = "2.4.6"
35+
version = "2.4.7"
3636

3737
[project.license]
3838
file = "LICENSE"
@@ -92,7 +92,7 @@ file = [
9292
]
9393

9494
[tool.tbump.version]
95-
current = "2.4.6"
95+
current = "2.4.7"
9696
regex = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<channel>a|b|rc|.dev)(?P<release>\\d+))?"
9797

9898
[tool.tbump.git]

jupyternotebook/build.jupyternotebook.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#=============================================================================
1212
# Replace Version and Basic Files
1313
#=============================================================================
14-
VP_ORG_VER=2.4.5
15-
VP_NEW_VER=2.4.6
14+
VP_ORG_VER=2.4.6
15+
VP_NEW_VER=2.4.7
1616

1717
# update version info
1818
grep -REil ${VP_ORG_VER//\./\\.} setup.py visualpython/js/com/com_Config.js visualpython/js/com/com_Const.js | xargs sed -i --follow-symlinks "s/${VP_ORG_VER//\./\\.}/${VP_NEW_VER}/g"

jupyternotebook/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name = name,
13-
version = '2.4.6',
13+
version = '2.4.7',
1414
packages = find_packages(),
1515
package_data = {"": ["*"], 'visualpython' : ['visualpython.yaml', 'README.md']},
1616
scripts = ['visualpython/bin/visualpy', 'visualpython/bin/visualpy.bat'],

visualpython/js/com/com_Config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ define([
10521052
/**
10531053
* Version
10541054
*/
1055-
Config.version = "2.4.6";
1055+
Config.version = "2.4.7";
10561056

10571057
/**
10581058
* Type of mode

visualpython/js/com/com_Const.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ define ([
1919
class Constants { }
2020

2121
Constants.TOOLBAR_BTN_INFO = {
22-
HELP: "Visual Python 2.4.6"
22+
HELP: "Visual Python 2.4.7"
2323
, ICON: "vp-main-icon"
2424
, ID: "vpBtnToggle"
2525
, NAME: "toggle-vp"

visualpython/js/m_ml/Pipeline.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,10 @@ define([
345345
that.state.modelType = mlComponent.state.modelType;
346346
let modelObj = that.modelConfig[that.state.modelType];
347347
that.state.modelTypeName = modelObj.code.split('(')[0];
348+
349+
that.state.pipeline[index].child.forEach(childId => {
350+
that.renderApp(childId);
351+
});
348352
}
349353
// handle app view
350354
that.handleAppView(name, mlComponent);
@@ -362,7 +366,7 @@ define([
362366
let MlComponent = arguments[argIdx];
363367
if (MlComponent) {
364368
// DUP AREA: pp-1
365-
let { name, label, index, file } = obj;
369+
let { name, index, file } = obj;
366370
let mlComponent = new MlComponent({
367371
config: { id: name, name: that.state.pipeline[index].label, path: file, category: 'Pipeline', resizable: false },
368372
...that.state.pipeline[index].state
@@ -373,6 +377,7 @@ define([
373377

374378
if (that.state.pipeline[index].modelStep === true) {
375379
// set default model type
380+
that.state.model = mlComponent.state.allocateToCreation;
376381
that.state.modelType = mlComponent.state.modelType;
377382
let modelObj = that.modelConfig[that.state.modelType];
378383
that.state.modelTypeName = modelObj.code.split('(')[0];

0 commit comments

Comments
 (0)