Description of problem: Installing the libselinux Python bindings via the python3-libselinux package is not recognized by Python packaging tools. Version-Release number of selected component (if applicable): python3-libselinux-2.8-6.fc29 python3-libselinux-2.9-1.fc30 python3-libselinux-2.9-1.fc31 Steps to Reproduce: 1. dnf install python3-libselinux 2. pip3 list | grep -i selinux Actual results: no output Expected results: selinux 2.9 Additional info: I have a CLI tool that imports selinux in order to run a restorecon. That works, but the tool is installed with a setuptools entry point, which uses pkg_resources to verify all the requirements are installed. The missing metadata causes pkg_resources to abort the CLI execution. The only way to work around it is to not list selinux in my setup.py requirements.
^_^ rpm -q python3-libselinux python3-libselinux-2.9-2.fc31.x86_64 ^_^ pip3 list | grep -i selinux selinux 2.9
Thanks Petr for that fix. Any chance it can be backported to Fedora 30?
FEDORA-2019-8278841292 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-8278841292
(In reply to Carl George from comment #2) > Thanks Petr for that fix. Any chance it can be backported to Fedora 30? Sure. I prepared the update back in June but then I somehow forgot about it. Sorry.
libselinux-2.9-3.1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-8278841292
libselinux-2.9-3.1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.