Files
stack/pyproject.toml
kert 611a1d69c3 fix(deps): bump 3 packages past 7 open CVE advisories
aiohttp 3.14.1→3.14.3 (CVE-2026-69244 client C-parser OOB heap read —
  the reachable one, client-only usage via s3fs/gcsfs/aiobotocore;
  CVE-2026-59881/-69243 are server-side WS paths, no aiohttp server here)
pyasn1 0.6.3→0.6.4 (CVE-2026-59884/-59885/-59886 quadratic-decode DoS —
  no direct untrusted ASN.1 decoding; transitive via google-auth/rsa)
cryptography 49.0.0→50.0.0 (CVE-2026-69247 PKCS7 decrypt padding oracle —
  no EnvelopedData decryption paths; direct dep, pyproject floor raised)

Per-issue exploitability rationale in tracker issues #581-#587.
Full suite green with bumped packages installed: 14023 passed (serial
proof run 26m45s at ecc3bae-era tree; parallel hook run 13m58s).
pkg-manifest regenerated.
2026-08-12 13:28:11 -04:00

218 lines
4.4 KiB
TOML

[project]
name = "stack"
version = "0.1.0"
description = "Healthcare data platform — ACO analytics, CMS data, BCDA FHIR, PFS equations"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"pydantic>=2.0.0",
"pymupdf>=1.24", # AGPL-3.0 — flag if shipping outside internal use
"python-docx>=1.1",
"xlrd>=2.0.2",
]
[project.scripts]
stack = "cli:main"
[project.optional-dependencies]
conf = [
"pydantic>=2.0.0",
"httpx>=0.28.1",
"duckdb>=1.0.0",
]
aco = [
"stack[conf]",
"narwhals>=2.17.0",
"sqlglot>=26.0.0",
"pyarrow>=23.0.1",
"duckdb>=1.0.0",
]
api = [
"stack[conf]",
"fastapi>=0.139.0",
"uvicorn>=0.41.0",
"httpx>=0.28.1",
"pyjwt>=2.13.0",
"cryptography>=50.0.0",
]
bcda = [
"stack[conf]",
"httpx>=0.28.1",
"fsspec>=2024.1.0",
"narwhals>=2.17.0",
"pyarrow>=23.0.1",
]
bib = [
"stack[conf]",
"pydantic>=2.0.0",
"markdown-it-py>=4.0",
"mdit-py-plugins>=0.4",
]
bls = []
llm = [
"stack[conf]",
"stack[bib]",
"httpx>=0.28.1",
"fastapi>=0.139.0",
"uvicorn>=0.41.0",
"langchain-core>=0.3.0",
"langchain-ollama>=0.2.0",
"langchain-postgres>=0.0.12",
"psycopg[binary]>=3.2.0",
"sqlalchemy>=2.0.0",
]
ccw = [
"pydantic>=2.0.0",
]
cli = [
"stack[aco]",
"stack[api]",
"stack[bib]",
"stack[llm]",
"stack[mail]",
"typer>=0.24.1",
"uvicorn>=0.41.0",
]
mail = [
"httpx>=0.28.1",
"pydo>=0.29.0",
"resend>=2.0.0",
]
cms = [
"narwhals>=2.17.0",
"pydantic>=2.0.0",
]
opps = [
"stack[conf]",
"stack[rex]",
"duckdb>=1.0.0",
"narwhals>=2.17.0",
]
pfs = [
"stack[conf]",
"stack[rex]",
"duckdb>=1.0.0",
"narwhals>=2.17.0",
]
rec = [
"stack[conf]",
"stack[pfs]",
"duckdb>=1.0.0",
"narwhals>=2.17.0",
"typer>=0.24.1",
]
rex = [
"stack[conf]",
"narwhals>=2.17.0",
"pyarrow>=23.0.1",
"fsspec>=2024.1.0",
]
prisma = [
"stack[conf]",
"stack[bib]",
"anthropic>=0.40.0",
"httpx[socks]>=0.28.1",
"pyyaml>=6.0.0",
"pydo>=0.29.0",
"pdfminer.six>=20221105",
"resend>=2.0.0",
]
perf = [
"stack[conf]",
"opentelemetry-api>=1.25.0",
"opentelemetry-sdk>=1.25.0",
"opentelemetry-exporter-otlp-proto-grpc>=1.25.0",
"opentelemetry-exporter-prometheus>=0.46b0",
"opentelemetry-instrumentation-fastapi>=0.46b0",
"opentelemetry-semantic-conventions>=0.46b0",
"psutil>=5.9.0",
]
sem = [
"coverage>=7.13.4",
]
lake = [
"stack[aco]",
"databricks-sdk>=0.85.0",
"databricks-bundles>=0.295.0",
]
aws = [
"boto3>=1.35.0",
"s3fs>=2026.2.0",
]
gcp = [
"google-cloud-storage>=2.18.0",
"gcsfs>=2024.1.0",
]
azure = [
"azure-storage-blob>=12.23.0",
"adlfs>=2024.1.0",
]
all = [
"stack[aco]",
"stack[api]",
"stack[bcda]",
"stack[bib]",
"stack[bls]",
"stack[ccw]",
"stack[cli]",
"stack[cms]",
"stack[llm]",
"stack[perf]",
"stack[pfs]",
"stack[rec]",
"stack[rex]",
"stack[lake]",
]
[dependency-groups]
dev = [
"stack[all]",
"coverage>=7.13.4",
"dbt-core==1.10.15",
"dbt-duckdb>=1.10,<1.11",
"openpyxl>=3.1.5",
"pdfplumber>=0.11.9",
"polars>=1.38.1",
"pytest>=9.0.2",
"pytest-cov>=7.0.0",
"pytest-xdist>=3.5.0",
"marimo>=0.23.13",
"ruff>=0.11.0",
"altair>=6.0.0",
"pandas>=3.0.1",
"obstore>=0.9.2",
"s3fs>=2026.2.0",
"jinja2>=3.1.0",
"fastexcel>=0.19.0",
]
[build-system]
requires = ["uv_build>=0.7,<1"]
build-backend = "uv_build"
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = ["E501", "E741"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"stub: marks tests that report stub vs implemented status (deselect with '-m \"not stub\"')",
]
[tool.coverage.run]
# Required for reliable pytest-cov + pytest-xdist combining: each worker
# writes .coverage.<host>.<pid>, then pytest-cov auto-combines at exit.
# Without this, parallel test runs randomly drop coverage data.
parallel = true
source = ["src"]
concurrency = ["multiprocessing", "thread"]
[tool.uv.build-backend]
module-name = ["aco", "api", "bcda", "bib", "bls", "ccw", "cli", "cms", "conf", "llm", "mail", "opps", "perf", "pfs", "prisma", "rec", "rex", "sem"]
namespace = true
source-exclude = ["compose.yml","infra/**","data/**","notebooks/**","tuva/**","assets/**","docs/**","dev/**","bundle/**","cloud/**"]