Bug 1432165
| Summary: | doesn't this package need a python "enum-compat"? | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Brian J. Murrell <brian> |
| Component: | python-zeroconf | Assignee: | Miro Hrončok <mhroncok> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | brian, mhroncok, pbrobinson, python-sig |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-zeroconf-0.18.0-2.fc27 python-zeroconf-0.18.0-2.fc25 python-zeroconf-0.18.0-2.fc26 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-24 18:55:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
We don't have enum-compat in Fedora, because it's just a no-op for python3 and just brings enum34 for python2. I guess we'll need to patch it out from setup.py. Try:
sudo dnf update https://kojipkgs.fedoraproject.org//work/tasks/4605/18384605/python2-zeroconf-0.18.0-2.fc25.noarch.rpm
Does it fix your problem?
Yes, it seems to. Thanks! Shall I build this in F25 as well, so you don't need to rebuild it yourself? python-zeroconf-0.18.0-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b2807eddcd python-zeroconf-0.18.0-2.fc26 has been pushed to the Fedora 26 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-2017-b2807eddcd (In reply to Miro Hrončok from comment #4) > Shall I build this in F25 as well, so you don't need to rebuild it yourself? I got it from the koji build in comment #2, but it might be nice to have it in F25 for others. python-zeroconf-0.18.0-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-7ea7818e6e python-zeroconf-0.18.0-2.fc25 has been pushed to the Fedora 25 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-2017-7ea7818e6e Could you test and add karma? https://bodhi.fedoraproject.org/updates/FEDORA-2017-7ea7818e6e python-zeroconf-0.18.0-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. python-zeroconf-0.18.0-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. |
I'm certainly not a python expert, but when trying to use a package that requires python-zeroconf, I'm getting an error: Traceback (most recent call last): File "/bin/pulseaudio-dlna", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2958, in <module> @_call_aside File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2944, in _call_aside f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2971, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 635, in _build_master ws.require(__requires__) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 943, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 829, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'enum-compat' distribution was not found and is required by zeroconf This is happening with python2-zeroconf-0.18.0-1.fc25.noarch which is a rebuild of https://admin.fedoraproject.org/pkgdb/package/rpms/python-zeroconf/ on F25. The setup.py for zeroconf-0.18.0.tar.gz certainly does say: install_requires=[ 'enum-compat', 'netifaces', 'six', ],