From 72a5993f02d6e220e5ab409cf817d986a2242e60 Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Fri, 8 Aug 2025 11:13:11 -0700 Subject: [PATCH] fix: update pytest and dependencies for Python 3.13 compatibility - Updated pytest to >=8.3.0 (required for Python 3.13 support) - Updated pytest-cov to >=5.0 - Updated pytest-xdist to >=3.5 - Updated pytest-timeout to >=2.3 - Added pytest-anyio>=4.0 for async test support with Python 3.13 - These version requirements ensure compatibility with Python 3.13 - No need to disable Python 3.13 in CI matrix --- pyproject.toml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3bc6d85..d8514b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,9 +48,9 @@ dependencies = [ [project.optional-dependencies] dev = [ - "pytest>=7.0", - "pytest-cov>=4.0", - "pytest-xdist>=3.0", # For parallel test execution + "pytest>=8.3.0", # Minimum version for Python 3.13 support +"pytest-cov>=5.0", +"pytest-xdist>=3.5", # For parallel test execution "black>=23.0", "ruff==0.12.7", # Fixed version to ensure consistent formatting across all environments "matplotlib", @@ -59,8 +59,9 @@ dev = [ ] test = [ - "pytest>=7.0", - "pytest-timeout>=2.0", + "pytest>=8.3.0", # Minimum version for Python 3.13 support +"pytest-timeout>=2.3", +"pytest-anyio>=4.0", # For async test support with Python 3.13 "llama-index-core>=0.12.0", "llama-index-readers-file>=0.4.0", "python-dotenv>=1.0.0",