Remove python 2.7 from tox configuration
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com> (cherry picked from commit af10ab312b248052e987ee2c50650e2db85be5e4)
This commit is contained in:
parent
e98dd56fce
commit
74db11a836
@ -1,7 +1,6 @@
|
|||||||
# Some packages must be installed via dnf/yum first, see doc/contributing.rst
|
# Some packages must be installed via dnf/yum first, see doc/contributing.rst
|
||||||
dogpile.cache
|
dogpile.cache
|
||||||
flufl.lock ; python_version >= '3.0'
|
flufl.lock
|
||||||
flufl.lock < 3.0 ; python_version <= '2.7'
|
|
||||||
jsonschema
|
jsonschema
|
||||||
kobo
|
kobo
|
||||||
koji
|
koji
|
||||||
@ -12,4 +11,3 @@ ordered_set
|
|||||||
productmd
|
productmd
|
||||||
pykickstart
|
pykickstart
|
||||||
python-multilib
|
python-multilib
|
||||||
urlgrabber ; python_version < '3.0'
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
mock; python_version < '3.3'
|
|
||||||
parameterized
|
parameterized
|
||||||
pytest
|
pytest
|
||||||
pytest-cov
|
pytest-cov
|
||||||
|
17
tox.ini
17
tox.ini
@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = bandit, flake8, black, py27, py3
|
envlist = bandit, flake8, black, py3
|
||||||
|
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
deps =
|
deps =
|
||||||
@ -26,21 +26,6 @@ commands =
|
|||||||
{[testenv:flake8]commands}
|
{[testenv:flake8]commands}
|
||||||
black --check --diff pungi pungi_utils setup.py tests --exclude tests/_composes
|
black --check --diff pungi pungi_utils setup.py tests --exclude tests/_composes
|
||||||
|
|
||||||
[testenv:py27]
|
|
||||||
sitepackages = true
|
|
||||||
deps =
|
|
||||||
-rrequirements.txt
|
|
||||||
-rtest-requirements.txt
|
|
||||||
allowlist_externals =
|
|
||||||
sh
|
|
||||||
make
|
|
||||||
coverage
|
|
||||||
commands =
|
|
||||||
sh -c 'find . -name "*.pyc" -exec rm -f \{\} +'
|
|
||||||
pip install --force-reinstall pytest mock
|
|
||||||
make test-coverage
|
|
||||||
coverage xml
|
|
||||||
|
|
||||||
[testenv:py3]
|
[testenv:py3]
|
||||||
sitepackages = true
|
sitepackages = true
|
||||||
deps =
|
deps =
|
||||||
|
Loading…
Reference in New Issue
Block a user