fix: resolve test failures and remove unavailable dependency

- Remove gitea-mcp-server from dependencies (not yet on PyPI)
- Add starlette to dependencies (needed for middleware)
- Fix HealthCheckBypassMiddleware to actually bypass auth via request.state flag
- Fix test_required_fields to not require gitea_repo (optional for PMO mode)
- Update pytest testpaths to correct location

All 30 tests now pass.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-03 16:35:57 -05:00
parent f2cba079eb
commit 49f2d0bdbb
4 changed files with 16 additions and 7 deletions

View File

@@ -1,9 +1,11 @@
# HTTP Transport Wrapper Dependencies
mcp>=0.9.0
uvicorn>=0.27.0
starlette>=0.36.0
pydantic>=2.0.0
pydantic-settings>=2.0.0
python-dotenv>=1.0.0
# Official Gitea MCP Server (to be wrapped)
gitea-mcp-server>=0.1.0
# Install separately - not on PyPI yet
# See: https://gitea.hotserv.cloud/personal-projects/leo-claude-mktplace