Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2024-05-02 23:42:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "setools" Thu May 2 23:42:58 2024 rev:49 rq:1171339 version:4.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/setools/setools.changes 2024-04-19 19:14:15.183552928 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new.1880/setools.changes 2024-05-03 00:11:14.234375417 +0200 @@ -1,0 +2,9 @@ +Thu May 2 07:41:11 UTC 2024 - Filippo Bonazzi <filippo.bona...@suse.com> + +- Update to version 4.5.1: + - Correct annotations of NetworkX types to make it optional again. + - Fix packaging issue for apol's style sheet (apol.css). +- Drop 0001-Make-networkx-optional-again-Fixes-125.patch fixed upstream +- Change networkx Requires to Suggests + +------------------------------------------------------------------- Old: ---- 0001-Make-networkx-optional-again-Fixes-125.patch setools-4.5.0.tar.bz2 New: ---- setools-4.5.1.tar.bz2 BETA DEBUG BEGIN: Old: - Fix packaging issue for apol's style sheet (apol.css). - Drop 0001-Make-networkx-optional-again-Fixes-125.patch fixed upstream - Change networkx Requires to Suggests BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ setools.spec ++++++ --- /var/tmp/diff_new_pack.o9ZMLJ/_old 2024-05-03 00:11:31.811016201 +0200 +++ /var/tmp/diff_new_pack.o9ZMLJ/_new 2024-05-03 00:11:31.815016347 +0200 @@ -20,7 +20,7 @@ %define pythons %python3_primary_provider Name: setools -Version: 4.5.0 +Version: 4.5.1 Release: 0 URL: https://github.com/SELinuxProject/setools Summary: Policy analysis tools for SELinux @@ -28,8 +28,6 @@ Group: System/Management Source: https://github.com/SELinuxProject/setools/releases/download/%{version}/%{name}-%{version}.tar.bz2 Source2: README.SUSE -# can be removed again when this is fixed upstream: https://github.com/SELinuxProject/setools/issues/125 -Patch0: 0001-Make-networkx-optional-again-Fixes-125.patch BuildRequires: %{python_module Cython >= 0.29.14} BuildRequires: %{python_module devel >= 3.10} BuildRequires: %{python_module setuptools} @@ -71,10 +69,9 @@ Group: Development/Languages/Python Requires: %{python3_primary_provider} >= 3.10 Requires: %{python3_primary_provider}-setuptools -# require python-networkx on tumbleweed -%if 0%{?suse_version} > 1600 -Requires: %{python3_primary_provider}-networkx -%endif +# Only suggest python-networkx due to its large amount of dependencies +# (see README.SUSE) +Suggests: %{python3_primary_provider}-networkx Obsoletes: python-setools < %{version}-%{release} Provides: python-setools = %{version}-%{release} %if "%{python3_primary_provider}" != "python3" ++++++ README.SUSE ++++++ --- /var/tmp/diff_new_pack.o9ZMLJ/_old 2024-05-03 00:11:31.843017368 +0200 +++ /var/tmp/diff_new_pack.o9ZMLJ/_new 2024-05-03 00:11:31.847017514 +0200 @@ -1,3 +1,3 @@ Additional functionality for these tools can be gained by installing python3-networkx. This pulls in many dependencies and is -not needed for most people, therefor it's not required or recommended due to the size of the required dependencies +not needed for most people, therefore it's not required or recommended due to the size of the required dependencies. ++++++ setools-4.5.0.tar.bz2 -> setools-4.5.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setools/ChangeLog new/setools/ChangeLog --- old/setools/ChangeLog 2024-03-21 13:31:59.000000000 +0100 +++ new/setools/ChangeLog 2024-05-01 19:37:42.000000000 +0200 @@ -1,3 +1,8 @@ +*setools-4.5.1 (01 May 2024) + + * Correct annotations of NetworkX types to make it optional again. + * Fix packaging issue for apol's style sheet (apol.css). + *setools-4.5.0 (21 Mar 2024) * Rework apol to fully generate the UI programmatically. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setools/setools/dta.py new/setools/setools/dta.py --- old/setools/setools/dta.py 2024-03-21 13:31:59.000000000 +0100 +++ new/setools/setools/dta.py 2024-05-01 19:37:42.000000000 +0200 @@ -282,7 +282,7 @@ case _: raise ValueError(f"Unknown analysis mode: {self.mode}") - def graphical_results(self) -> nx.DiGraph: + def graphical_results(self) -> "nx.DiGraph": """ Return the results of the analysis as a NetworkX directed graph. @@ -846,7 +846,7 @@ The default is False. """ - G: nx.DiGraph + G: "nx.DiGraph" source: Type target: Type create: InitVar[bool] = False diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setools/setools/infoflow.py new/setools/setools/infoflow.py --- old/setools/setools/infoflow.py 2024-03-21 13:31:59.000000000 +0100 +++ new/setools/setools/infoflow.py 2024-05-01 19:37:42.000000000 +0200 @@ -207,7 +207,7 @@ case _: raise ValueError(f"Unknown analysis mode: {self.mode}") - def graphical_results(self) -> nx.DiGraph: + def graphical_results(self) -> "nx.DiGraph": """ Return the results of the analysis as a NetworkX directed graph. @@ -590,7 +590,7 @@ The default is False. """ - G: nx.DiGraph + G: "nx.DiGraph" source: Type target: Type create: InitVar[bool] = False diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setools/setup.py new/setools/setup.py --- old/setools/setup.py 2024-03-21 13:31:59.000000000 +0100 +++ new/setools/setup.py 2024-05-01 19:37:42.000000000 +0200 @@ -65,7 +65,7 @@ installed_data.append((join('share/man', lang, 'man1'), glob.glob(join("man", lang, "*.1")))) setup(name='setools', - version='4.5.0', + version='4.5.1', description='SELinux policy analysis tools.', author='Chris PeBenito', author_email='peben...@ieee.org', @@ -75,7 +75,7 @@ 'setoolsgui.widgets.models', 'setoolsgui.widgets.views'], scripts=['apol', 'sediff', 'seinfo', 'seinfoflow', 'sesearch', 'sedta', 'sechecker'], data_files=installed_data, - package_data={'': ['*.html'], + package_data={'': ['*.css', '*.html'], 'setools': ['perm_map', 'policyrep.pyi', 'py.typed']}, ext_modules=cythonize(ext_py_mods, include_path=['setools/policyrep'], annotate=cython_annotate, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setools/tox.ini new/setools/tox.ini --- old/setools/tox.ini 2024-03-21 13:31:59.000000000 +0100 +++ new/setools/tox.ini 2024-05-01 19:37:42.000000000 +0200 @@ -41,7 +41,9 @@ [testenv:install] deps = {[testenv]deps} -commands = {envpython} -m pip install --use-pep517 . +allowlist_externals = find +commands = {envpython} -m pip install --use-pep517 --root {envtmpdir}/setools . + find {envtmpdir}/setools [testenv] passenv = USERSPACE_SRC