gabriel / musehub public
pyproject.toml
90 lines 2.0 KB
51c9a460 chore(deps): upgrade to Python 3.12 with latest dependencies Gabriel Cardona <gabriel@tellurstori.com> 6d 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.12"
7 dependencies = [
8 "fastapi>=0.135.0",
9 "jinja2>=3.1.0",
10 "aiofiles>=25.1.0",
11 "uvicorn[standard]>=0.42.0",
12 "httpx>=0.28.0",
13 "pydantic>=2.12.0",
14 "pydantic-settings>=2.13.0",
15 "websockets>=16.0",
16 "PyJWT>=2.12.0",
17 "sqlalchemy[asyncio]>=2.0.48",
18 "asyncpg>=0.31.0",
19 "aiosqlite>=0.22.0",
20 "alembic>=1.18.0",
21 "psycopg2-binary>=2.9.11",
22 "slowapi>=0.1.9",
23 "cryptography>=46.0.0",
24 "boto3>=1.42.0",
25 "mido>=1.3.3",
26 "pyyaml>=6.0.3",
27 "typer>=0.24.0",
28 ]
29
30
31 [project.optional-dependencies]
32 dev = [
33 "pytest>=9.0.0",
34 "pytest-asyncio>=1.3.0",
35 "pytest-cov>=7.0.0",
36 "pytest-xdist>=3.8.0",
37 "coverage>=7.0.0",
38 "anyio>=4.12.0",
39 "mypy>=1.19.0",
40 "factory-boy>=3.3.3",
41 ]
42
43 [build-system]
44 requires = ["hatchling"]
45 build-backend = "hatchling.build"
46
47 [tool.pytest.ini_options]
48 asyncio_mode = "auto"
49 asyncio_default_fixture_loop_scope = "function"
50 testpaths = ["tests"]
51 cache_dir = "/tmp/pytest_cache"
52 addopts = "-v --tb=short -p no:randomly"
53 filterwarnings = [
54 "ignore:The 'is_flag' and 'flag_value' parameters are not supported by Typer:DeprecationWarning",
55 ]
56
57 [tool.coverage.run]
58 source = ["musehub"]
59 branch = true
60 omit = ["musehub/__init__.py", "*/tests/*"]
61
62 [tool.coverage.report]
63 fail_under = 80
64 show_missing = true
65 exclude_lines = [
66 "pragma: no cover",
67 "def __repr__",
68 "raise NotImplementedError",
69 "if TYPE_CHECKING:",
70 "if typing.TYPE_CHECKING:",
71 ]
72
73 [tool.mypy]
74 python_version = "3.12"
75 strict = true
76 explicit_package_bases = true
77 namespace_packages = true
78 warn_unreachable = true
79 show_error_codes = true
80
81 [[tool.mypy.overrides]]
82 module = ["tests.*"]
83 disallow_untyped_decorators = false
84
85 [[tool.mypy.overrides]]
86 module = ["boto3", "botocore.*", "mido", "yaml"]
87 ignore_missing_imports = true
88
89 [tool.hatch.build.targets.wheel]
90 packages = ["musehub"]