From cac7150d7c8a650c7e76004cd7f8643990932c7f Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Tue, 12 Nov 2024 00:28:35 +0000 Subject: [PATCH] tests: bump pytest-asyncio - fixes #1630 --- .meta/requirements-test.txt | 2 +- .pre-commit-config.yaml | 2 +- environment.yml | 2 +- pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.meta/requirements-test.txt b/.meta/requirements-test.txt index 5206b9a7..9264a2ab 100644 --- a/.meta/requirements-test.txt +++ b/.meta/requirements-test.txt @@ -1,6 +1,6 @@ pre-commit pytest -pytest-asyncio +pytest-asyncio>=0.24 pytest-cov pytest-timeout git+https://github.com/casperdcl/nbval.git@master#egg=nbval diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0eff5698..01ea5432 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,7 +37,7 @@ repos: - numpy - pandas - pytest-timeout - - pytest-asyncio>0.21 + - pytest-asyncio>=0.24 - repo: https://github.com/PyCQA/flake8 rev: 7.1.1 hooks: diff --git a/environment.yml b/environment.yml index 7aa2a4c3..89e0406c 100644 --- a/environment.yml +++ b/environment.yml @@ -20,7 +20,7 @@ dependencies: - pytest - pytest-cov - pytest-timeout -- pytest-asyncio +- pytest-asyncio>=0.24 - coverage # extras - dask # dask diff --git a/pyproject.toml b/pyproject.toml index 30c4bce0..c31f86a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,7 +84,7 @@ classifiers = [ dependencies = ['colorama; platform_system == "Windows"'] [project.optional-dependencies] -dev = ["pytest>=6", "pytest-cov", "pytest-timeout", "pytest-asyncio", "nbval"] +dev = ["pytest>=6", "pytest-cov", "pytest-timeout", "pytest-asyncio>=0.24", "nbval"] discord = ["requests"] slack = ["slack-sdk"] telegram = ["requests"]