summarylogtreecommitdiffstats
path: root/0001-setup.py-Move-static-definitions-to-pyproject.toml.patch
AgeCommit message (Collapse)Author
12 dayssetools 4.5.1-2 update: fix setuptools compatibilityNicolas Iooss
Setuptools now reports: /usr/lib/python3.12/site-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! dist.fetch_build_eggs(dist.setup_requires) /usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) SETools upstream actually reworked `setup.py` in https://github.com/SELinuxProject/setools/pull/131 ("setup.py: Move static definitions to pyproject.toml."), which is not part of a release yet. Backport the commits from this Pull Request to enable using recent setuptools when building and testing setools. Moreover, the testsuite requires module `pytestqt` provided by package `python-pytest-qt`, and `PySide6` or another PyQt Python package. Add the required dependencies to `checkdepends`. Finally, `python setup.py test` no longer works. Upstream README, https://github.com/SELinuxProject/setools/blob/4.5.1/README.md#unit-tests , documents: python setup.py build_ext -i pytest tests Use this instead. Fixes: https://github.com/archlinuxhardened/selinux/issues/125