From 346c643bccc319953972151b5aeb10fe28a89eb8 Mon Sep 17 00:00:00 2001 From: Dominik 'Rathann' Mierzejewski Date: Wed, 16 Feb 2022 12:40:14 +0100 Subject: [PATCH] lower PyYAML and psutil version requirements RHEL8 and derivatives carry PyYAML 3.12 and psutil 5.4.3 built for the default python 3.6 in the base OS repository. Consequently, solaar is not installable without installing python38 or python39 stack (called module in RHEL/Fedora) that carry newer versions of these two. solaar seems to work fine with these older versions as [confirmed](https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-f65a1a9d86) by @mefuller . Fixes #1418 . --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 36615f9f..dd1423b7 100755 --- a/setup.py +++ b/setup.py @@ -62,9 +62,9 @@ For instructions on installing Solaar see https://pwr-solaar.github.io/Solaar/in python_requires='>=3.6', install_requires=[ 'pyudev (>= 0.13)', - 'PyYAML (>= 5.1)', + 'PyYAML (>= 3.12)', 'python-xlib (>= 0.27)', - 'psutil (>= 5.6.0)', + 'psutil (>= 5.4.3)', ], package_dir={'': 'lib'}, packages=['hidapi', 'logitech_receiver', 'solaar', 'solaar.ui', 'solaar.cli'],