From c96b5358ba68133409aaa92c5ac637d1d2e27250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Mon, 29 Jul 2024 10:28:32 +0200 Subject: [PATCH] Clean up requirements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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ář --- requirements.txt | 4 +--- tox.ini | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 4f24c110..2a34d731 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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' diff --git a/tox.ini b/tox.ini index 77c6ddeb..012b6020 100644 --- a/tox.ini +++ b/tox.ini @@ -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]