1
0
mirror of https://github.com/hwchase17/langchain.git synced 2025-09-07 05:52:15 +00:00

infra: update poetry 1.6.1 -> 1.7.1 ()

This commit is contained in:
purificant
2024-01-17 16:51:20 +00:00
committed by GitHub
parent a35e5f19a8
commit 3606c5d5e9
11 changed files with 12 additions and 12 deletions

@@ -32,7 +32,7 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
env: env:
POETRY_VERSION: "1.6.1" POETRY_VERSION: "1.7.1"
jobs: jobs:
lint: lint:

@@ -9,7 +9,7 @@ on:
description: "From which folder this pipeline executes" description: "From which folder this pipeline executes"
env: env:
POETRY_VERSION: "1.6.1" POETRY_VERSION: "1.7.1"
jobs: jobs:
build: build:

@@ -13,7 +13,7 @@ on:
description: "Relative path to the langchain library folder" description: "Relative path to the langchain library folder"
env: env:
POETRY_VERSION: "1.6.1" POETRY_VERSION: "1.7.1"
jobs: jobs:
build: build:

@@ -8,7 +8,7 @@ on:
type: string type: string
env: env:
POETRY_VERSION: "1.6.1" POETRY_VERSION: "1.7.1"
jobs: jobs:
build: build:

@@ -13,7 +13,7 @@ on:
description: "Relative path to the langchain library folder" description: "Relative path to the langchain library folder"
env: env:
POETRY_VERSION: "1.6.1" POETRY_VERSION: "1.7.1"
WORKDIR: ${{ inputs.working-directory == '' && '.' || inputs.working-directory }} WORKDIR: ${{ inputs.working-directory == '' && '.' || inputs.working-directory }}
# This env var allows us to get inline annotations when ruff has complaints. # This env var allows us to get inline annotations when ruff has complaints.

@@ -16,7 +16,7 @@ on:
env: env:
PYTHON_VERSION: "3.10" PYTHON_VERSION: "3.10"
POETRY_VERSION: "1.6.1" POETRY_VERSION: "1.7.1"
jobs: jobs:
build: build:

@@ -13,7 +13,7 @@ on:
description: "Relative path to the langchain library folder" description: "Relative path to the langchain library folder"
env: env:
POETRY_VERSION: "1.6.1" POETRY_VERSION: "1.7.1"
jobs: jobs:
build: build:

@@ -9,7 +9,7 @@ on:
description: "From which folder this pipeline executes" description: "From which folder this pipeline executes"
env: env:
POETRY_VERSION: "1.6.1" POETRY_VERSION: "1.7.1"
PYTHON_VERSION: "3.10" PYTHON_VERSION: "3.10"
jobs: jobs:

@@ -6,7 +6,7 @@ on:
- cron: '0 13 * * *' - cron: '0 13 * * *'
env: env:
POETRY_VERSION: "1.6.1" POETRY_VERSION: "1.7.1"
jobs: jobs:
build: build:

@@ -24,7 +24,7 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
env: env:
POETRY_VERSION: "1.6.1" POETRY_VERSION: "1.7.1"
WORKDIR: "templates" WORKDIR: "templates"
jobs: jobs:

@@ -32,7 +32,7 @@ For a [development container](https://containers.dev/), see the [.devcontainer f
### Dependency Management: Poetry and other env/dependency managers ### 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`) ❗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 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. 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. (`poetry config installer.modern-installation false`) and re-installing requirements.
See [this `debugpy` issue](https://github.com/microsoft/debugpy/issues/1246) for more details. See [this `debugpy` issue](https://github.com/microsoft/debugpy/issues/1246) for more details.