Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Bump pytest-asyncio to 1.3.0 (#19305)

Przemysław Łada1e223afa7310
diff --git a/pyproject.toml b/pyproject.toml
index 2143604602..7b320cd0da 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -101,7 +101,7 @@ dev = [
"openpyxl>=3.1.5,<4",
"pre-commit~=4.0",
"pytest>=8.3.2,<9",
- "pytest-asyncio>=1.0.0,<2",
+ "pytest-asyncio>=1.3.0,<2",
"pytest-celery>=1.0.1,<2",
"pytest-cov>=6.0.0,<7",
"pytest-django==4.11.1",
diff --git a/setup.cfg b/setup.cfg
index a6e62111d6..8b5f4aa2a0 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -18,7 +18,7 @@ exclude_lines =
[tool:pytest]
addopts = -n auto --record-mode=none --ds=saleor.tests.settings --disable-socket --allow-hosts 127.0.0.1,::1,cache --allow-unix-socket --pdbcls=IPython.terminal.debugger:TerminalPdb --dist loadgroup
asyncio_mode = auto
-asyncio_default_fixture_loop_scope = fixture
+asyncio_default_fixture_loop_scope = function
testpaths = saleor
filterwarnings =
ignore::DeprecationWarning
diff --git a/uv.lock b/uv.lock
index ae62f42fec..02acd5f507 100644
--- a/uv.lock
+++ b/uv.lock
@@ -2143,14 +2143,15 @@ wheels = [
[[package]]
name = "pytest-asyncio"
-version = "1.1.0"
+version = "1.3.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "pytest", marker = "platform_python_implementation != 'PyPy'" },
+ { name = "typing-extensions", marker = "platform_python_implementation != 'PyPy'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/4e/51/f8794af39eeb870e87a8c8068642fc07bce0c854d6865d7dd0f2a9d338c2/pytest_asyncio-1.1.0.tar.gz", hash = "sha256:796aa822981e01b68c12e4827b8697108f7205020f24b5793b3c41555dab68ea", size = 46652, upload-time = "2025-07-16T04:29:26.393Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/90/2c/8af215c0f776415f3590cac4f9086ccefd6fd463befeae41cd4d3f193e5a/pytest_asyncio-1.3.0.tar.gz", hash = "sha256:d7f52f36d231b80ee124cd216ffb19369aa168fc10095013c6b014a34d3ee9e5", size = 50087, upload-time = "2025-11-10T16:07:47.256Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c7/9d/bf86eddabf8c6c9cb1ea9a869d6873b46f105a5d292d3a6f7071f5b07935/pytest_asyncio-1.1.0-py3-none-any.whl", hash = "sha256:5fe2d69607b0bd75c656d1211f969cadba035030156745ee09e7d71740e58ecf", size = 15157, upload-time = "2025-07-16T04:29:24.929Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/35/f8b19922b6a25bc0880171a2f1a003eaeb93657475193ab516fd87cac9da/pytest_asyncio-1.3.0-py3-none-any.whl", hash = "sha256:611e26147c7f77640e6d0a92a38ed17c3e9848063698d5c93d5aa7aa11cebff5", size = 15075, upload-time = "2025-11-10T16:07:45.537Z" },
]
[[package]]
@@ -2732,7 +2733,7 @@ dev = [
{ name = "poethepoet", specifier = ">=0.45.0,<0.46" },
{ name = "pre-commit", specifier = "~=4.0" },
{ name = "pytest", specifier = ">=8.3.2,<9" },
- { name = "pytest-asyncio", specifier = ">=1.0.0,<2" },
+ { name = "pytest-asyncio", specifier = ">=1.3.0,<2" },
{ name = "pytest-celery", specifier = ">=1.0.1,<2" },
{ name = "pytest-cov", specifier = ">=6.0.0,<7" },
{ name = "pytest-django", specifier = "==4.11.1" },