Go to file
Johannes Segitz 46eb5c010e Accepting request 956666 from home:shunghsiyu:branches:openSUSE:Factory
Make dependency on python3-networkx optional.

python3-network pulls in python38-matplotlib and python38-scipy, which then pulls in various mathematical and graphical libraries that are not needed on a minimal server environment (e.g. MicroOS).

While sedta will not work without python3-networkx, with this patch (already merged upstream https://github.com/SELinuxProject/setools/pull/68) it will emit an error message pointing user to install python3-networkx instead of throwing ImportError.

Further more, by default zypper install recommended packages as well, so general users are unlikely to even notice the difference. It only makes a difference if recommends are disabled; either explicitly by giving --no-recommends to zypper or setting solver.onlyRequires=true in zypp.conf, the latter is what MicroOS does.

OBS-URL: https://build.opensuse.org/request/show/956666
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=84
2022-02-22 15:38:03 +00:00
.gitattributes Accepting request 14277 from security:SELinux 2009-08-11 15:57:05 +00:00
.gitignore Accepting request 14277 from security:SELinux 2009-08-11 15:57:05 +00:00
make-networkx-optional.patch Accepting request 956666 from home:shunghsiyu:branches:openSUSE:Factory 2022-02-22 15:38:03 +00:00
setools-4.4.0.tar.bz2 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=80 2021-03-12 07:59:19 +00:00
setools.changes Accepting request 956666 from home:shunghsiyu:branches:openSUSE:Factory 2022-02-22 15:38:03 +00:00
setools.spec Accepting request 956666 from home:shunghsiyu:branches:openSUSE:Factory 2022-02-22 15:38:03 +00:00