🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Python aiai-scrapingautomationcrawlercrawlingcrawling-pythondatadata-extractionmcpmcp-serverplaywrightpythonscrapingselectorsstealthweb-scraperweb-scrapingweb-scraping-pythonwebscrapingxpath
build: set minimum version to Python 3.10
Karim shoair3184dd8581a1
diff --git a/pyproject.toml b/pyproject.tomlindex 1ccbc4a..00bde15 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -28,7 +28,7 @@ keywords = ["browser","crawling",]-requires-python = ">=3.9"+requires-python = ">=3.10"classifiers = ["Operating System :: OS Independent","Development Status :: 4 - Beta",@@ -45,7 +45,6 @@ classifiers = ["Topic :: Software Development :: Libraries :: Python Modules","Programming Language :: Python :: 3","Programming Language :: Python :: 3 :: Only",- "Programming Language :: Python :: 3.9","Programming Language :: Python :: 3.10","Programming Language :: Python :: 3.11","Programming Language :: Python :: 3.12",@@ -56,8 +55,8 @@ classifiers = [dependencies = ["lxml>=5.4.0","cssselect>=1.3.0",- "IPython>=8.18.1", # The last version that supports Python 3.9- "click>=8.1.8",+ "IPython>=8.37", # The last version that supports Python 3.10+ "click>=8.2.1","orjson>=3.10.18","tldextract>=5.3.0","curl_cffi>=0.11.4",diff --git a/scrapling/core/utils.py b/scrapling/core/utils.pyindex af2886b..e33c914 100644--- a/scrapling/core/utils.py+++ b/scrapling/core/utils.py@@ -7,8 +7,7 @@ from lxml import htmlfrom scrapling.core._types import Any, Dict, Iterable, Union-# Using cache on top of a class is brilliant way to achieve Singleton design pattern without much code-# functools.cache is available on Python 3.9+ only so let's keep lru_cache+# Using cache on top of a class is a brilliant way to achieve a Singleton design pattern without much codefrom functools import lru_cache # isort:skiphtml_forbidden = {