| Summary: | nut: Provide a Python 3 subpackage | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tomas Orsava <torsava> |
| Component: | nut | Assignee: | Michal Hlavinka <mhlavink> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dkrejci, mhlavink, pviktori |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-06-22 15:50:50 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: | |
|
Description
Tomas Orsava
2016-04-01 16:19:13 UTC
Hello Michal, Do you need any help adding Python 3 support to the RPM? If you need more instructions, a [guide] for porting Python-based RPMs is available. [guide] http://python-rpm-porting.readthedocs.org/en/latest/index.html (In reply to Tomas Orsava from comment #0) > Upstream, this software supports Python 3. incorrect PyNUT module supports python3. I'm not aware of anything that uses it except nut-monitor itself, which is python2 only. Also it uses other modules that are not available in python3, for example it uses pygtk Our tools are detecting a Python 2 dependency in the `nut-client` submodule. Are you sure upstream does not support Python 3 for that submodule? If not, I apologize for the mistaken bug filing. Thank you for your time! I found that /usr/share/nut/nut-monitor/nut-monitor has a "#!/usr/bin/env python" shebang. This would cause the dependency on Python 2. That's not the problem. It has
> import gtk, gtk.glade, gobject
which AFAIK can't be satisfied with python3
|