diff --git a/pyproject.toml b/pyproject.toml index 4e57705..3bf385d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,8 @@ dependencies = [ dev = [ "polyfactory", "httpx", - "pytest", + # <9.2 until pytest-alembic supports it: https://github.com/schireson/pytest-alembic/issues/292 + "pytest<9.2", "pytest-cov", "pytest-asyncio", "asgi_lifespan", diff --git a/uv.lock b/uv.lock index cf0faaa..305a017 100644 --- a/uv.lock +++ b/uv.lock @@ -317,7 +317,7 @@ dev = [ { name = "httpx" }, { name = "modern-di-pytest", specifier = ">=4,<5" }, { name = "polyfactory" }, - { name = "pytest" }, + { name = "pytest", specifier = "<9.2" }, { name = "pytest-alembic" }, { name = "pytest-asyncio" }, { name = "pytest-cov" },