glances/tox.ini
Ariel Otilibili b537f454c1 Bumped minimal Python version to 3.9
* Python 3.8 is now end of life [Link]
* changed occurrences found with `git grep -P '[^\d\.]3\.8[^\d]'`
* so doing, removed unused branch in `glances/outputs/glances_restful_api.py`
* branch introduced by f6545580db
* ruff also needs a bump; i.e, `s/py38/py39/`
* not done yet, since it needs to clear out warnings.

Link: https://devguide.python.org/versions/
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-08 15:19:40 +01:00

31 lines
442 B
INI

# Tox (http://tox.testrun.org/) is a tool for running tests
# Install:
# pip install tox
# Run:
# tox
[tox]
envlist =
py39
py310
py311
py312
py313
[testenv]
deps =
flake8
psutil
defusedxml
packaging
orjson
fastapi
uvicorn
jinja2
requests
commands =
python unittest-core.py
; python unittest-restful.py
; python unittest-xmlrpc.py
;flake8 --exclude=build,.tox,.git