gabriel / musehub public
pyproject.toml
97 lines 2.5 KB
f00d67d1 dev → main: fix MCP get_context author and artifact paths (#36) Gabriel Cardona <cgcardona@gmail.com> 2d ago
1 [project]
2 name = "musehub"
3 version = "0.1.0"
4 description = "MuseHub — the music composition version control platform powered by Muse VCS"
5 readme = "README.md"
6 requires-python = ">=3.14"
7 dependencies = [
8 "fastapi>=0.135.1",
9 "jinja2>=3.1.6",
10 "aiofiles>=25.1.0",
11 "uvicorn[standard]>=0.42.0",
12 "httpx>=0.28.1",
13 "pydantic>=2.12.5",
14 "pydantic-settings>=2.13.1",
15 "websockets>=15.0.1",
16 "PyJWT>=2.10.1",
17 "sqlalchemy[asyncio]>=2.0.48",
18 "asyncpg>=0.31.0",
19 "aiosqlite>=0.21.0",
20 "alembic>=1.18.4",
21 "psycopg2-binary>=2.9.10",
22 "slowapi>=0.1.9",
23 "cryptography>=46.0.5",
24 "boto3>=1.42.71",
25 "mido>=1.3.3",
26 "pyyaml>=6.0.2",
27 "mistune>=3.0.0",
28 "typer>=0.15.4",
29 ]
30
31
32 [project.optional-dependencies]
33 dev = [
34 "pytest>=8.3.5",
35 "pytest-asyncio>=0.25.3",
36 "pytest-cov>=6.1.0",
37 "pytest-xdist>=3.6.1",
38 "coverage>=7.8.0",
39 "anyio>=4.9.0",
40 "mypy>=1.15.0",
41 "factory-boy>=3.3.3",
42 ]
43
44 [build-system]
45 requires = ["hatchling"]
46 build-backend = "hatchling.build"
47
48 [tool.pytest.ini_options]
49 asyncio_mode = "auto"
50 asyncio_default_fixture_loop_scope = "function"
51 testpaths = ["tests"]
52 cache_dir = "/tmp/pytest_cache"
53 addopts = "-v --tb=short -p no:randomly"
54 filterwarnings = [
55 "ignore:The 'is_flag' and 'flag_value' parameters are not supported by Typer:DeprecationWarning",
56 # aiosqlite uses Python's deprecated default datetime adapter internally;
57 # this is a third-party library issue, not ours (production uses asyncpg).
58 "ignore:The default datetime adapter is deprecated:DeprecationWarning:aiosqlite",
59 # slowapi uses asyncio.iscoroutinefunction which is deprecated in 3.14+.
60 # This is a third-party library issue; suppress until slowapi ships a fix.
61 "ignore:'asyncio.iscoroutinefunction' is deprecated:DeprecationWarning:slowapi",
62 ]
63
64 [tool.coverage.run]
65 source = ["musehub"]
66 branch = true
67 omit = ["musehub/__init__.py", "*/tests/*"]
68
69 [tool.coverage.report]
70 fail_under = 60
71 show_missing = true
72 exclude_lines = [
73 "pragma: no cover",
74 "def __repr__",
75 "raise NotImplementedError",
76 "if TYPE_CHECKING:",
77 "if typing.TYPE_CHECKING:",
78 ]
79
80 [tool.mypy]
81 python_version = "3.14"
82 strict = true
83 explicit_package_bases = true
84 namespace_packages = true
85 warn_unreachable = true
86 show_error_codes = true
87
88 [[tool.mypy.overrides]]
89 module = ["tests.*"]
90 disallow_untyped_decorators = false
91
92 [[tool.mypy.overrides]]
93 module = ["boto3", "botocore.*", "mido", "yaml", "qdrant_client", "qdrant_client.*"]
94 ignore_missing_imports = true
95
96 [tool.hatch.build.targets.wheel]
97 packages = ["musehub"]