Files
PacketStation/pyproject.toml
T
spencermandClaude Fable 5.1 591fe90076
ci / frontend (push) Successful in 30s
ci / server (push) Successful in 4m12s
ci / image (push) Successful in 46s
ci / e2e (push) Successful in 1m24s
Phase 3: VISUAL feed and M-Files drawings in the worker
Migration 0004 (VISUAL and drawing caches, go-live ignored list, resource
map, job tables, order-derived columns with provenance; work order key
includes the operation sequence). The real worker on APScheduler with
settings re-read each fire, pause, run now, advisory locks, job_runs and a
heartbeat. The visual-feed job (five VisualKit reads, COPY and MERGE cache,
suspect-batch guard, the apply in one transaction: drafts, change orders,
retire-moved, work order gone, closed and cancelled observed, projects and
units from order links, auto-release) and the fingerprint. The drawing-lookup
job (queue, budget, download on version change, sha256 into assets, decision
table, staging for rev approval, drawing-origin change orders). Clerical From
VISUAL panel, flags, rev approval, hand uploads, change-order review; Admin
Feed settings and resource map. Synthetic fixture generator and a
fixture-driven worker in CI with a Playwright scenario. Docs updated.

Verified: 3249 server tests and 13 Playwright scenarios on the docker-1 CI
stack, 76 frontend tests, doctor at 0004; one feed and one drawing run
against VISUAL DEV and the vault from the developer machine (counts in the
changelog).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-10-16 14:45:38 -06:00

68 lines
1.8 KiB
TOML

[build-system]
requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"
[project]
name = "packetstation"
dynamic = ["version"]
description = "Packet Station: PESCO shop packet tracking (server)"
requires-python = ">=3.12"
license = { text = "Proprietary - PESCO internal use" }
authors = [{ name = "Spencer McGuire", email = "[email protected]" }]
classifiers = ["Private :: Do Not Upload", "Programming Language :: Python :: 3"]
# Exact pins live in server/requirements.txt (public PyPI) and server/requirements-pesco.txt (Gitea).
dependencies = [
"fastapi>=0.143",
"uvicorn[standard]>=0.54",
"psycopg[binary,pool]>=3.3,<4",
"pydantic>=2.14",
"pydantic-settings>=2.16",
"ldap3>=2.9.1",
"argon2-cffi>=25.1",
"apscheduler>=3.11,<4",
"httpx>=0.28",
"tzdata>=2026.5",
"pypdf==6.21.0",
"python-multipart==0.0.32",
"pypdfium2==5.14.0",
"openpyxl==3.1.5",
"visualkit==0.3.0",
"mfileskit==0.1.2",
]
[project.optional-dependencies]
dev = ["pytest>=9.1", "anyio>=4.15", "ruff>=0.17", "mypy>=2.4"]
[project.scripts]
packetstation = "packetstation.cli:main"
[tool.hatch.version]
path = "server/packetstation/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["server/packetstation"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"
[tool.ruff]
line-length = 120
target-version = "py312"
src = ["server", "tests"]
extend-exclude = ["frontend", ".venv"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP", "S", "RUF"]
ignore = ["S101", "S104", "S603", "S607", "RUF001"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S105", "S106", "S108", "S311"]
[tool.mypy]
python_version = "3.12"
files = ["server/packetstation"]
ignore_missing_imports = true
warn_unused_ignores = true
check_untyped_defs = true