Skip to content

Commit

Permalink
tox: use distro's default python
Browse files Browse the repository at this point in the history
I think it should used the distro's default python version and not
override it, because otherwise e.g. on Fedora Rawhide (f40) it fails:

> py312: failed with env name py312 conflicting with base python python3

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
  • Loading branch information
yarda authored and kk7ds committed Oct 21, 2023
1 parent f59b5b2 commit f9bbde3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ builtins =
_,

[testenv]
basepython = python3
sitepackages = True
passenv =
HOME
Expand All @@ -18,7 +17,6 @@ allowlist_externals = bash
deps = future

[testenv:style]
basepython = python3
deps =
pep8
future
Expand All @@ -31,7 +29,6 @@ commands =
py3clean chirp tests

[testenv:unit]
basepython = python3
setenv =
PYTHONPATH=../..
deps =
Expand All @@ -40,7 +37,6 @@ commands =
pytest --disable-warnings --html=unit_report.html -v tests/unit {posargs}

[testenv:driver]
basepython = python3
setenv =
PYTHONPATH=../..
CHIRP_DEBUG=y
Expand All @@ -51,7 +47,6 @@ commands =
pytest --disable-warnings --html=driver_report.html -v tests/test_drivers.py -n auto {posargs}

[testenv:fast-driver]
basepython = python3
setenv =
PYTHONPATH=../..
CHIRP_DEBUG=y
Expand All @@ -66,7 +61,6 @@ xfail_strict = true
render_collapsed = True

[testenv:makesupported]
basepython = python3
allowlist_externals =
git
deps =
Expand Down

0 comments on commit f9bbde3

Please sign in to comment.