Bug 1352490
| Summary: | python-ceilometermiddleware: Provide a Python 3 subpackage | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Viktorin (pviktori) <pviktori> | ||||
| Component: | python-ceilometermiddleware | Assignee: | Pradeep Kilambi <pkilambi> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 25 | CC: | cstratak, dkrejci, pkilambi | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | python-ceilometermiddleware-0.5.0-1.fc25 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-02-22 16:50:32 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1285816, 1312032 | ||||||
| Attachments: |
|
||||||
|
Description
Petr Viktorin (pviktori)
2016-07-04 09:19:53 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'. Created attachment 1196673 [details] add Python 3 & update version Hi Pradeep, here is the change needed to add Python 3 support and update the version. Could you please review it and do the update? There is an issue on F24 - problem witch BuildRequire: python-pycadf, it can not be found. On 25 and rawhide works fine. Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=15461555 Also tested in Mock (fedora-25-x86_64, fedora-rawhide-x86_64). Thanks. I just applied your patch and tried building and i get a error with BuildRequires: python3-pycadf . Does python3-pycadf exist? i get package not found. I can pull in python-pycadf though. also if i remove python3-pycadf build requires it moves forward but fails with
size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic'
+ /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s'
ERROR:root:Error parsing
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pbr/core.py", line 109, in pbr
attrs = util.cfg_to_args(path)
File "/usr/lib/python2.7/site-packages/pbr/util.py", line 261, in cfg_to_args
wrap_commands(kwargs)
File "/usr/lib/python2.7/site-packages/pbr/util.py", line 541, in wrap_commands
for cmd, _ in dist.get_command_list():
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 447, in get_command_list
cmdclass = ep.resolve()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python2.7/site-packages/testrepository/setuptools_command.py", line 33, in <module>
from testrepository import commands
File "/usr/lib/python2.7/site-packages/testrepository/commands/__init__.py", line 40, in <module>
import subunit
File "/usr/lib/python2.7/site-packages/subunit/__init__.py", line 141, in <module>
from iso8601 import iso8601
ImportError: cannot import name iso8601
error in setup command: Error parsing /home/pkilambi/rpmbuild/BUILD/ceilometermiddleware-0.5.0/setup.cfg: ImportError: cannot import name iso8601
error: Bad exit status from /var/tmp/rpm-tmp.aTEsgT (%build)
looks like we are missing python-iso8601 requires too.
ok ignore the above iso8601 error, looks like i needed to update pbr. If we can confirm on python3 package for pycadf, i'll push this out and build. > Does python3-pycadf exist? i get package not found. I can pull in
> python-pycadf though.
python3-pycadf exists in rawhide so far.
python-ceilometermiddleware-0.5.0-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-6027fb6110 submitted the patch and built packages. Thanks! python-ceilometermiddleware-0.5.0-1.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-6027fb6110 python-ceilometermiddleware-0.5.0-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. |