dodil/erp-brick-hr

pyproject.toml

[project]
license = "Apache-2.0"
license-files = ["LICENSE", "NOTICE"]
name = "brick-hr"
version = "0.6.0"
description = "People, starters and leavers: effective-dated history, the org tree, onboarding and offboarding runs that act through capabilities."
requires-python = ">=3.10"
# 0.9.6: snapshot (diff) saves, load_many, after_response, Refused(gate=), testing.count_statements; 0.8.1: the per-process sign-off and the gate (signoff/<module>/<process>.json); 0.5.3: an Idempotency-Key's answer stored on the whole claim; 0.5.2: bounded input types, ids as strings,
# Idempotency-Key, If-Match; 0.4 brought Rate, the work library, CapabilitySeam, the public door, optimistic
# versions and the scenario harness.
# 0.9.13: the per-request identity map (raw pipelined writes call note_write, infrastructure/batching.py).
dependencies = ["erp-platform>=0.9.13,<0.10", "python-multipart>=0.0.9"]

[project.optional-dependencies]
test = ["pytest>=8", "uvicorn>=0.34", "hypothesis>=6", "xmlschema>=3"]

[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"

[tool.setuptools.packages.find]
where = ["src"]

# The schema ships INSIDE the package (an installed brick migrates itself), and so does the UK pack's
# published bank-holiday list.
[tool.setuptools.package-data]
brick_hr = ["schema.sql", "scenario_paths.yaml", "domain/packs/*.json"]

[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--show-capture=no"
pythonpath = ["src", "tests/scenario_bricks"]