Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

Tox fix (#1268)

Jaseem Jascdafc251b4fa
diff --git a/tox.ini b/tox.ini
index 1caae2707..1ac525885 100644
--- a/tox.ini
+++ b/tox.ini
@@ -22,11 +22,11 @@ allowlist_externals=
commands_pre =
# Try to install dependencies from various requirements files
sh -c '[ -f cloud_requirements.txt ] && uv pip install -r cloud_requirements.txt || echo "cloud_requirements.txt not found"'
- # If you have a setup.py or pyproject.toml in the runner directory, install the package in development mode
- sh -c '[ -f setup.py ] && uv pip install -e . || echo "setup.py not found"'
- # Install the top-level package if it exists
- sh -c 'cd ../.. && [ -f setup.py ] && uv pip install -e . || echo "Top-level setup.py not found"'
+ # Install dependencies from pyproject.toml
+ uv pip install -e .
+ # Install the Flask dependency explicitly (in case the above doesn't work)
+ uv pip install flask~=3.1.0 docker==6.1.3 redis~=5.2.1 python-dotenv>=1.0.0 kubernetes
+ # Install test dependencies
uv pip install pytest pytest-cov pytest-md-report pytest-mock
commands =
pytest -v --md-report-verbose=1 --md-report --md-report-flavor gfm --md-report-output ../runner-report.md
-