-
Notifications
You must be signed in to change notification settings - Fork 363
/
Copy pathpyproject.toml
105 lines (93 loc) · 2.22 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[project]
name = "marvin"
description = "a simple and powerful tool to get things done with AI"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.10"
dynamic = ["version"]
dependencies = [
"aiosqlite>=0.20.0",
"alembic>=1.12.0",
"jinja2>=3.1.4",
"partial-json-parser>=0.2.1.1.post5",
"pydantic-ai>=0.0.31",
"pydantic-settings>=2.6.1",
"pydantic[email]>=2.10.6",
"rich>=13.9.4",
"sqlalchemy[asyncio]>=2.0.36",
"typer>=0.15.1",
]
[dependency-groups]
dev = [
"apispec",
"atproto",
"chromadb>=0.6.0",
"commentjson",
"copychat>=0.5.2",
"dirty-equals>=0.9.0",
"ipython>=8.12.3",
"pdbpp>=0.10.3",
"pre-commit",
"pytest-asyncio>=0.23.5",
"pytest-env>=1.1.5",
"pytest-rerunfailures>=15.0",
"pytest-timeout>=2.3.1",
"pytest-xdist>=3.6.1",
"pytest>=8.3.3",
"ruff",
"pandas",
"prefect",
"qdrant-client[fastembed]",
"fastmcp@git+https://github.com/jlowin/fastmcp.git",
]
[project.optional-dependencies]
audio = ["pyaudio>=0.2.14"]
slackbot = [
"pydantic-ai",
"prefect",
"numpy",
"raggy",
"turbopuffer==0.1.23",
]
[project.scripts]
marvin = "marvin.cli.main:app"
[tool.hatch.build.targets.wheel]
packages = ["src/marvin"]
include = ["migrations/**/*", "alembic.ini"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.pytest.ini_options]
addopts = "-vv --color=yes"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
timeout = 60
testpaths = ["tests"]
norecursedirs = [
"*.egg-info",
".git",
".mypy_cache",
".pytest_cache",
".ruff_cache",
".vscode",
"node_modules",
]
env = [
"MARVIN_TEST_MODE=1",
'D:MARVIN_AGENT_MODEL=openai:gpt-4o-mini',
'D:MARVIN_AGENT_TEMPERATURE=0.0',
'D:MARVIN_AGENT_RETRIES=4',
'D:MARVIN_MEMORY_PROVIDER=chroma-ephemeral',
'D:MARVIN_LOG_LEVEL=DEBUG',
'D:MARVIN_ENABLE_DEFAULT_PRINT_HANDLER=0',
]
[tool.hatch.version]
source = "vcs"
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "I001", "RUF013"]
[build-system]
requires = ["hatchling>=1.21.0", "hatch-vcs>=0.4.0"]
build-backend = "hatchling.build"
[tool.uv.workspace]
members = ["examples/fastmcp"]