From 70f473b84de1faec347e468067394bac4e7467ae Mon Sep 17 00:00:00 2001 From: Soham Kukreti Date: Thu, 28 Aug 2025 19:27:33 +0530 Subject: [PATCH] fix: drop Python 3.9 support and require Python >=3.10. The library no longer supports Python 3.9 and so it was important to drop all references to python 3.9. Following changes have been made: - pyproject.toml: set requires-python to ">=3.10"; remove 3.9 classifier - setup.py: set python_requires to ">=3.10"; remove 3.9 classifier - docs: update Python version mentions - deploy/docker/c4ai-doc-context.md: options -> 3.10, 3.11, 3.12, 3.13 --- deploy/docker/c4ai-doc-context.md | 2 +- pyproject.toml | 3 +-- setup.py | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/deploy/docker/c4ai-doc-context.md b/deploy/docker/c4ai-doc-context.md index 74ad794f..abfd3637 100644 --- a/deploy/docker/c4ai-doc-context.md +++ b/deploy/docker/c4ai-doc-context.md @@ -2241,7 +2241,7 @@ docker build -t crawl4ai | Argument | Description | Default | Options | |----------|-------------|---------|----------| -| PYTHON_VERSION | Python version | 3.10 | 3.8, 3.9, 3.10 | +| PYTHON_VERSION | Python version | 3.10 | 3.10, 3.11, 3.12, 3.13 | | INSTALL_TYPE | Feature set | default | default, all, torch, transformer | | ENABLE_GPU | GPU support | false | true, false | | APP_HOME | Install path | /app | any valid path | diff --git a/pyproject.toml b/pyproject.toml index 9b00bd28..b2853152 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "Crawl4AI" dynamic = ["version"] description = "🚀🤖 Crawl4AI: Open-source LLM Friendly Web Crawler & scraper" readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.10" license = "Apache-2.0" authors = [ {name = "Unclecode", email = "unclecode@kidocode.com"} @@ -51,7 +51,6 @@ classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", diff --git a/setup.py b/setup.py index a0b91041..4d6e0575 100644 --- a/setup.py +++ b/setup.py @@ -56,11 +56,10 @@ setup( "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", ], - python_requires=">=3.9", + python_requires=">=3.10", )