connect() now closes an existing pool before re-connecting (no orphan on double-connect), and tears down the freshly-built pool if the SELECT-1 validation fails before re-raising (no leaked pool on a failed connect). verified vs embedded postgres. bump v0.1.1 -> v0.1.2 Signed-off-by: disqualifier <dev@disqualifier.me>
16 lines
369 B
TOML
16 lines
369 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "psql"
|
|
version = "0.1.2"
|
|
description = "async postgres wrapper over asyncpg: two-layer API (friendly verbs + raw escape hatch), fail-loud, config-free"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"asyncpg>=0.29",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/psql"]
|