Python 3.8 is not supported anymore
It's not supported in the new version of Playwright and is problematic in some situations while being slower than newer versions.
This commit is contained in:
1 parent
93ed768312
commit
e60a57c63f
3 files changed
+4
-5
No files matched your search
@@ -16,4 +16,4 @@ repos:
|
||||
rev: v1.6.0
|
||||
hooks:
|
||||
- id: vermin
|
||||
args: ['-t=3.8-', '--violations', '--eval-annotations', '--no-tips']
|
||||
args: ['-t=3.9-', '--violations', '--eval-annotations', '--no-tips']
|
||||
@@ -60,7 +60,7 @@ setup(
|
||||
'camoufox>=0.4.7',
|
||||
'browserforge',
|
||||
],
|
||||
python_requires=">=3.8",
|
||||
python_requires=">=3.9",
|
||||
url="https://github.com/D4Vinci/Scrapling",
|
||||
project_urls={
|
||||
"Documentation": "https://github.com/D4Vinci/Scrapling/tree/main/docs", # For now
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
# and then run "tox" from this directory.
|
||||
|
||||
[tox]
|
||||
envlist = pre-commit,py{38,39,310,311,312,313}
|
||||
envlist = pre-commit,py{39,310,311,312,313}
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
@@ -15,8 +15,7 @@ commands =
|
||||
playwright install chromium
|
||||
playwright install-deps chromium firefox
|
||||
camoufox fetch --browserforge
|
||||
py38: pytest --config-file=pytest.ini --cov=scrapling --cov-report=xml
|
||||
py{39,310,311,312,313}: pytest --config-file=pytest.ini --cov=scrapling --cov-report=xml -n auto
|
||||
pytest --config-file=pytest.ini --cov=scrapling --cov-report=xml -n auto
|
||||
|
||||
[testenv:pre-commit]
|
||||
basepython = python3
|
||||
|
||||
Reference in new issue
Block a user