diff --git a/pyproject.toml b/pyproject.toml index 16969809..70b8522a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -90,9 +90,9 @@ more-browser-options = [ # Group 4: Surya Library screenshot_scraper = [ - "surya-ocr>=0.5.0", - "matplotlib>=3.7.2", - "ipywidgets>=8.1.0" + "surya-ocr>=0.5.0; python_version >= '3.10'", + "matplotlib>=3.7.2; python_version >= '3.10'", + "ipywidgets>=8.1.0; python_version >= '3.10'" ] [build-system]