build: set minimum version to Python 3.10
This commit is contained in:
+3
-4
@@ -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",
|
||||
|
||||
@@ -7,8 +7,7 @@ from lxml import html
|
||||
|
||||
from 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 code
|
||||
from functools import lru_cache # isort:skip
|
||||
|
||||
html_forbidden = {
|
||||
|
||||
Reference in New Issue
Block a user