- connect() closes an existing pool on re-connect and tears down the built pool on SELECT-1 validation failure (sibling of psql-3). - _Transaction now awaits pool.release() in both __aexit__ and the __aenter__ failure path, matching psql and aiomysql's idiom (no un-awaited _wakeup task per transaction). - README: insert-returns-lastrowid headline precision + upsert-rowcount convention note. verified vs real MariaDB (re-connect, 5-tx release, full suite). bump v0.1.1 -> v0.1.2 Signed-off-by: disqualifier <dev@disqualifier.me>
16 lines
377 B
TOML
16 lines
377 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "mysql"
|
|
version = "0.1.2"
|
|
description = "async mysql/mariadb wrapper over aiomysql: two-layer API (friendly verbs + raw escape hatch), fail-loud, config-free"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"aiomysql>=0.2",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/mysql"]
|