Skip to content

Commit

Permalink
Remove core from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Rai220 committed Oct 4, 2024
1 parent bf11f52 commit 142b46e
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 20 deletions.
6 changes: 0 additions & 6 deletions .github/scripts/check_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@


LANGCHAIN_DIRS = [
"libs/core",
"libs/langchain",
"libs/community",
"libs/experimental",
Expand Down Expand Up @@ -98,11 +97,6 @@ def add_dependents(dirs_to_eval: Set[str], dependents: dict) -> List[str]:


def _get_configs_for_single_dir(job: str, dir_: str) -> List[Dict[str, str]]:
if dir_ == "libs/core":
return [
{"working-directory": dir_, "python-version": f"3.{v}"}
for v in range(8, 13)
]
min_python = "3.8"
max_python = "3.12"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_test_doc_imports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- name: Install langchain editable
run: |
poetry run pip install -e libs/core libs/langchain libs/community libs/experimental
poetry run pip install -e libs/langchain libs/community libs/experimental
- name: Check doc imports
shell: bash
Expand Down
3 changes: 1 addition & 2 deletions docs/api_reference/create_api_rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,6 @@ def _package_dir(package_name: str = "langchain") -> Path:
"langchain",
"experimental",
"community",
"core",
"cli",
"text-splitters",
):
Expand Down Expand Up @@ -534,7 +533,7 @@ def _build_index(dirs: List[str]) -> None:
"aws": "AWS",
"ai21": "AI21",
}
ordered = ["core", "langchain", "text-splitters", "community", "experimental"]
ordered = ["langchain", "text-splitters", "community", "experimental"]
main_ = [dir_ for dir_ in ordered if dir_ in dirs]
integrations = sorted(dir_ for dir_ in dirs if dir_ not in main_)
doc = """# LangChain Python API Reference
Expand Down
8 changes: 0 additions & 8 deletions docs/docs/contributing/code/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,6 @@ There are also [integration tests and code-coverage](/docs/contributing/testing/

If you are only developing `langchain_core` or `langchain_experimental`, you can simply install the dependencies for the respective projects and run tests:

```bash
cd libs/core
poetry install --with test
make test
```

Or:

```bash
cd libs/experimental
poetry install --with test
Expand Down
3 changes: 0 additions & 3 deletions libs/langchain/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ COPY libs/langchain/pyproject.toml libs/langchain/poetry.toml libs/langchain/poe
# Copy the langchain library for installation
COPY libs/langchain/ libs/langchain/

# Copy the core library for installation
COPY libs/core ../core

# Copy the community library for installation
COPY libs/community/ ../community/

Expand Down

0 comments on commit 142b46e

Please sign in to comment.