From 3606c5d5e93877c8bd7f7662675cb76e77ef301c Mon Sep 17 00:00:00 2001 From: purificant Date: Wed, 17 Jan 2024 16:51:20 +0000 Subject: [PATCH] infra: update poetry 1.6.1 -> 1.7.1 (#15027) --- .github/workflows/_all_ci.yml | 2 +- .github/workflows/_compile_integration_test.yml | 2 +- .github/workflows/_dependencies.yml | 2 +- .github/workflows/_integration_test.yml | 2 +- .github/workflows/_lint.yml | 2 +- .github/workflows/_release.yml | 2 +- .github/workflows/_test.yml | 2 +- .github/workflows/_test_release.yml | 2 +- .github/workflows/scheduled_test.yml | 2 +- .github/workflows/templates_ci.yml | 2 +- docs/docs/contributing/code.mdx | 4 ++-- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/_all_ci.yml b/.github/workflows/_all_ci.yml index 7be66470dd195..a2c4e06d6c15d 100644 --- a/.github/workflows/_all_ci.yml +++ b/.github/workflows/_all_ci.yml @@ -32,7 +32,7 @@ concurrency: cancel-in-progress: true env: - POETRY_VERSION: "1.6.1" + POETRY_VERSION: "1.7.1" jobs: lint: diff --git a/.github/workflows/_compile_integration_test.yml b/.github/workflows/_compile_integration_test.yml index 66c587f1251c3..12cd3d737b2d7 100644 --- a/.github/workflows/_compile_integration_test.yml +++ b/.github/workflows/_compile_integration_test.yml @@ -9,7 +9,7 @@ on: description: "From which folder this pipeline executes" env: - POETRY_VERSION: "1.6.1" + POETRY_VERSION: "1.7.1" jobs: build: diff --git a/.github/workflows/_dependencies.yml b/.github/workflows/_dependencies.yml index af01a7eafa77d..1414f63472fa0 100644 --- a/.github/workflows/_dependencies.yml +++ b/.github/workflows/_dependencies.yml @@ -13,7 +13,7 @@ on: description: "Relative path to the langchain library folder" env: - POETRY_VERSION: "1.6.1" + POETRY_VERSION: "1.7.1" jobs: build: diff --git a/.github/workflows/_integration_test.yml b/.github/workflows/_integration_test.yml index e6c8296c59c19..030883e555827 100644 --- a/.github/workflows/_integration_test.yml +++ b/.github/workflows/_integration_test.yml @@ -8,7 +8,7 @@ on: type: string env: - POETRY_VERSION: "1.6.1" + POETRY_VERSION: "1.7.1" jobs: build: diff --git a/.github/workflows/_lint.yml b/.github/workflows/_lint.yml index e34305aa0bc54..07978a25cf258 100644 --- a/.github/workflows/_lint.yml +++ b/.github/workflows/_lint.yml @@ -13,7 +13,7 @@ on: description: "Relative path to the langchain library folder" env: - POETRY_VERSION: "1.6.1" + POETRY_VERSION: "1.7.1" WORKDIR: ${{ inputs.working-directory == '' && '.' || inputs.working-directory }} # This env var allows us to get inline annotations when ruff has complaints. diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.yml index ad85a3a25639e..5de6107520850 100644 --- a/.github/workflows/_release.yml +++ b/.github/workflows/_release.yml @@ -16,7 +16,7 @@ on: env: PYTHON_VERSION: "3.10" - POETRY_VERSION: "1.6.1" + POETRY_VERSION: "1.7.1" jobs: build: diff --git a/.github/workflows/_test.yml b/.github/workflows/_test.yml index 2ae665f536c2d..55c5f79fcbcf1 100644 --- a/.github/workflows/_test.yml +++ b/.github/workflows/_test.yml @@ -13,7 +13,7 @@ on: description: "Relative path to the langchain library folder" env: - POETRY_VERSION: "1.6.1" + POETRY_VERSION: "1.7.1" jobs: build: diff --git a/.github/workflows/_test_release.yml b/.github/workflows/_test_release.yml index 0fc25a751644c..035158bf2034f 100644 --- a/.github/workflows/_test_release.yml +++ b/.github/workflows/_test_release.yml @@ -9,7 +9,7 @@ on: description: "From which folder this pipeline executes" env: - POETRY_VERSION: "1.6.1" + POETRY_VERSION: "1.7.1" PYTHON_VERSION: "3.10" jobs: diff --git a/.github/workflows/scheduled_test.yml b/.github/workflows/scheduled_test.yml index 0130f427d92b8..4ae8b755c146c 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.6.1" + POETRY_VERSION: "1.7.1" jobs: build: diff --git a/.github/workflows/templates_ci.yml b/.github/workflows/templates_ci.yml index a4c83f326cbdc..b886fc7aaff81 100644 --- a/.github/workflows/templates_ci.yml +++ b/.github/workflows/templates_ci.yml @@ -24,7 +24,7 @@ concurrency: cancel-in-progress: true env: - POETRY_VERSION: "1.6.1" + POETRY_VERSION: "1.7.1" WORKDIR: "templates" jobs: diff --git a/docs/docs/contributing/code.mdx b/docs/docs/contributing/code.mdx index 279bdc05303cc..d3f957d1f8902 100644 --- a/docs/docs/contributing/code.mdx +++ b/docs/docs/contributing/code.mdx @@ -32,7 +32,7 @@ For a [development container](https://containers.dev/), see the [.devcontainer f ### Dependency Management: Poetry and other env/dependency managers -This project utilizes [Poetry](https://python-poetry.org/) v1.6.1+ as a dependency manager. +This project utilizes [Poetry](https://python-poetry.org/) v1.7.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`) @@ -75,7 +75,7 @@ make test If during installation you receive a `WheelFileValidationError` for `debugpy`, please make sure you are running 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" +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.