Description of problem: Installing the createrepo_c Python bindings via the python3-createrepo_c package is not recognized by Python packaging tools. Version-Release number of selected component (if applicable): python3-createrepo_c-0.10.0-19.fc28.x86_64 python3-createrepo_c-0.12.2-1.fc29.x86_64 python3-createrepo_c-0.12.2-1.fc30.x86_64 python3-createrepo_c-0.12.2-1.fc31.x86_64 Steps to Reproduce: 1. dnf install python3-createrepo_c 2. pip3 list | grep createrepo Actual results: no output Expected results: createrepo-c <some version> Additional info: I'd like pip to be able to recognize the system install of python3-createrepo_c so that way a pip install of local source code doesn't try to install the createrepo_c dependency from PyPI, which fails due to missing development libraries.
I found that creating a dist-info directory and INSTALLER file works as a temporary workaround for pip to see the system package. This probably isn't a complete fix but it works for now. mkdir /usr/lib64/python3.7/site-packages/createrepo_c-0.12.2.dist-info touch /usr/lib64/python3.7/site-packages/createrepo_c-0.12.2.dist-info/INSTALLER Source: https://www.riverbankcomputing.com/pipermail/pyqt/2018-May/040350.html
Nevermind, that doesn't work after all. It makes it show up in a `pip3 list` but running `pip3 install -e .` or `python3 setup.py install` gives this error. error: [Errno 2] No such file or directory: '/usr/lib64/python3.7/site-packages/createrepo_c-0.12.2.dist-info/METADATA'
I created a PR: https://github.com/rpm-software-management/createrepo_c/pull/167 It should add the missing metadata to python3-createrepo_c and python2-createrepo_c
FEDORA-2019-0c7c99d987 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0c7c99d987
createrepo_c-0.15.1-1.fc30, drpm-0.4.1-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-0c7c99d987
createrepo_c-0.15.1-1.fc30, drpm-0.4.1-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.