mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-02 03:26:17 +00:00
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:
@@ -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)
|
||||
|
@@ -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
|
||||
```
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user