fix: bump redis floor to 5.0.1, disconnect pool on failed connect(), doc/type nits (redis-5/6/7/8); v0.1.4
redis-5: redis>=5 admitted 5.0.0, which lacks async aclose() and crashes on teardown; floor bumped to >=5.0.1 (confirmed 5.0.1 is where aclose() lands). redis-6: connect()/__aenter__ now disconnects the pool before re-raising on a failed ping, so a discarded RedisDB from a failed `async with` doesn't hold a live pool. redis-7: docstring/README conflated repo name (redis) with distribution name (redis_store). redis-8: pool_timeout hinted Optional[float] to match that None is accepted (wait forever). Also compresses the module and __init__ docstrings (no behavior change), keeping the SSLConnection-mapping and pool-disconnect-on-failure notes. Signed-off-by: disqualifier <dev@disqualifier.me>
This commit is contained in:
+2
-2
@@ -4,11 +4,11 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "redis_store"
|
||||
version = "0.1.3"
|
||||
version = "0.1.4"
|
||||
description = "async redis wrapper over redis-py asyncio with a raw escape hatch, fail-loud and config-free"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"redis>=5",
|
||||
"redis>=5.0.1",
|
||||
]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
|
||||
Reference in New Issue
Block a user