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