mirror of
https://github.com/hwchase17/langchain
synced 2024-11-16 06:13:16 +00:00
bump 321 (#12161)
This commit is contained in:
parent
d0505c0d47
commit
963ff93476
50
.github/workflows/_test_release.yml
vendored
Normal file
50
.github/workflows/_test_release.yml
vendored
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
name: test-release
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
working-directory:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
description: "From which folder this pipeline executes"
|
||||||
|
|
||||||
|
env:
|
||||||
|
POETRY_VERSION: "1.6.1"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish_to_test_pypi:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
# This permission is used for trusted publishing:
|
||||||
|
# https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/
|
||||||
|
#
|
||||||
|
# Trusted publishing has to also be configured on PyPI for each package:
|
||||||
|
# https://docs.pypi.org/trusted-publishers/adding-a-publisher/
|
||||||
|
id-token: write
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: ${{ inputs.working-directory }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up Python + Poetry ${{ env.POETRY_VERSION }}
|
||||||
|
uses: "./.github/actions/poetry_setup"
|
||||||
|
with:
|
||||||
|
python-version: "3.10"
|
||||||
|
poetry-version: ${{ env.POETRY_VERSION }}
|
||||||
|
working-directory: ${{ inputs.working-directory }}
|
||||||
|
cache-key: release
|
||||||
|
|
||||||
|
- name: Build project for distribution
|
||||||
|
run: poetry build
|
||||||
|
- name: Check Version
|
||||||
|
id: check-version
|
||||||
|
run: |
|
||||||
|
echo version=$(poetry version --short) >> $GITHUB_OUTPUT
|
||||||
|
- name: Publish package to TestPyPI
|
||||||
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
|
with:
|
||||||
|
repository-url: https://test.pypi.org/legacy/
|
||||||
|
packages-dir: ${{ inputs.working-directory }}/dist/
|
||||||
|
verbose: true
|
||||||
|
print-hash: true
|
13
.github/workflows/langchain_test_release.yml
vendored
Normal file
13
.github/workflows/langchain_test_release.yml
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
name: Test Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch: # Allows to trigger the workflow manually in GitHub UI
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
uses:
|
||||||
|
./.github/workflows/_test_release.yml
|
||||||
|
with:
|
||||||
|
working-directory: libs/langchain
|
||||||
|
secrets: inherit
|
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "langchain-experimental"
|
name = "langchain-experimental"
|
||||||
version = "0.0.32"
|
version = "0.0.33"
|
||||||
description = "Building applications with LLMs through composability"
|
description = "Building applications with LLMs through composability"
|
||||||
authors = []
|
authors = []
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "langchain"
|
name = "langchain"
|
||||||
version = "0.0.320"
|
version = "0.0.321"
|
||||||
description = "Building applications with LLMs through composability"
|
description = "Building applications with LLMs through composability"
|
||||||
authors = []
|
authors = []
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
Loading…
Reference in New Issue
Block a user