Skip to content

The agent engineering platform.

Upgrade CI workflows to poetry 1.6.1. (#11344)

Predrag Gruevskid21dd72d6412
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 7def745fbc..2a7bcd04e7 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -64,7 +64,7 @@ For a [development container](https://containers.dev/), see the [.devcontainer f
### Dependency Management: Poetry and other env/dependency managers
-This project uses [Poetry](https://python-poetry.org/) v1.5.1+ as a dependency manager.
+This project uses [Poetry](https://python-poetry.org/) v1.6.1+ as a dependency manager.
❗Note: *Before installing Poetry*, if you use `Conda`, create and activate a new Conda env (e.g. `conda create -n langchain python=3.9`)
@@ -105,8 +105,8 @@ make test
If the tests don't pass, you may need to pip install additional dependencies, such as `numexpr` and `openapi_schema_pydantic`.
If during installation you receive a `WheelFileValidationError` for `debugpy`, please make sure you are running
-Poetry v1.5.1+. This bug was present in older versions of Poetry (e.g. 1.4.1) and has been resolved in newer releases.
-If you are still seeing this bug on v1.5.1, you may also try disabling "modern installation"
+Poetry v1.6.1+. This bug was present in older versions of Poetry (e.g. 1.4.1) and has been resolved in newer releases.
+If you are still seeing this bug on v1.6.1, you may also try disabling "modern installation"
(`poetry config installer.modern-installation false`) and re-installing requirements.
See [this `debugpy` issue](https://github.com/microsoft/debugpy/issues/1246) for more details.
diff --git a/.github/workflows/_lint.yml b/.github/workflows/_lint.yml
index 64169ce0be..e7cbfa2d22 100644
--- a/.github/workflows/_lint.yml
+++ b/.github/workflows/_lint.yml
@@ -9,7 +9,7 @@ on:
description: "From which folder this pipeline executes"
env:
- POETRY_VERSION: "1.5.1"
+ POETRY_VERSION: "1.6.1"
WORKDIR: ${{ inputs.working-directory == '' && '.' || inputs.working-directory }}
jobs:
diff --git a/.github/workflows/_pydantic_compatibility.yml b/.github/workflows/_pydantic_compatibility.yml
index 94d362f327..3287a4d813 100644
--- a/.github/workflows/_pydantic_compatibility.yml
+++ b/.github/workflows/_pydantic_compatibility.yml
@@ -9,7 +9,7 @@ on:
description: "From which folder this pipeline executes"
env:
- POETRY_VERSION: "1.5.1"
+ POETRY_VERSION: "1.6.1"
jobs:
build:
diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.yml
index 1d7668978b..38c701052e 100644
--- a/.github/workflows/_release.yml
+++ b/.github/workflows/_release.yml
@@ -9,7 +9,7 @@ on:
description: "From which folder this pipeline executes"
env:
- POETRY_VERSION: "1.5.1"
+ POETRY_VERSION: "1.6.1"
jobs:
if_release:
diff --git a/.github/workflows/_test.yml b/.github/workflows/_test.yml
index 04be6a2c39..701e8e2673 100644
--- a/.github/workflows/_test.yml
+++ b/.github/workflows/_test.yml
@@ -9,7 +9,7 @@ on:
description: "From which folder this pipeline executes"
env:
- POETRY_VERSION: "1.5.1"
+ POETRY_VERSION: "1.6.1"
jobs:
build:
diff --git a/.github/workflows/langchain_ci.yml b/.github/workflows/langchain_ci.yml
index f184af9772..046de2258b 100644
--- a/.github/workflows/langchain_ci.yml
+++ b/.github/workflows/langchain_ci.yml
@@ -26,7 +26,7 @@ concurrency:
cancel-in-progress: true
env:
- POETRY_VERSION: "1.5.1"
+ POETRY_VERSION: "1.6.1"
WORKDIR: "libs/langchain"
jobs:
diff --git a/.github/workflows/langchain_experimental_ci.yml b/.github/workflows/langchain_experimental_ci.yml
index c4c4a039c1..8641a915e1 100644
--- a/.github/workflows/langchain_experimental_ci.yml
+++ b/.github/workflows/langchain_experimental_ci.yml
@@ -26,7 +26,7 @@ concurrency:
cancel-in-progress: true
env:
- POETRY_VERSION: "1.5.1"
+ POETRY_VERSION: "1.6.1"
WORKDIR: "libs/experimental"
jobs:
diff --git a/.github/workflows/scheduled_test.yml b/.github/workflows/scheduled_test.yml
index 003eae7679..af82f16b5e 100644
--- a/.github/workflows/scheduled_test.yml
+++ b/.github/workflows/scheduled_test.yml
@@ -6,7 +6,7 @@ on:
- cron: '0 13 * * *'
env:
- POETRY_VERSION: "1.5.1"
+ POETRY_VERSION: "1.6.1"
jobs:
build: