Clean up requirements
* dict.sorted and funcsigs are not used anywhere anymore
* urlgrabber is used only in the yum based gather.py module, and thus
only needed on Python 2
* py3 doesn't need to reinstall mock as that is part of stdlib now
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit c96b5358ba
)
This commit is contained in:
parent
5bcb3f5ac1
commit
32d5d32a6e
@ -1,9 +1,7 @@
|
|||||||
# 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
|
||||||
dict.sorted
|
|
||||||
dogpile.cache
|
dogpile.cache
|
||||||
flufl.lock ; python_version >= '3.0'
|
flufl.lock ; python_version >= '3.0'
|
||||||
flufl.lock < 3.0 ; python_version <= '2.7'
|
flufl.lock < 3.0 ; python_version <= '2.7'
|
||||||
funcsigs
|
|
||||||
jsonschema
|
jsonschema
|
||||||
kobo
|
kobo
|
||||||
koji
|
koji
|
||||||
@ -14,4 +12,4 @@ ordered_set
|
|||||||
productmd
|
productmd
|
||||||
pykickstart
|
pykickstart
|
||||||
python-multilib
|
python-multilib
|
||||||
urlgrabber
|
urlgrabber ; python_version < '3.0'
|
||||||
|
2
tox.ini
2
tox.ini
@ -50,7 +50,7 @@ allowlist_externals =
|
|||||||
sh
|
sh
|
||||||
commands =
|
commands =
|
||||||
sh -c 'find . -name "__pycache__" -exec rm -rf \{\} +'
|
sh -c 'find . -name "__pycache__" -exec rm -rf \{\} +'
|
||||||
pip install --force-reinstall pytest mock
|
pip install --force-reinstall pytest
|
||||||
pytest {posargs}
|
pytest {posargs}
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
|
Loading…
Reference in New Issue
Block a user