Description of problem: python3-pygatt can't be installed on Fedora 30. Version-Release number of selected component (if applicable): python-pygatt-4.0.3-1.fc3 How reproducible: Always Steps to Reproduce: 1. dnf install python3-pygatt Actual results: Error: Problem: conflicting requests - nothing provides python3.7dist(enum-compat) needed by python3-pygatt-4.0.3-1.fc30.noarch - nothing provides python3.7dist(enum-compat) needed by python3-pygatt-3.2.0-7.fc30.noarch (try to add '--skip-broken' to skip uninstallable packages) Expected results: Installation successful
This is caused by the automatic requires generator. It parses the setup.py file and turns all the install_requires into dependencies. The 'enum-compat' module should not be required for python newer than 3.4, so it should be safe to patch this out.
Created attachment 1580346 [details] Proposed patch
And... thinking about it, maybe disabling the dependency generator (https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_automatically_generated_dependencies) would be a "cleaner" solution.
FEDORA-2019-3406b0b8de has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3406b0b8de
python-pygatt-4.0.3-2.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-3406b0b8de
python-pygatt-4.0.3-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.