mirror of
https://github.com/run-llama/workflows-py.git
synced 2026-07-18 16:14:58 -04:00
2fc00bc560
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.4.2 to 9.0.3. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.4.2...9.0.3) --- updated-dependencies: - dependency-name: pytest dependency-version: 9.0.3 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
203 lines
5.2 KiB
TOML
203 lines
5.2 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pre-commit>=4.4.0",
|
|
"pytest>=9.0.3,<10",
|
|
"pytest-asyncio>=1.0.0",
|
|
"pytest-cov>=7.0.0",
|
|
"pytest-timeout>=2.4.0",
|
|
"pytest-xdist>=3.8.0",
|
|
"ruff>=0.14.5",
|
|
"ty>=0.0.15"
|
|
]
|
|
|
|
[project]
|
|
name = "llama-agents-dev"
|
|
version = "0.1.0"
|
|
description = "Monorepo workspace for the LlamaIndex Workflows packages."
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"types-pyyaml>=6.0.12.20250822",
|
|
"click>=8.1.7",
|
|
"httpx>=0.28.1",
|
|
"packaging>=24.1",
|
|
"pydantic>=2.12.3",
|
|
"rich>=14.0.0",
|
|
"tomlkit>=0.13.3",
|
|
"tomli>=2.3.0",
|
|
"ruamel.yaml>=0.18.0"
|
|
]
|
|
|
|
[project.scripts]
|
|
dev = "dev_cli:main"
|
|
|
|
[tool.basedpyright]
|
|
typeCheckingMode = "standard"
|
|
|
|
[[tool.basedpyright.executionEnvironments]]
|
|
root = "packages/llama-index-workflows"
|
|
pythonVersion = "3.10"
|
|
|
|
[[tool.basedpyright.executionEnvironments]]
|
|
root = "packages/llama-agents-client"
|
|
pythonVersion = "3.10"
|
|
|
|
[[tool.basedpyright.executionEnvironments]]
|
|
root = "packages/llama-agents-server"
|
|
pythonVersion = "3.10"
|
|
|
|
[[tool.basedpyright.executionEnvironments]]
|
|
root = "packages/llama-index-utils-workflow"
|
|
pythonVersion = "3.10"
|
|
|
|
[[tool.basedpyright.executionEnvironments]]
|
|
root = "packages/llama-agents-core"
|
|
pythonVersion = "3.10"
|
|
|
|
[[tool.basedpyright.executionEnvironments]]
|
|
root = "packages/llama-agents-control-plane"
|
|
pythonVersion = "3.10"
|
|
|
|
[[tool.basedpyright.executionEnvironments]]
|
|
root = "packages/llama-agents-appserver"
|
|
pythonVersion = "3.10"
|
|
|
|
[[tool.basedpyright.executionEnvironments]]
|
|
root = "packages/llamactl"
|
|
pythonVersion = "3.10"
|
|
|
|
[[tool.basedpyright.executionEnvironments]]
|
|
root = "packages/llama-agents-agentcore"
|
|
pythonVersion = "3.10"
|
|
|
|
[[tool.basedpyright.executionEnvironments]]
|
|
root = "src/dev_cli"
|
|
pythonVersion = "3.14"
|
|
|
|
[[tool.basedpyright.executionEnvironments]]
|
|
root = "packages/llama-agents-integration-tests"
|
|
pythonVersion = "3.13"
|
|
|
|
[[tool.basedpyright.executionEnvironments]]
|
|
root = "packages/llama-agents-dbos"
|
|
pythonVersion = "3.10"
|
|
|
|
[[tool.basedpyright.executionEnvironments]]
|
|
root = "examples"
|
|
pythonVersion = "3.14"
|
|
reportMissingImports = false
|
|
|
|
[tool.codespell]
|
|
ignore-words-list = "NotIn"
|
|
|
|
[tool.coverage.run]
|
|
omit = ["**/tests/*"]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/dev_cli"]
|
|
|
|
[tool.mypy]
|
|
explicit_package_bases = true
|
|
exclude = [
|
|
"packages/llama-agents-server/tests/",
|
|
"packages/llama-agents-client/tests/",
|
|
"packages/llama-index-utils-workflow/tests/",
|
|
"tests/dev_cli/",
|
|
"packages/llama-index-workflows/src/llama_agents/",
|
|
"packages/llama-index-workflows/tests/test_llama_agents_alias.py"
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
asyncio_default_fixture_loop_scope = "module"
|
|
asyncio_default_test_loop_scope = "module"
|
|
testpaths = ["tests/dev_cli"]
|
|
addopts = "-nauto --timeout=10"
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
# default flake8 rules
|
|
"E4",
|
|
"E7",
|
|
"E9",
|
|
"F", # Pyflakes rules https://docs.astral.sh/ruff/rules/#pyflakes-f
|
|
"I", # sort imports https://docs.astral.sh/ruff/rules/#isort-i
|
|
"UP007", # Use X | Y for type annotations
|
|
"UP045", # Use X | None for type annotations
|
|
"ANN001", # Missing type annotation for function argument {name}
|
|
"ANN002", # Missing type annotation for *{name}
|
|
"ANN003", # Missing type annotation for **{name}
|
|
"T201" # no print statements
|
|
]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"scripts/*" = ["T201"]
|
|
"operator/dev.py" = ["T201"]
|
|
"examples/**/*" = ["T201"]
|
|
"packages/*/tests/**/*" = [
|
|
"T201"
|
|
]
|
|
"tests/dev_cli/**/*" = [
|
|
"T201"
|
|
]
|
|
"*.ipynb" = ["T201", "ANN001", "ANN002", "ANN003"]
|
|
"__main__.py" = ["T201"]
|
|
|
|
[tool.ty.rules]
|
|
unresolved-import = "error"
|
|
|
|
[tool.ty.src]
|
|
# Exclude llama_agents.workflows alias (dynamic import aliasing not understood by static analyzers)
|
|
exclude = ["**/uv.lock", "**/.gitignore", "**/llama_agents/workflows/**", "**/test_llama_agents_alias.py"]
|
|
|
|
[tool.uv]
|
|
# boto3 is constrained to the range aioboto3/aiobotocore supports so that
|
|
# the workspace can resolve both llama-agents-agentcore (which declares
|
|
# boto3>=1.42.75) and llama-agents-control-plane (which uses aioboto3).
|
|
# When llama-agents-agentcore is installed standalone the override does not
|
|
# apply, so it will pull the newer boto3 it needs.
|
|
override-dependencies = ["boto3>=1.40.46,<1.40.62"]
|
|
|
|
[tool.uv.sources]
|
|
llama-agents-integration-tests = {workspace = true}
|
|
llama-index-utils-workflow = {workspace = true}
|
|
llama-index-workflows = {workspace = true}
|
|
llama-agents-client = {workspace = true}
|
|
llama-agents-server = {workspace = true}
|
|
llama-agents-dbos = {workspace = true}
|
|
llama-agents-core = {workspace = true}
|
|
llama-agents-control-plane = {workspace = true}
|
|
llama-agents-appserver = {workspace = true}
|
|
llamactl = {workspace = true}
|
|
llama-agents-agentcore = {workspace = true}
|
|
|
|
[tool.uv.workspace]
|
|
exclude = [
|
|
]
|
|
members = [
|
|
# core
|
|
"packages/llama-index-workflows",
|
|
# extensions
|
|
"packages/llama-agents-client",
|
|
"packages/llama-agents-server",
|
|
"packages/llama-index-utils-workflow",
|
|
# cloud
|
|
"packages/llama-agents-core",
|
|
"packages/llama-agents-control-plane",
|
|
"packages/llama-agents-appserver",
|
|
"packages/llamactl",
|
|
"packages/llama-agents-agentcore",
|
|
# integrations
|
|
"packages/llama-agents-dbos",
|
|
# internal
|
|
"docs/api_docs",
|
|
"packages/llama-agents-integration-tests",
|
|
# examples
|
|
"examples/k8s-otel"
|
|
]
|