Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd2bff3a

Browse files
authored
Merge pull request#194 from visualpython/release
Release v2.3.1
2 parents80b25be +2e591e1 commitd2bff3a

File tree

20 files changed

+16359
-9818
lines changed

20 files changed

+16359
-9818
lines changed

‎.gitignore‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
dist/
2-
jupyterlab/lib/visualpython
2+
jupyterlab/lib/visualpython
3+
test/

‎build.sh‎

Lines changed: 11 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.2.12
15-
VP_NEW_VER=2.3.0
14+
VP_ORG_VER=2.3.0
15+
VP_NEW_VER=2.3.1
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"
@@ -50,6 +50,15 @@ cd $TEMP_PWD/jupyterlab
5050
## colab
5151
## upload on chrome web store with blacklogic.dev
5252

53+
#=============================================================================
54+
# Commit Release (for maintainer only)
55+
#=============================================================================
56+
# git add .
57+
# git commit -m "deploy visualpython ${VP_NEW_VER}"
58+
# git push origin devops
59+
# git checkout -b release
60+
# git push origin release
61+
5362
exit 0
5463

5564
# End of file

‎colab/build.colab.sh‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@
1111
#=============================================================================
1212
# Replace Version
1313
#=============================================================================
14-
VP_ORG_VER=2.2.12
15-
VP_NEW_VER=2.3.0
14+
VP_ORG_VER=2.3.0
15+
VP_NEW_VER=2.3.1
16+
VP_COLAB_VER=1# colab specified versioning
1617

1718
# update version info
1819
# update manifest version with new numbering for new version
19-
grep -REil${VP_ORG_VER//\./\\.}\.[0-9] manifest.json| xargs sed -i"s/${VP_ORG_VER//\./\\.}\.[0-9]/${VP_NEW_VER}.1/g"
20+
grep -REil${VP_ORG_VER//\./\\.}\.[0-9] manifest.json| xargs sed -i"s/${VP_ORG_VER//\./\\.}\.[0-9]/${VP_NEW_VER}.${VP_COLAB_VER}/g"
2021
# update version inside visualpython package
2122
grep -REil${VP_ORG_VER//\./\\.} visualpython/*| xargs sed -i --follow-symlinks"s/${VP_ORG_VER//\./\\.}/${VP_NEW_VER}/g"
2223

@@ -28,7 +29,7 @@ mkdir -p ../dist/colab
2829

2930
# build package
3031
# sudo apt-get install zip
31-
zip -r ../dist/colab/visualpython-v$VP_NEW_VER.zipbackground.js content.js icon.png inject.js manifest.json visualpython
32+
zip -r ../dist/colab/visualpython-v$VP_NEW_VER.$VP_COLAB_VER.zip* -x build.colab.sh
3233

3334
exit 0
3435
# End of file

‎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.0.1",
4+
"version":"2.3.1.1",
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.2.12
15-
VP_NEW_VER=2.3.0
14+
VP_ORG_VER=2.3.0
15+
VP_NEW_VER=2.3.1
1616

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

‎jupyterlab/dev-build.jupyterlab.sh‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ grep -rl "__VP_CSS_LOADER__" lib/visualpython/js/* | xargs sed -i "s/__VP_CSS_LO
3434
# sudo apt-get install curl
3535
# curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash # install nvm
3636
# nvm install 16.15.1 # install node 16.15.1
37+
# nvm ls # show version
38+
## solution for [node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28` not found error]
39+
# nvm use 16 # use 16 version
3740
#=============================================================================
3841
# python -m pip install jupyterlab
3942
# npm install # install npm package dependencies

‎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.0"
35+
version ="2.3.1"
3636

3737
[project.license]
3838
file ="LICENSE"
@@ -90,7 +90,7 @@ file = [
9090
]
9191

9292
[tool.tbump.version]
93-
current ="2.3.0"
93+
current ="2.3.1"
9494
regex ="(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<channel>a|b|rc|.dev)(?P<release>\\d+))?"
9595

9696
[tool.tbump.git]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp