Skip to content

Commit 6237f23

Browse files
committed
deploy visualpython 2.3.7
1 parent 05bb334 commit 6237f23

File tree

12 files changed

+24
-21
lines changed

12 files changed

+24
-21
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.3.5
15-
VP_NEW_VER=2.3.6
14+
VP_ORG_VER=2.3.6
15+
VP_NEW_VER=2.3.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.3.5
15-
VP_NEW_VER=2.3.6
14+
VP_ORG_VER=2.3.6
15+
VP_NEW_VER=2.3.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.3.6",
4+
"version": "2.3.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.3.5
15-
VP_NEW_VER=2.3.6
14+
VP_ORG_VER=2.3.6
15+
VP_NEW_VER=2.3.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.3.6",
3+
"version": "2.3.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.3.6"
35+
version = "2.3.7"
3636

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

9494
[tool.tbump.version]
95-
current = "2.3.6"
95+
current = "2.3.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.3.5
15-
VP_NEW_VER=2.3.6
14+
VP_ORG_VER=2.3.6
15+
VP_NEW_VER=2.3.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.3.6',
13+
version = '2.3.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
@@ -966,7 +966,7 @@ define([
966966
/**
967967
* Version
968968
*/
969-
Config.version = "2.3.6";
969+
Config.version = "2.3.7";
970970

971971
/**
972972
* 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.3.6"
22+
HELP: "Visual Python 2.3.7"
2323
, ICON: "vp-main-icon"
2424
, ID: "vpBtnToggle"
2525
, NAME: "toggle-vp"

visualpython/js/m_apps/Information.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ define([
603603
}
604604

605605
loadCode(codeStr, more=false) {
606-
if (this.loading) {
606+
if (this.loading === true) {
607607
return;
608608
}
609609

@@ -839,13 +839,16 @@ define([
839839
vpLog.display(VP_LOG_TYPE.ERROR, msg.content.ename, msg.content.evalue, msg.content);
840840
}
841841
}).catch(function(resultObj) {
842-
let { msg } = resultObj;
842+
let { msg, ename, evalue } = resultObj;
843843
var errorContent = '';
844-
if (msg.content.ename) {
844+
if (msg && msg?.content?.ename) {
845845
errorContent = com_util.templateForErrorBox(msg.content.ename, msg.content.evalue, msg.content.detail);
846+
vpLog.display(VP_LOG_TYPE.ERROR, msg.content.ename, msg.content.evalue, msg.content);
847+
} else if (ename && evalue) {
848+
errorContent = com_util.templateForErrorBox(ename, evalue);
849+
vpLog.display(VP_LOG_TYPE.ERROR, ename, evalue, resultObj);
846850
}
847851
$infoPreviewTag.html(errorContent);
848-
vpLog.display(VP_LOG_TYPE.ERROR, msg.content.ename, msg.content.evalue, msg.content);
849852
}).finally(function() {
850853
loadingSpinner.remove();
851854
});

0 commit comments

Comments
 (0)