Skip to content

Commit

Permalink
Pin poetry<2
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Jan 7, 2025
1 parent faebe4b commit 8184443
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion chatgpt-retrieval-plugin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $PYTHON_BINARY -c "import sys; print(f'Python version found: {sys.version_info}'
$PYTHON_BINARY -m venv .venv
. .venv/bin/activate
PYTHON_BINARY=$(which python)
$PYTHON_BINARY -m pip install -U pip poetry
$PYTHON_BINARY -m pip install -U pip "poetry<2"
# Create a package specific poetry environment
$PYTHON_BINARY -m poetry env use $PYTHON_BINARY
# Activate the poetry env, which itself does not include poetry
Expand Down
2 changes: 1 addition & 1 deletion docarray/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $PYTHON_BINARY -c "import sys; print(f'Python version found: {sys.version_info}'
$PYTHON_BINARY -m venv venv
. venv/bin/activate
# Install Poetry
pip install -U pip poetry
pip install -U pip "poetry<2"
# Recreate the poetry lock file
poetry lock --no-update
# Install from pyproject.toml into package specific environment
Expand Down
2 changes: 1 addition & 1 deletion langchain-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ cd libs/langchain-mongodb
$PYTHON_BINARY -m venv venv_pipeline
source venv_pipeline/bin/activate

pip install poetry
pip install "poetry<2"

poetry lock --no-update

Expand Down
2 changes: 1 addition & 1 deletion llama-index-python-kvstore/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cd llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-mongodb
$PYTHON_BINARY -m venv .venv
. .venv/bin/activate
PYTHON_BINARY=$(which python)
$PYTHON_BINARY -m pip install -U pip poetry
$PYTHON_BINARY -m pip install -U pip "poetry<2"
# Create a package specific poetry environment
$PYTHON_BINARY -m poetry env use $PYTHON_BINARY
# Activate the poetry env, which itself does not include poetry
Expand Down
2 changes: 1 addition & 1 deletion llama-index-python-vectorstore/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cd llama-index-integrations/vector_stores/llama-index-vector-stores-mongodb
$PYTHON_BINARY -m venv .venv
. .venv/bin/activate
PYTHON_BINARY=$(which python)
$PYTHON_BINARY -m pip install -U pip poetry
$PYTHON_BINARY -m pip install -U pip "poetry<2"
# Create a package specific poetry environment
$PYTHON_BINARY -m poetry env use $PYTHON_BINARY
# Activate the poetry env, which itself does not include poetry
Expand Down

0 comments on commit 8184443

Please sign in to comment.