Files
agentic-mobile-control/pyproject.toml
T
q792602257 4046c9452d fix(deps): pin paddlepaddle below 3.3.0 to avoid OCR text corruption
paddlepaddle 3.3.1 silently corrupts non-ASCII (CJK) recognized text
into literal U+FFFD replacement characters during rec postprocessing,
while leaving confidence scores high and ASCII/digit text unaffected.
The same release also breaks CPU oneDNN inference on Windows entirely
(NotImplementedError in onednn_instruction.cc). Verified on a real
task screenshot that downgrading to 3.2.x eliminates the corruption
with no other environment changes (same GBK-locale machine).
2026-07-15 16:41:58 +08:00

60 lines
1.2 KiB
TOML

[project]
name = "device-agent-runtime"
version = "0.1.0"
description = "Device-agnostic runtime for LLM-driven automation, with iPhone/WDA as the first driver."
requires-python = ">=3.13,<3.14"
dependencies = [
"anthropic>=0.69.0",
"Appium-Python-Client>=5.1.1",
"httpx>=0.27.0",
"mcp>=1.27,<2",
"openai>=1.0.0",
"paddlepaddle>=3.0.0,<3.3.0",
"paddleocr>=3.0.0",
]
[build-system]
requires = ["setuptools>=69"]
build-backend = "setuptools.build_meta"
[dependency-groups]
dev = [
"pytest>=8.3.0",
]
[tool.uv]
# Aliyun PyPI mirror for CN networks. Override locally with UV_INDEX_URL
# (e.g. `UV_INDEX_URL=https://pypi.org/simple uv sync`).
index-url = "https://mirrors.aliyun.com/pypi/simple"
[tool.uv.workspace]
members = [
"apps/cloud-api",
"apps/device-host-agent",
"packages/cloud-platform",
]
[tool.setuptools.packages.find]
include = [
"agents*",
"api*",
"core*",
"device*",
"driver*",
"perception*",
"runtime*",
"semantic*",
"skills_learning*",
"storage*",
"tools*",
"world*",
"workflow*",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra --import-mode=importlib"
markers = [
"integration: tests requiring external hardware or services",
]