From 02f8a1571cda0b02c58ccff999f93e0e8d426e9a Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Fri, 13 Feb 2026 16:18:46 -0500 Subject: [PATCH 1/4] pyproject.toml: Remove deprecated pylint option. Signed-off-by: Chris PeBenito --- pyproject.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 28ae121a..2fd9a309 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -199,10 +199,6 @@ persistent = true # Discover python modules and packages in the file system subtree. # recursive = -# When enabled, pylint would attempt to guess common misconfiguration and emit -# user-friendly hints instead of false-positive error messages. -suggestion-mode = true - # Allow loading of arbitrary C extensions. Extensions are imported into the # active Python interpreter and may run arbitrary code. # unsafe-load-any-extension = From 97b446471ce8d05cf69e5230b1d03af9d5414d7c Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Fri, 13 Feb 2026 16:20:58 -0500 Subject: [PATCH 2/4] pyproject.toml: Set pytest to explicitly use PyQt6. If PyQt6 and PySide6 are installed, pytest-qt will choose PySide6 otherwise. Signed-off-by: Chris PeBenito --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 2fd9a309..7a16441a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -646,6 +646,7 @@ redefining-builtins-modules = ["six.moves", "past.builtins", "future.builtins", [tool.pytest.ini_options] addopts = ["--import-mode=importlib",] pythonpath = "." +qt_api = "pyqt6" markers = [ "obj_args" ] From c71d747f250f39d7caf46970961e21f440bcead9 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Fri, 13 Feb 2026 16:22:14 -0500 Subject: [PATCH 3/4] README: remove stale Apol help file section. This help file is no longer used. Signed-off-by: Chris PeBenito --- README.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/README.md b/README.md index efd47b53..ebd9dda5 100644 --- a/README.md +++ b/README.md @@ -76,17 +76,6 @@ and perform the following at the root: This will compile the C portion of SETools locally, and then the tools can be ran from the current directory (e.g. `./seinfo`). -### Rebuilding the Apol Help File - -For convenience, a prebuilt copy of the apol help data file is included. -To rebuild this file, the Qt5 development tools are required -(particularly, the `qcollectiongenerator` tool). At the root -of the SETools sources, perform the following: - -```bash - $ python setup.py build_qhc -``` - ### Installing SETools Unpack the official distribution or check out the git repository, From c303481159bc85d061a1e74b93adf3aa44baf99b Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Fri, 13 Feb 2026 10:12:06 -0500 Subject: [PATCH 4/4] tests.yml: Refine build matrix. Also add Python 3.14 testing. Signed-off-by: Chris PeBenito --- .github/workflows/tests.yml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 317cda87..0fc1a97d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,25 +26,32 @@ jobs: fail-fast: false matrix: - build-opts: - - {python: '3.10', tox: python3} - - {python: '3.11', tox: python3} - - {python: '3.12', tox: python3} - - {python: '3.13', tox: python3} + # unit tests + python: + - "3.10" + - "3.11" + - "3.12" + - "3.13" + - "3.14" + tox: + - "python3" + include: + # static analysis - {python: '3.11', tox: pep8} - {python: '3.11', tox: lint} - {python: '3.11', tox: mypy} - {python: '3.11', tox: coverage} + # install test - {python: '3.11', tox: install} steps: - uses: actions/checkout@v3 # This should be the minimum required Python version to build refpolicy. - - name: Set up Python ${{ matrix.build-opts.python }} + - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v6 with: - python-version: ${{ matrix.build-opts.python }} + python-version: ${{ matrix.python }} - name: Install dependencies run: | @@ -90,6 +97,6 @@ jobs: run: | # confirm python version python --version - python -m tox -e ${{ matrix.build-opts.tox }} + python -m tox -e ${{ matrix.tox }} env: LD_LIBRARY_PATH: "${{env.SEPOL_SRC}}/src:${{env.SELINUX_SRC}}/src:${LD_LIBRARY_PATH}"