From d4b54abaed187324bc73f946c260ad43910546b8 Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Thu, 29 Aug 2024 15:46:32 -0700 Subject: [PATCH] release 0.1.7rc0 (#2) --- README.md | 47 +----------------------------------- libs/together/poetry.lock | 6 ++--- libs/together/pyproject.toml | 26 +++++++++++--------- 3 files changed, 19 insertions(+), 60 deletions(-) diff --git a/README.md b/README.md index ef062b6..a65dfe9 100644 --- a/README.md +++ b/README.md @@ -2,49 +2,4 @@ This repository contains 1 package with Together integrations with LangChain: -- [langchain-{package_lower}](https://pypi.org/project/langchain-{package_lower}/) - -## Initial Repo Checklist (Remove this section after completing) - -This setup assumes that the partner package is already split. For those instructions, -see [these docs](https://python.langchain.com/docs/contributing/integrations#partner-packages). - -Code - -- [ ] Fill out the readme above (for folks that follow pypi link) -- [ ] Copy package into /libs folder -- [ ] Update these fields in /libs/*/pyproject.toml - - - `tool.poetry.repository` - - `tool.poetry.urls["Source Code"]` - -Workflow code - -- [ ] Add secrets as env vars in .github/workflows/_release.yml -- [ ] Populate .github/workflows/_release.yml with `on.workflow_dispatch.inputs.working-directory.default` -- [ ] Configure `LIB_DIRS` in .github/scripts/check_diff.py - -In github - -- [ ] Add integration testing secrets in Github (ask Erick for help) -- [ ] Add partner collaborators in Github (ask Erick for help) -- [ ] "Allow auto-merge" in General Settings -- [ ] Only "Allow squash merging" in General Settings -- [ ] Set up ruleset matching CI build (ask Erick for help) - - name: ci build - - enforcement: active - - bypass: write - - target: default branch - - rules: restrict deletions, require status checks ("CI Success"), block force pushes - -Pypi - -- [ ] Add new repo to test-pypi and pypi trusted publishing (ask Erick for help) - -Slack - -- [ ] Set up release alerting in Slack (ask Erick for help) - -release: -/github subscribe langchain-ai/langchain-together releases workflows:{name:"release"} -/github unsubscribe langchain-ai/langchain-together issues pulls commits deployments +- [langchain-together](https://pypi.org/project/langchain-together/) diff --git a/libs/together/poetry.lock b/libs/together/poetry.lock index b7fb148..ea497d8 100644 --- a/libs/together/poetry.lock +++ b/libs/together/poetry.lock @@ -701,7 +701,7 @@ typing-extensions = ">=4.7" type = "git" url = "https://github.com/langchain-ai/langchain.git" reference = "HEAD" -resolved_reference = "fabd3295fabb4c79fedb4dbbe725a308658ef8d8" +resolved_reference = "e7c856c2980ad9ff9aeeb1185f4e6073ef7bb934" subdirectory = "libs/core" [[package]] @@ -722,7 +722,7 @@ tiktoken = ">=0.7,<1" type = "git" url = "https://github.com/langchain-ai/langchain.git" reference = "HEAD" -resolved_reference = "fabd3295fabb4c79fedb4dbbe725a308658ef8d8" +resolved_reference = "e7c856c2980ad9ff9aeeb1185f4e6073ef7bb934" subdirectory = "libs/partners/openai" [[package]] @@ -743,7 +743,7 @@ pytest = ">=7,<9" type = "git" url = "https://github.com/langchain-ai/langchain.git" reference = "HEAD" -resolved_reference = "fabd3295fabb4c79fedb4dbbe725a308658ef8d8" +resolved_reference = "e7c856c2980ad9ff9aeeb1185f4e6073ef7bb934" subdirectory = "libs/standard-tests" [[package]] diff --git a/libs/together/pyproject.toml b/libs/together/pyproject.toml index d6e34ba..6224d4e 100644 --- a/libs/together/pyproject.toml +++ b/libs/together/pyproject.toml @@ -1,10 +1,10 @@ [build-system] -requires = [ "poetry-core>=1.0.0",] +requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" [tool.poetry] name = "langchain-together" -version = "0.1.6" +version = "0.1.7rc0" description = "An integration package connecting Together AI and LangChain" authors = [] readme = "README.md" @@ -26,14 +26,18 @@ requests = "^2" aiohttp = "^3.9.1" [tool.ruff.lint] -select = [ "E", "F", "I", "D",] +select = ["E", "F", "I", "D"] [tool.coverage.run] -omit = [ "tests/*",] +omit = ["tests/*"] [tool.pytest.ini_options] addopts = "--snapshot-warn-unused --strict-markers --strict-config --durations=5" -markers = [ "requires: mark tests as requiring a specific library", "asyncio: mark tests as requiring asyncio", "compile: mark placeholder test used to compile integration tests without running them",] +markers = [ + "requires: mark tests as requiring a specific library", + "asyncio: mark tests as requiring asyncio", + "compile: mark placeholder test used to compile integration tests without running them", +] asyncio_mode = "auto" [tool.poetry.group.test] @@ -58,7 +62,7 @@ optional = true convention = "google" [tool.ruff.lint.per-file-ignores] -"tests/**" = [ "D",] +"tests/**" = ["D"] [tool.poetry.group.test.dependencies] pytest = "^7.3.0" @@ -68,9 +72,9 @@ syrupy = "^4.0.2" pytest-watcher = "^0.3.4" pytest-asyncio = "^0.21.1" docarray = "^0.32.1" -langchain-openai = {git = "https://github.com/langchain-ai/langchain.git", subdirectory = "libs/partners/openai"} -langchain-core = {git = "https://github.com/langchain-ai/langchain.git", subdirectory = "libs/core"} -langchain-standard-tests = {git = "https://github.com/langchain-ai/langchain.git", subdirectory = "libs/standard-tests"} +langchain-openai = { git = "https://github.com/langchain-ai/langchain.git", subdirectory = "libs/partners/openai" } +langchain-core = { git = "https://github.com/langchain-ai/langchain.git", subdirectory = "libs/core" } +langchain-standard-tests = { git = "https://github.com/langchain-ai/langchain.git", subdirectory = "libs/standard-tests" } [tool.poetry.group.codespell.dependencies] codespell = "^2.2.0" @@ -90,7 +94,7 @@ ruff = "^0.5" [tool.poetry.group.typing.dependencies] mypy = "^1.10" types-requests = "^2" -langchain-core = {git = "https://github.com/langchain-ai/langchain.git", subdirectory = "libs/core"} +langchain-core = { git = "https://github.com/langchain-ai/langchain.git", subdirectory = "libs/core" } [tool.poetry.group.dev.dependencies] -langchain-core = {git = "https://github.com/langchain-ai/langchain.git", subdirectory = "libs/core"} +langchain-core = { git = "https://github.com/langchain-ai/langchain.git", subdirectory = "libs/core" }