From 9cd968413644b790dfe1f3ce9bb9003502f80281 Mon Sep 17 00:00:00 2001 From: Mason Daugherty Date: Thu, 30 Jul 2026 10:56:16 -0400 Subject: [PATCH] chore(infra): add missing LICENSE files to publishable packages (#39146) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `langchain-core` and a few other packages under `libs/` build their PyPI sdists without a LICENSE file, so downstream redistributors have to supply their own copy (the conda-forge `langchain-core` feedstock, for example, keeps a manual `recipe/LICENSE` as a workaround). Packages like `langchain-classic` and `langchain-anthropic` already ship the license correctly because they have a `LICENSE` file in the package directory that hatchling picks up by default. This brings the remaining packages in line with that pattern by copying the repo-root MIT `LICENSE` (verified byte-identical to the existing `libs/langchain/LICENSE`) into the four package directories that lacked one: - `langchain-core` - `langchain-model-profiles` - `langchain-tests` (standard-tests) - `langchain-text-splitters` No `pyproject.toml` or build-config changes were needed — hatchling includes a root-level `LICENSE` in the sdist automatically once the file exists. All other package dirs (both `langchain` packages and every `libs/partners/*`) already have one and were left untouched. Verified by building each sdist with `uv build --sdist` and confirming the file is in the tarball: - `langchain_core-1.5.3.tar.gz` → `langchain_core-1.5.3/LICENSE` - `langchain_model_profiles-0.0.6.tar.gz` → `langchain_model_profiles-0.0.6/LICENSE` - `langchain_tests-1.1.9.tar.gz` → `langchain_tests-1.1.9/LICENSE` - `langchain_text_splitters-1.1.2.tar.gz` → `langchain_text_splitters-1.1.2/LICENSE` ## Release note The PyPI sdists for `langchain-core`, `langchain-model-profiles`, `langchain-tests`, and `langchain-text-splitters` now include the MIT `LICENSE` file. --- 🤖 This description was written with assistance from an AI agent. --- libs/core/LICENSE | 21 +++++++++++++++++++++ libs/model-profiles/LICENSE | 21 +++++++++++++++++++++ libs/standard-tests/LICENSE | 21 +++++++++++++++++++++ libs/text-splitters/LICENSE | 21 +++++++++++++++++++++ 4 files changed, 84 insertions(+) create mode 100644 libs/core/LICENSE create mode 100644 libs/model-profiles/LICENSE create mode 100644 libs/standard-tests/LICENSE create mode 100644 libs/text-splitters/LICENSE diff --git a/libs/core/LICENSE b/libs/core/LICENSE new file mode 100644 index 0000000000..3957738673 --- /dev/null +++ b/libs/core/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) LangChain, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/libs/model-profiles/LICENSE b/libs/model-profiles/LICENSE new file mode 100644 index 0000000000..3957738673 --- /dev/null +++ b/libs/model-profiles/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) LangChain, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/libs/standard-tests/LICENSE b/libs/standard-tests/LICENSE new file mode 100644 index 0000000000..3957738673 --- /dev/null +++ b/libs/standard-tests/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) LangChain, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/libs/text-splitters/LICENSE b/libs/text-splitters/LICENSE new file mode 100644 index 0000000000..3957738673 --- /dev/null +++ b/libs/text-splitters/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) LangChain, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.