Skip to content

Commit

Permalink
keep version of magics package consistent in future releases
Browse files Browse the repository at this point in the history
  • Loading branch information
dlqqq committed Apr 25, 2024
1 parent 9c8046c commit 7b96698
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useWorkspaces": true,
"version": "2.13.0",
"version": "2.14.0",
"npmClient": "yarn",
"useNx": true
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jupyter-ai/monorepo",
"version": "2.13.0",
"version": "2.14.0",
"description": "A generative AI extension for JupyterLab",
"private": true,
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/jupyter-ai-magics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jupyter-ai/magics",
"version": "2.13.0",
"version": "2.14.0",
"description": "Jupyter AI magics Python package. Not published on NPM.",
"private": true,
"homepage": "https://github.com/jupyterlab/jupyter-ai",
Expand Down
2 changes: 1 addition & 1 deletion packages/jupyter-ai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jupyter-ai/core",
"version": "2.13.0",
"version": "2.14.0",
"description": "A generative AI extension for JupyterLab",
"keywords": [
"jupyter",
Expand Down
2 changes: 1 addition & 1 deletion packages/jupyter-ai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies = [
"jupyterlab~=4.0",
"aiosqlite>=0.18",
"importlib_metadata>=5.2.0",
"jupyter_ai_magics>=2.13.0",
"jupyter_ai_magics==2.14.0",
"dask[distributed]",
"faiss-cpu", # Not distributed by official repo
"typing_extensions>=4.5.0",
Expand Down
7 changes: 6 additions & 1 deletion scripts/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,10 @@
--no-push \
--force-publish \
-y \
$1 \
"$1" \
) || exit 1

# bump dependency in jupyter-ai to rely on current version of jupyter-ai-magics
# -E : use extended regex to allow usage of `+` symbol
# -i '' : modify file in-place
sed -E -i '' "s/jupyter_ai_magics.=[0-9]+\.[0-9]+\.[0-9]+/jupyter_ai_magics==$1/" packages/jupyter-ai/pyproject.toml

0 comments on commit 7b96698

Please sign in to comment.