Pin pytest-asyncio below 1.0
CI / lint (push) Canceled after 0s
CI / typecheck (push) Canceled after 0s
CI / unit-tests (push) Canceled after 0s
CI / integration-tests (push) Canceled after 0s
CI / container-build (push) Canceled after 0s
CI / dependency-audit (push) Canceled after 0s
CI / lint (push) Canceled after 0s
CI / typecheck (push) Canceled after 0s
CI / unit-tests (push) Canceled after 0s
CI / integration-tests (push) Canceled after 0s
CI / container-build (push) Canceled after 0s
CI / dependency-audit (push) Canceled after 0s
1.x changed session-scoped async fixture/event-loop behavior across test modules, breaking the single-shared-engine assumption tests/conftest.py's engine fixture and the asyncio_default_*_loop_scope settings depend on. Surfaced as sporadic "relation ... does not exist" failures in specific integration test files when run alongside the full suite, despite those same files passing cleanly when run standalone -- confirmed via a real Postgres run on production hardware while verifying the watch-provider dedup fix. Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
0ab31a314c
commit
0be052bc1f
+7
-1
@@ -33,7 +33,13 @@ dependencies = [
|
|||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
dev = [
|
dev = [
|
||||||
"pytest>=8.3.0",
|
"pytest>=8.3.0",
|
||||||
"pytest-asyncio>=0.24.0",
|
# <1.0: 1.x changed session-scoped async fixture/event-loop behavior
|
||||||
|
# across test modules, breaking the single-shared-engine assumption
|
||||||
|
# tests/conftest.py:engine and the asyncio_default_*_loop_scope
|
||||||
|
# settings below depend on (surfaced as sporadic "relation ... does
|
||||||
|
# not exist" failures in specific test files when run alongside others,
|
||||||
|
# despite passing standalone).
|
||||||
|
"pytest-asyncio>=0.24.0,<1.0.0",
|
||||||
"pytest-cov>=5.0.0",
|
"pytest-cov>=5.0.0",
|
||||||
"ruff>=0.6.9",
|
"ruff>=0.6.9",
|
||||||
"mypy>=1.11.2",
|
"mypy>=1.11.2",
|
||||||
|
|||||||
Reference in New Issue
Block a user