diff --git a/.riot/requirements/1eb3af5.txt b/.riot/requirements/39f016b.txt similarity index 57% rename from .riot/requirements/1eb3af5.txt rename to .riot/requirements/39f016b.txt index bc23cd56ff8..a490ca6a56b 100644 --- a/.riot/requirements/1eb3af5.txt +++ b/.riot/requirements/39f016b.txt @@ -2,54 +2,56 @@ # This file is autogenerated by pip-compile with Python 3.9 # by the following command: # -# pip-compile --allow-unsafe --no-annotate .riot/requirements/1eb3af5.in +# pip-compile --allow-unsafe --no-annotate .riot/requirements/39f016b.in # amqp==2.6.1 -attrs==25.3.0 -azure-core==1.35.1 +async-timeout==5.0.1 +attrs==25.4.0 +azure-core==1.38.0 azure-data-tables==12.7.0 -azure-storage-blob==12.26.0 -azure-storage-queue==12.13.0 -cassandra-driver==3.29.2 -certifi==2025.8.3 +azure-storage-blob==12.28.0 +azure-storage-queue==12.15.0 +cassandra-driver==3.29.3 +certifi==2026.1.4 cffi==2.0.0 -charset-normalizer==3.4.3 +charset-normalizer==3.4.4 click==8.1.8 -coverage[toml]==7.10.6 -cryptography==43.0.3 -exceptiongroup==1.3.0 +coverage[toml]==7.10.7 +cryptography==46.0.4 +exceptiongroup==1.3.1 future==1.0.0 -geomet==0.2.1.post1 +geomet==1.1.0 hypothesis==6.45.0 -idna==3.10 -importlib-metadata==8.7.0 +idna==3.11 +importlib-metadata==8.7.1 iniconfig==2.1.0 isodate==0.7.2 kombu==4.2.2.post1 mock==5.2.0 -multidict==6.6.4 +multidict==6.7.1 mysql-connector-python==9.4.0 opentracing==2.4.0 -packaging==25.0 +packaging==26.0 pluggy==1.6.0 -propcache==0.3.2 -psycopg2-binary==2.9.10 +propcache==0.4.1 +psycopg2-binary==2.9.11 pycparser==2.23 pygments==2.19.2 -pymssql==2.3.7 +pymssql==2.3.11 pytest==8.4.2 pytest-cov==7.0.0 -pytest-mock==3.15.0 +pytest-mock==3.15.1 pytest-randomly==4.0.1 python-dateutil==2.9.0.post0 pytz==2025.2 +redis==7.0.1 requests==2.32.5 six==1.17.0 sortedcontainers==2.4.0 -tomli==2.2.1 +tomli==2.4.0 typing-extensions==4.15.0 -urllib3==2.5.0 +urllib3==2.6.3 vertica-python==0.6.14 vine==1.3.0 -yarl==1.20.1 +yarl==1.22.0 zipp==3.23.0 diff --git a/riotfile.py b/riotfile.py index 2500f0cc8b3..6ff520546c3 100644 --- a/riotfile.py +++ b/riotfile.py @@ -727,6 +727,7 @@ def select_pys(min_version: str = MIN_PYTHON_VERSION, max_version: str = MAX_PYT "kombu": ">=4.2.0,<4.3.0", "pymssql": latest, "pytest-randomly": latest, + "redis": latest, "requests": latest, }, env={ diff --git a/tests/wait-for-services.py b/tests/wait-for-services.py index b6605cfb705..87e8a3bde83 100644 --- a/tests/wait-for-services.py +++ b/tests/wait-for-services.py @@ -21,12 +21,14 @@ from contrib.config import OPENSEARCH_CONFIG from contrib.config import POSTGRES_CONFIG from contrib.config import RABBITMQ_CONFIG +from contrib.config import REDIS_CONFIG from contrib.config import VERTICA_CONFIG import kombu import mysql.connector from psycopg2 import OperationalError from psycopg2 import connect import pymssql +import redis import requests import vertica_python @@ -111,6 +113,15 @@ def check_rabbitmq(url): conn.release() +@try_until_timeout(Exception, args={"redis_config": REDIS_CONFIG}) +def check_redis(redis_config): + client = redis.Redis(**redis_config) + try: + client.ping() + finally: + client.close() + + @try_until_timeout(Exception, args={"url": os.environ.get("DD_TRACE_AGENT_URL", "http://localhost:8126")}) def check_agent(url): if not url.endswith("/"): @@ -201,6 +212,7 @@ def check_azurite(azurite_config): "opensearch": check_opensearch, "postgres": check_postgres, "rabbitmq": check_rabbitmq, + "redis": check_redis, "testagent": check_agent, "vertica": check_vertica, "azureeventhubsemulator": check_azureeventhubsemulator,