Files
Piotr ChojnackiandClaude Opus 5.5 433e083dae Merge main (0.26.0) into the session guard; ship it as 0.26.1
The chat contract took 0.26.0 while this PR waited. The guard's code merged
cleanly. The conflicts were the version and the release notes: the version is
now 0.26.1, and "0.26.1 notes" follow main's 0.26.0 section in README.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:45:16 +01:00

44 lines
1.7 KiB
TOML

[project]
name = "dredd-core"
version = "0.26.1"
description = "Dredd core — the shared identity/session/auth/audit/ORM foundation for the family (Galena, Sygna, Counsel Scorecard, Galena Connect). Modules import it; it never imports a module."
readme = "README.md"
requires-python = ">=3.12"
license = { text = "Apache-2.0" }
authors = [{ name = "Tobiasz Badura" }]
# Kept deliberately small and permissive — the family's license gate forbids copyleft.
dependencies = [
"SQLAlchemy>=2.0.16", # 2.0.16: postgresql_nulls_not_distinct (table_views' unique constraint)
"argon2-cffi>=23", # Argon2id password hashing + passphrase KDF (MIT) — used by security.py
]
[project.optional-dependencies]
# dredd_core.model_access (v0.22.0) talks to model servers over HTTP; nothing else needs it.
models = [
"httpx>=0.27", # BSD-3
]
test = [
"pytest>=8",
"pg8000>=1.31", # pure-Python PostgreSQL driver (BSD-3) for the DB-backed tests
"httpx>=0.27", # dredd_core.model_access tests
]
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["dredd_core*"]
[tool.setuptools.package-data]
dredd_core = ["py.typed"] # PEP 561: ship the inline types to consumers
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
# The repo root on sys.path, so `from tests.conftest import refuses_with` resolves. Without
# it only `python -m pytest` works (that form puts the working directory on the path); CI
# runs plain `pytest`, which does not, and every module importing a shared helper fails at
# collection with "No module named 'tests'" -- green locally, red on push.
pythonpath = ["."]