Bug 1354481
| Summary: | Python 3 version of openwsman-python | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Oyvind Albrigtsen <oalbrigt> |
| Component: | openwsman | Assignee: | Vitezslav Crhonek <vcrhonek> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 25 | CC: | praveen_paladugu, srinivas_g_gowda, vcrhonek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openwsman-2.6.2-7.fc26 openwsman-2.6.2-7.fc25 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-05 17:53:16 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: | |||
|
Description
Oyvind Albrigtsen
2016-07-11 12:10:34 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'. Hello Oyvind, Please check openwsman-2.6.2-7.fc26 which I've built recently for Rawhide. It introduces new subpackage named openwsman-python3 with binding for Python 3. It also keeps old openwsman-python for Python 2. I updated Openwsman only in Rawhide at this moment, because the change needed some tweaks in Openwsman's build system (as it doesn't support build for both Python versions) and I want to be sure that I didn't break something. Please let me know your opinion and whether everything works as expected. It works fine for building (where it also imports it, so it should be fine).
It fails in my rawhide VM though, so I guess that might be because it's not as up-to-date as the rawhide build-branch.
From my rawhide VM:
# python3
Python 3.5.2 (default, Aug 16 2016, 12:17:47)
[GCC 6.1.1 20160810 (Red Hat 6.1.1-5)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pywsman
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.5/site-packages/pywsman.py", line 109, in <module>
OPENWSMAN_MAJOR = _pywsman.OPENWSMAN_MAJOR
AttributeError: module '_pywsman' has no attribute 'OPENWSMAN_MAJOR'
openwsman-2.6.2-7.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0fe46c0ad2 openwsman-2.6.2-7.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-2016-0fe46c0ad2 openwsman-2.6.2-7.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. |