gabriel / musehub public
pyproject.toml toml
122 lines 4.2 KB Hotspot Cold Blast
Raw
sha256:ec485c53d6d925908a9b881b4bb0e16ebf231e42794d27d1faba11a3bb8de709 chore(release): MuseHub 0.2.3rc32 (muse#251: every grammar … Opus 5.5 patch 1 day ago
1 [project]
2 name = "musehub"
3 version = "0.2.1rc9"
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.136.1",
10 "jinja2>=3.1.6",
11 "aiofiles>=25.1.0",
12 "uvicorn[standard]>=0.46.0",
13 "httpx[http2]>=0.28.1",
14 "psutil>=7.2.2",
15 "pydantic>=2.13.3",
16 "pydantic-settings>=2.14.0",
17 "websockets>=16.0",
18 "sqlalchemy[asyncio]>=2.0.49",
19 "asyncpg>=0.31.0",
20 "alembic>=1.18.4",
21 "psycopg2-binary>=2.9.12",
22 "slowapi>=0.1.9",
23 "cryptography>=48.0.0",
24 "boto3>=1.43.3",
25 "mido>=1.3.3",
26 "pyyaml>=6.0.3",
27 "mistune>=3.2.1",
28 "typer>=0.25.1",
29 "msgpack>=1.1.2",
30 "zstandard>=0.25.0",
31 "cairosvg>=2.7.1",
32 "playwright>=1.50.0",
33 ]
34
35
36 [project.optional-dependencies]
37 dev = [
38 "muse>=0.2.0", # VCS engine — bind-mounted at /src/muse in docker-compose.override.yml
39 "muse_contracts>=0.2.0", # cross-repo wire contracts — bind-mounted at /src/contracts in docker-compose.override.yml
40 "pytest>=9.0.3",
41 "pytest-asyncio>=1.3.0",
42 "pytest-cov>=7.1.0",
43 "pytest-timeout>=2.3.1",
44 "pytest-xdist>=3.6.1",
45 "coverage>=7.13.0",
46 "anyio>=4.13.0",
47 "mypy>=1.20.0",
48 "factory-boy>=3.3.3",
49 ]
50
51 [build-system]
52 requires = ["hatchling"]
53 build-backend = "hatchling.build"
54
55 [tool.pytest.ini_options]
56 asyncio_mode = "auto"
57 asyncio_default_fixture_loop_scope = "function"
58 testpaths = ["tests"]
59 cache_dir = "/tmp/pytest_cache"
60 addopts = "-v --tb=short -p no:randomly"
61 markers = [
62 "slow: tests that are slow or require external infrastructure — skip with -m 'not slow'",
63 "wire: wire protocol regression suite (mpack push/fetch/gc/ff/scan/rate) — select with -m wire",
64 "migrations: tests that DROP/CREATE databases — run explicitly with -m migrations, never in the default suite",
65 "install_e2e: runs the real install.sh against real sdists and pip (offline wheelhouse); needs the muse checkout — select with -m install_e2e",
66 "no_db: pure tests (release safety, gates, installer E2E): a session that collects only these never touches the database",
67 "tier1: unit tests — pure functions, no I/O",
68 "tier2: integration tests — real DB via db_session fixture",
69 "tier3: end-to-end tests — FastAPI TestClient round-trips",
70 "tier4: stress tests — concurrency and idempotency under load",
71 "tier5: data integrity tests — DB invariants",
72 "tier6: performance tests — query latency with index coverage",
73 "tier7: security tests — sig replay, cross-protocol, impersonation",
74 ]
75 filterwarnings = [
76 "ignore:The 'is_flag' and 'flag_value' parameters are not supported by Typer:DeprecationWarning",
77 # slowapi uses asyncio.iscoroutinefunction which is deprecated in 3.14+.
78 # This is a third-party library issue; suppress until slowapi ships a fix.
79 "ignore:'asyncio.iscoroutinefunction' is deprecated:DeprecationWarning:slowapi",
80 # slowapi references the starlette alias HTTP_422_UNPROCESSABLE_ENTITY which
81 # is deprecated in favour of HTTP_422_UNPROCESSABLE_CONTENT.
82 "ignore:'HTTP_422_UNPROCESSABLE_ENTITY' is deprecated:DeprecationWarning:slowapi",
83 # AsyncMock coroutines created inside wire_push are intentionally discarded
84 # when the DB mock raises — the test only checks the warning log, not DB state.
85 "ignore:coroutine 'AsyncMockMixin._execute_mock_call' was never awaited:RuntimeWarning",
86 ]
87
88 [tool.coverage.run]
89 source = ["musehub"]
90 branch = true
91 omit = ["musehub/__init__.py", "*/tests/*"]
92
93 [tool.coverage.report]
94 fail_under = 60
95 show_missing = true
96 exclude_lines = [
97 "pragma: no cover",
98 "def __repr__",
99 "raise NotImplementedError",
100 "if TYPE_CHECKING:",
101 "if typing.TYPE_CHECKING:",
102 ]
103
104 [tool.mypy]
105 python_version = "3.14"
106 strict = true
107 explicit_package_bases = true
108 namespace_packages = true
109 warn_unreachable = true
110 show_error_codes = true
111 mypy_path = "../contracts"
112
113 [[tool.mypy.overrides]]
114 module = ["tests.*"]
115 disallow_untyped_decorators = false
116
117 [[tool.mypy.overrides]]
118 module = ["boto3", "botocore.*", "mido", "yaml", "qdrant_client", "qdrant_client.*", "msgpack"]
119 ignore_missing_imports = true
120
121 [tool.hatch.build.targets.wheel]
122 packages = ["musehub"]
File History 20 commits
sha256:ec485c53d6d925908a9b881b4bb0e16ebf231e42794d27d1faba11a3bb8de709 chore(release): MuseHub 0.2.3rc32 (muse#251: every grammar … Opus 5.5 patch 1 day ago
sha256:24690a2261a899adba114bb45daf361629ea2742ff2097296fcde644b5d056a3 chore(release): MuseHub 0.2.3rc31 (#300 #306 #279 #320 #329… Opus 5.5 patch 1 day ago
sha256:126b1d045ef595c2ab66bbb6406cb946227baf882d8fc3e7041490b1ffe6c6ac chore(release): MuseHub 0.2.3rc30 (#309 #310 #311 #312 #289… Opus 5.5 patch 1 day ago
sha256:9eb64b3f6f17c88a917dee50e29fcc1b4fefa4229c1f24becb3a042fe1a2fd90 chore(release): MuseHub 0.2.3rc29 (rc28 + real client IP be… Opus 5.5 patch 1 day ago
sha256:68595e78220868509a5b91a7f0b9c437ac98b04dd489c9df30d0286cbe18477f chore(release): MuseHub 0.2.3rc28 (rc27 + #302 sigil, REST … Opus 5.5 patch 1 day ago
sha256:7fb3e756adc7e9b97fd9572080882207dd1e35cd13c0acfbf55b84e28afae2aa chore(release): MuseHub 0.2.3rc27 (rc26 content + MCP, prof… Opus 5.5 patch 1 day ago
sha256:eb87ec17082377041df611e94dc6f57ba2251d15113911b3007ac353be49ffc4 chore(release): MuseHub 0.2.3rc26 (0.2.3-rc.25 names the re… Opus 5.5 patch 1 day ago
sha256:458bf98d314ffa2748ae24eff6b2b5b731a9a0acbdc074786e1e00f98f811f42 chore(release): MuseHub 0.2.3rc25 on dev (Mists wave, reser… Opus 5.5 patch 2 days ago
sha256:e9b3f4a4ba567e3ebd6f08d2bc3e072938b58f4f95218be1027821cef58c627c chore(release): MuseHub 0.2.3rc24 on dev (hotfix: navigatio… Opus 5.5 patch 2 days ago
sha256:75e979ecf0f2ec3e9ae0bfb06312dc26ce1f7f0fe21cd24045b1649706390fb6 chore(release): MuseHub 0.2.3rc23 on dev Opus 5.5 patch 2 days ago
sha256:138c15c0e07ee759a9ec0daf6314663981be61e971c621ae9ea1a8e7af9937df chore(release): MuseHub 0.2.3rc22 on dev (rc16-rc22 work la… Opus 5.5 patch 2 days ago
sha256:66f38b3439a6dbbf15f3fd4d92b89accf8f82ee4fb95b9795fdf05a92857c0ea chore(release): bump MuseHub to 0.2.3rc15 (always-on intel:… Sonnet 5.5 patch 3 days ago
sha256:369f691c7aaec3ca84a864ad1d099d5409045ddc12d185a922b3c84b9e2a1bad merge: 100% passing, parallelized MuseHub test suite (task/… Sonnet 5.5 patch 3 days ago
sha256:8166b51ae53275831023a7ce334228b3ccc8237b55d68a35172389db9ff46ad5 test: 100% passing MuseHub suite, parallelized (xdist, one … Sonnet 5.5 patch 3 days ago
sha256:8d93ae71772bc3a146ede8006db6aec5ce9eabfd105d429c26fc3d7b2b86b88f chore(release): bump MuseHub to 0.2.3rc14 (always-on intel:… Sonnet 5.5 patch 3 days ago
sha256:a9be87f8326acc068a633071e229010b8dfcafc4cff991f0785d2e8a2c4b04a1 chore(release): bump MuseHub to 0.2.3rc13 (always-on intel:… Sonnet 5.5 patch 3 days ago
sha256:522a33a17919816c42afb6bafd02763c6e7bfd43271d6517df17881de5e3e7b5 chore(release): bump MuseHub to 0.2.3rc12 (always-on intel:… Sonnet 5.5 patch 3 days ago
sha256:5d1f608e612f616d03156931d790a631daeed4e8be7b8bfec4c1804192affe20 chore(release): bump MuseHub to 0.2.3rc11 (always-on intel:… Sonnet 5.5 patch 3 days ago
sha256:06d18437241e444e19cf83fdf3c24faa94d09d3d3e42df606d3364e2ce2d2033 chore(release): bump MuseHub to 0.2.3rc10 (always-on code i… Sonnet 5.5 patch 3 days ago
sha256:341e0c534621333e517b63d00a3771ffcf52c5fed903111efcc4163ff178f216 chore(release): bump MuseHub to 0.2.3rc9 (production intel … Sonnet 5.5 patch 3 days ago