circuitforge-core/pyproject.toml
pyr0ball 0a15ad9522 feat: add circuitforge_core.api.feedback — shared feedback router factory (closes #23)
Adds make_feedback_router(repo, product, demo_mode_fn) which returns a
FastAPI APIRouter with GET /status and POST / endpoints. Handles Forgejo
label creation/reuse, issue body assembly (including repro steps for bugs),
demo mode gating, and FORGEJO_API_TOKEN presence checks. 12 tests covering
all status/submit paths, mock Forgejo interaction, and body content assertions.
Also adds fastapi>=0.110 and httpx>=0.27 to [dev] optional deps.
2026-04-05 17:31:02 -07:00

38 lines
754 B
TOML

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "circuitforge-core"
version = "0.8.0"
description = "Shared scaffold for CircuitForge products (MIT)"
requires-python = ">=3.11"
dependencies = [
"pyyaml>=6.0",
"requests>=2.31",
"openai>=1.0",
]
[project.optional-dependencies]
manage = [
"platformdirs>=4.0",
"typer[all]>=0.12",
]
dev = [
"circuitforge-core[manage]",
"pytest>=8.0",
"pytest-asyncio>=0.23",
"fastapi>=0.110",
"httpx>=0.27",
]
[project.scripts]
cf-manage = "circuitforge_core.manage.cli:app"
[tool.setuptools.packages.find]
where = ["."]
include = ["circuitforge_core*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"