Skip to content

🕷️ 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

Turn off threaded testing for Python 3.8 on tox

Karim shoairf81e3b3cc317
diff --git a/tox.ini b/tox.ini
index 364e582..7da4eaa 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,13 +11,12 @@ usedevelop = True
changedir = tests
deps =
-r{toxinidir}/tests/requirements.txt
-setenv =
- py38: PYTEST_ADDOPTS = -p no:xdist
commands =
playwright install chromium
playwright install-deps chromium firefox
camoufox fetch --browserforge
- pytest --cov=scrapling --cov-report=xml -n auto
+ py38: pytest --cov=scrapling --cov-report=xml
+ py{39,310,311,312,313}: pytest --cov=scrapling --cov-report=xml -n auto
[testenv:pre-commit]
basepython = python3