gabriel / musehub public
pyproject.toml toml
109 lines 3.3 KB
Raw
sha256:bb2baaabdd19320bde50cb69d447fd1c1e571467df729be1a23b5e93064b046a feat(intel): standardize headers, gauge icon, velocity card… Sonnet 4.6 minor ⚠ breaking 142 days ago
1 [project]
2 name = "musehub"
3 version = "0.2.0rc6"
4 description = "MuseHub — remote collaboration, code intelligence, and MCP tooling for 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[http2]>=0.28.1",
14 "psutil>=6.1.0",
15 "pydantic>=2.12.5",
16 "pydantic-settings>=2.13.1",
17 "websockets>=15.0.1",
18 "sqlalchemy[asyncio]>=2.0.48",
19 "asyncpg>=0.31.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 "msgpack>=1.1",
30 "zstandard>=0.22.0",
31 ]
32
33
34 [project.optional-dependencies]
35 dev = [
36 "muse>=0.2.0", # VCS engine — bind-mounted at /src/muse in docker-compose.override.yml
37 "muse_contracts>=0.2.0", # cross-repo wire contracts — bind-mounted at /src/contracts in docker-compose.override.yml
38 "pytest>=8.3.5",
39 "pytest-asyncio>=0.25.3",
40 "pytest-cov>=6.1.0",
41 "pytest-timeout>=2.3.1",
42 "pytest-xdist>=3.6.1",
43 "coverage>=7.8.0",
44 "anyio>=4.9.0",
45 "mypy>=1.15.0",
46 "factory-boy>=3.3.3",
47 ]
48
49 [build-system]
50 requires = ["hatchling"]
51 build-backend = "hatchling.build"
52
53 [tool.pytest.ini_options]
54 asyncio_mode = "auto"
55 asyncio_default_fixture_loop_scope = "function"
56 testpaths = ["tests"]
57 cache_dir = "/tmp/pytest_cache"
58 addopts = "-v --tb=short -p no:randomly -m 'not migrations'"
59 markers = [
60 "migrations: tests that DROP/CREATE databases — run explicitly with -m migrations, never in the default suite",
61 ]
62 filterwarnings = [
63 "ignore:The 'is_flag' and 'flag_value' parameters are not supported by Typer:DeprecationWarning",
64 # slowapi uses asyncio.iscoroutinefunction which is deprecated in 3.14+.
65 # This is a third-party library issue; suppress until slowapi ships a fix.
66 "ignore:'asyncio.iscoroutinefunction' is deprecated:DeprecationWarning:slowapi",
67 # slowapi references the starlette alias HTTP_422_UNPROCESSABLE_ENTITY which
68 # is deprecated in favour of HTTP_422_UNPROCESSABLE_CONTENT.
69 "ignore:'HTTP_422_UNPROCESSABLE_ENTITY' is deprecated:DeprecationWarning:slowapi",
70 # AsyncMock coroutines created inside wire_push are intentionally discarded
71 # when the DB mock raises — the test only checks the warning log, not DB state.
72 "ignore:coroutine 'AsyncMockMixin._execute_mock_call' was never awaited:RuntimeWarning",
73 ]
74
75 [tool.coverage.run]
76 source = ["musehub"]
77 branch = true
78 omit = ["musehub/__init__.py", "*/tests/*"]
79
80 [tool.coverage.report]
81 fail_under = 60
82 show_missing = true
83 exclude_lines = [
84 "pragma: no cover",
85 "def __repr__",
86 "raise NotImplementedError",
87 "if TYPE_CHECKING:",
88 "if typing.TYPE_CHECKING:",
89 ]
90
91 [tool.mypy]
92 python_version = "3.14"
93 strict = true
94 explicit_package_bases = true
95 namespace_packages = true
96 warn_unreachable = true
97 show_error_codes = true
98 mypy_path = "../contracts"
99
100 [[tool.mypy.overrides]]
101 module = ["tests.*"]
102 disallow_untyped_decorators = false
103
104 [[tool.mypy.overrides]]
105 module = ["boto3", "botocore.*", "mido", "yaml", "qdrant_client", "qdrant_client.*", "msgpack"]
106 ignore_missing_imports = true
107
108 [tool.hatch.build.targets.wheel]
109 packages = ["musehub"]
File History 1 commit
sha256:bb2baaabdd19320bde50cb69d447fd1c1e571467df729be1a23b5e93064b046a feat(intel): standardize headers, gauge icon, velocity card… Sonnet 4.6 minor 142 days ago