Skip to content

Commit e4fb10e

Browse files
committed
chore: Add toolbox-core as a dependency
Also add to pyproject.toml along with removing unnecessary files.
1 parent 59f0634 commit e4fb10e

File tree

6 files changed

+6
-557
lines changed

6 files changed

+6
-557
lines changed

packages/toolbox-llamaindex/integration.cloudbuild.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@
1515
steps:
1616
- id: Install library requirements
1717
name: 'python:${_VERSION}'
18+
dir: 'packages/toolbox-llamaindex'
1819
args:
1920
- install
2021
- '-r'
21-
- 'packages/toolbox-llamaindex/requirements.txt'
22+
- 'requirements.txt'
2223
- '--user'
2324
entrypoint: pip
2425
- id: Install test requirements

packages/toolbox-llamaindex/pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "toolbox-llamindex"
2+
name = "toolbox-llamaindex"
33
dynamic = ["version"]
44
readme = "README.md"
55
description = "Python SDK for interacting with the Toolbox service with LlamaIndex"
@@ -9,7 +9,8 @@ authors = [
99
{name = "Google LLC", email = "[email protected]"}
1010
]
1111
dependencies = [
12-
"llama-index>=0.12.0,<1.0.0",
12+
# TODO: Bump lowest supported version to 0.2.0
13+
"toolbox-core>=0.1.0,<1.0.0",
1314
"PyYAML>=6.0.1,<7.0.0",
1415
"pydantic>=2.8.0,<3.0.0",
1516
"aiohttp>=3.8.6,<4.0.0",

packages/toolbox-llamaindex/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
-e ../toolbox-core
12
llama-index==0.12.33
23
PyYAML==6.0.2
34
pydantic==2.11.4
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-

packages/toolbox-llamaindex/src/toolbox_llamaindex/utils.py

Lines changed: 0 additions & 262 deletions
This file was deleted.

0 commit comments

Comments
 (0)