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:
Lubomír Sedlář 2024-07-29 10:28:32 +02:00 committed by Stepan Oksanichenko
parent 5bcb3f5ac1
commit 32d5d32a6e
Signed by: soksanichenko
GPG Key ID: AB9983172AB1E45B
2 changed files with 2 additions and 4 deletions

View File

@ -1,9 +1,7 @@
# Some packages must be installed via dnf/yum first, see doc/contributing.rst
dict.sorted
dogpile.cache
flufl.lock ; python_version >= '3.0'
flufl.lock < 3.0 ; python_version <= '2.7'
funcsigs
jsonschema
kobo
koji
@ -14,4 +12,4 @@ ordered_set
productmd
pykickstart
python-multilib
urlgrabber
urlgrabber ; python_version < '3.0'

View File

@ -50,7 +50,7 @@ allowlist_externals =
sh
commands =
sh -c 'find . -name "__pycache__" -exec rm -rf \{\} +'
pip install --force-reinstall pytest mock
pip install --force-reinstall pytest
pytest {posargs}
[flake8]