mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-06 10:42:39 +00:00
add aiohttp as unit, integration dependency
This commit is contained in:
parent
34db80fb15
commit
399461dee2
2 changed files with 8 additions and 1 deletions
|
@ -56,7 +56,7 @@ dev = [
|
||||||
"ruamel.yaml", # needed for openapi generator
|
"ruamel.yaml", # needed for openapi generator
|
||||||
]
|
]
|
||||||
# These are the dependencies required for running unit tests.
|
# These are the dependencies required for running unit tests.
|
||||||
unit = ["sqlite-vec", "openai", "aiosqlite", "pypdf", "chardet", "qdrant-client"]
|
unit = ["sqlite-vec", "openai", "aiosqlite", "aiohttp", "pypdf", "chardet", "qdrant-client"]
|
||||||
# These are the core dependencies required for running integration tests. They are shared across all
|
# These are the core dependencies required for running integration tests. They are shared across all
|
||||||
# providers. If a provider requires additional dependencies, please add them to your environment
|
# providers. If a provider requires additional dependencies, please add them to your environment
|
||||||
# separately. If you are using "uv" to execute your tests, you can use the "--with" flag to specify extra
|
# separately. If you are using "uv" to execute your tests, you can use the "--with" flag to specify extra
|
||||||
|
@ -64,6 +64,7 @@ unit = ["sqlite-vec", "openai", "aiosqlite", "pypdf", "chardet", "qdrant-client"
|
||||||
test = [
|
test = [
|
||||||
"openai",
|
"openai",
|
||||||
"aiosqlite",
|
"aiosqlite",
|
||||||
|
"aiohttp",
|
||||||
"torch>=2.6.0",
|
"torch>=2.6.0",
|
||||||
"torchvision>=0.21.0",
|
"torchvision>=0.21.0",
|
||||||
"opentelemetry-sdk",
|
"opentelemetry-sdk",
|
||||||
|
|
6
uv.lock
generated
6
uv.lock
generated
|
@ -1,4 +1,5 @@
|
||||||
version = 1
|
version = 1
|
||||||
|
revision = 1
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
resolution-markers = [
|
resolution-markers = [
|
||||||
"(python_full_version < '3.11' and platform_machine != 'aarch64' and sys_platform == 'linux') or (python_full_version < '3.11' and sys_platform != 'darwin' and sys_platform != 'linux')",
|
"(python_full_version < '3.11' and platform_machine != 'aarch64' and sys_platform == 'linux') or (python_full_version < '3.11' and sys_platform != 'darwin' and sys_platform != 'linux')",
|
||||||
|
@ -1370,6 +1371,7 @@ docs = [
|
||||||
{ name = "tomli" },
|
{ name = "tomli" },
|
||||||
]
|
]
|
||||||
test = [
|
test = [
|
||||||
|
{ name = "aiohttp" },
|
||||||
{ name = "aiosqlite" },
|
{ name = "aiosqlite" },
|
||||||
{ name = "autoevals" },
|
{ name = "autoevals" },
|
||||||
{ name = "chardet" },
|
{ name = "chardet" },
|
||||||
|
@ -1385,6 +1387,7 @@ test = [
|
||||||
{ name = "torchvision", version = "0.21.0+cpu", source = { registry = "https://download.pytorch.org/whl/cpu" }, marker = "(platform_machine != 'aarch64' and sys_platform == 'linux') or (sys_platform != 'darwin' and sys_platform != 'linux')" },
|
{ name = "torchvision", version = "0.21.0+cpu", source = { registry = "https://download.pytorch.org/whl/cpu" }, marker = "(platform_machine != 'aarch64' and sys_platform == 'linux') or (sys_platform != 'darwin' and sys_platform != 'linux')" },
|
||||||
]
|
]
|
||||||
unit = [
|
unit = [
|
||||||
|
{ name = "aiohttp" },
|
||||||
{ name = "aiosqlite" },
|
{ name = "aiosqlite" },
|
||||||
{ name = "chardet" },
|
{ name = "chardet" },
|
||||||
{ name = "openai" },
|
{ name = "openai" },
|
||||||
|
@ -1395,6 +1398,8 @@ unit = [
|
||||||
|
|
||||||
[package.metadata]
|
[package.metadata]
|
||||||
requires-dist = [
|
requires-dist = [
|
||||||
|
{ name = "aiohttp", marker = "extra == 'test'" },
|
||||||
|
{ name = "aiohttp", marker = "extra == 'unit'" },
|
||||||
{ name = "aiosqlite", marker = "extra == 'test'" },
|
{ name = "aiosqlite", marker = "extra == 'test'" },
|
||||||
{ name = "aiosqlite", marker = "extra == 'unit'" },
|
{ name = "aiosqlite", marker = "extra == 'unit'" },
|
||||||
{ name = "autoevals", marker = "extra == 'test'" },
|
{ name = "autoevals", marker = "extra == 'test'" },
|
||||||
|
@ -1455,6 +1460,7 @@ requires-dist = [
|
||||||
{ name = "types-setuptools", marker = "extra == 'dev'" },
|
{ name = "types-setuptools", marker = "extra == 'dev'" },
|
||||||
{ name = "uvicorn", marker = "extra == 'dev'" },
|
{ name = "uvicorn", marker = "extra == 'dev'" },
|
||||||
]
|
]
|
||||||
|
provides-extras = ["dev", "unit", "test", "docs", "codegen"]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "llama-stack-client"
|
name = "llama-stack-client"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue