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

Release v2.3.1#194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
minjk-bl merged 7 commits intomainfromrelease
Feb 16, 2023
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion.gitignore
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
dist/
jupyterlab/lib/visualpython
jupyterlab/lib/visualpython
test/
13 changes: 11 additions & 2 deletionsbuild.sh
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,8 +11,8 @@
#=============================================================================
# Set version and replace it
#=============================================================================
VP_ORG_VER=2.2.12
VP_NEW_VER=2.3.0
VP_ORG_VER=2.3.0
VP_NEW_VER=2.3.1

# update version info
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"
Expand DownExpand Up@@ -50,6 +50,15 @@ cd $TEMP_PWD/jupyterlab
## colab
## upload on chrome web store with blacklogic.dev

#=============================================================================
# Commit Release (for maintainer only)
#=============================================================================
# git add .
# git commit -m "deploy visualpython ${VP_NEW_VER}"
# git push origin devops
# git checkout -b release
# git push origin release

exit 0

# End of file
9 changes: 5 additions & 4 deletionscolab/build.colab.sh
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,12 +11,13 @@
#=============================================================================
# Replace Version
#=============================================================================
VP_ORG_VER=2.2.12
VP_NEW_VER=2.3.0
VP_ORG_VER=2.3.0
VP_NEW_VER=2.3.1
VP_COLAB_VER=1 # colab specified versioning

# update version info
# update manifest version with new numbering for new version
grep -REil ${VP_ORG_VER//\./\\.}\.[0-9] manifest.json | xargs sed -i "s/${VP_ORG_VER//\./\\.}\.[0-9]/${VP_NEW_VER}.1/g"
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"
# update version inside visualpython package
grep -REil ${VP_ORG_VER//\./\\.} visualpython/* | xargs sed -i --follow-symlinks "s/${VP_ORG_VER//\./\\.}/${VP_NEW_VER}/g"

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

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

exit 0
# End of file
2 changes: 1 addition & 1 deletioncolab/manifest.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
{
"name": "Visual Python for Colab",
"description": "GUI-based Python code generator for Google Colab as an extension",
"version": "2.3.0.1",
"version": "2.3.1.1",
"manifest_version": 3,
"icons": {
"48": "icon.png",
Expand Down
4 changes: 2 additions & 2 deletionsjupyterlab/build.jupyterlab.sh
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,8 +11,8 @@
#=============================================================================
# Replace Version and Basic Files
#=============================================================================
VP_ORG_VER=2.2.12
VP_NEW_VER=2.3.0
VP_ORG_VER=2.3.0
VP_NEW_VER=2.3.1

# update version info
grep -REil "version = \"${VP_ORG_VER}\"" pyproject.toml | xargs sed -i "s/version = \"${VP_ORG_VER//\./\\.}\"/version = \"${VP_NEW_VER}\"/g"
Expand Down
3 changes: 3 additions & 0 deletionsjupyterlab/dev-build.jupyterlab.sh
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -34,6 +34,9 @@ grep -rl "__VP_CSS_LOADER__" lib/visualpython/js/* | xargs sed -i "s/__VP_CSS_LO
# sudo apt-get install curl
# curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash # install nvm
# nvm install 16.15.1 # install node 16.15.1
# nvm ls # show version
## solution for [node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28` not found error]
# nvm use 16 # use 16 version
#=============================================================================
# python -m pip install jupyterlab
# npm install # install npm package dependencies
Expand Down
4 changes: 2 additions & 2 deletionsjupyterlab/pyproject.toml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -32,7 +32,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
version = "2.3.0"
version = "2.3.1"

[project.license]
file = "LICENSE"
Expand DownExpand Up@@ -90,7 +90,7 @@ file = [
]

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

[tool.tbump.git]
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp