experimental: migrate to external repo (#26879)

security scanners can't distinguish monorepo sources from each other.
this will resolve issues for folks trying to use e.g. langchain-core but
getting security issues from experimental flagged!
This commit is contained in:
Erick Friis
2024-09-25 19:02:19 -07:00
committed by GitHub
parent c750600d3d
commit 2ea5f60cc5
223 changed files with 570 additions and 25802 deletions

View File

@@ -26,7 +26,6 @@ from sphinx.util.docutils import SphinxDirective
_DIR = Path(__file__).parent.absolute()
sys.path.insert(0, os.path.abspath("."))
sys.path.insert(0, os.path.abspath("../../libs/langchain"))
sys.path.insert(0, os.path.abspath("../../libs/experimental"))
with (_DIR.parents[1] / "libs" / "langchain" / "pyproject.toml").open("r") as f:
data = toml.load(f)

View File

@@ -73,9 +73,9 @@ make docker_tests
There are also [integration tests and code-coverage](/docs/contributing/testing/) available.
### Only develop langchain_core or langchain_experimental
### Only develop langchain_core or langchain_community
If you are only developing `langchain_core` or `langchain_experimental`, you can simply install the dependencies for the respective projects and run tests:
If you are only developing `langchain_core` or `langchain_community`, you can simply install the dependencies for the respective projects and run tests:
```bash
cd libs/core
@@ -86,7 +86,7 @@ make test
Or:
```bash
cd libs/experimental
cd libs/community
poetry install --with test
make test
```

View File

@@ -1,7 +1,6 @@
-e ../libs/core
-e ../libs/langchain
-e ../libs/community
-e ../libs/experimental
-e ../libs/text-splitters
langchain-cohere
urllib3==1.26.19