Skip to content

Commit 3e91e7e

Browse files
committed
try for poetry 2.0 support
1 parent 7fa93c7 commit 3e91e7e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

chatgpt-retrieval-plugin/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $PYTHON_BINARY -m poetry env use $PYTHON_BINARY
2424
# Activate the poetry env, which itself does not include poetry
2525
. "$($PYTHON_BINARY -m poetry env info --path)/bin/activate"
2626
# Recreate the poetry lock file
27-
$PYTHON_BINARY -m poetry lock --no-update
27+
$PYTHON_BINARY -m poetry lock
2828
# Install from pyproject.toml into package specific environment
2929
$PYTHON_BINARY -m poetry install --with dev
3030

docarray/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $PYTHON_BINARY -m venv venv
2222
# Install Poetry
2323
pip install -U pip poetry
2424
# Recreate the poetry lock file
25-
poetry lock --no-update
25+
poetry lock
2626
# Install from pyproject.toml into package specific environment
2727
poetry install --with dev --extras mongo
2828

llama-index-python-kvstore/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ $PYTHON_BINARY -m poetry env use $PYTHON_BINARY
2828
# PYTHON-4522: Will fix requirement in llama-index repo
2929
$PYTHON_BINARY -m poetry add motor
3030
# Recreate the poetry lock file
31-
$PYTHON_BINARY -m poetry lock --no-update
31+
$PYTHON_BINARY -m poetry lock
3232
# Install from pyproject.toml into package specific environment
3333
$PYTHON_BINARY -m poetry install --with dev
3434

llama-index-python-vectorstore/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ $PYTHON_BINARY -m poetry env use $PYTHON_BINARY
2626
# Activate the poetry env, which itself does not include poetry
2727
. "$($PYTHON_BINARY -m poetry env info --path)/bin/activate"
2828
# Recreate the poetry lock file
29-
$PYTHON_BINARY -m poetry lock --no-update
29+
$PYTHON_BINARY -m poetry lock
3030
# Install from pyproject.toml into package specific environment
3131
$PYTHON_BINARY -m poetry install --with dev
3232

0 commit comments

Comments
 (0)