Bug 1323170
Summary: | python-xhtml2pdf: Provide a Python 3 subpackage | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomas Orsava <torsava> |
Component: | python-xhtml2pdf | Assignee: | Major Hayden 🤠 <mhayden> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | dkrejci, mhayden |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-xhtml2pdf-0.1a2-1.fc24 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-05-12 01:31:46 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 |
Description
Tomas Orsava
2016-04-01 12:38:33 UTC
Hello Major, 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 This is on my list of things to do! I haven't had time to work on it yet! :) If you have any suggestions in the meantime, please let me know. python-xhtml2pdf-0.1a2-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d60c1fa9a5 Pushed a new package for rawhide and F24. python-xhtml2pdf-0.1a2-1.fc24 has been pushed to the Fedora 24 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-d60c1fa9a5 Hi Major! Thank you for taking the time! However, there is an issue with the python2-xhtml2pdf subpackage. If you do `rpm -qp --requires` on the resulting RPM you'll find out that this Python 2 subpackage also depends on /usr/bin/python3 for some reason. In most cases this is simply a wrong shebang on top of one of the files. If you'd like more information, there's a section of the Porting Guide [0] about dealing with shebangs, though it's dealing with the reverse problem—Python 2 dependency in a Python 3 subpackage. [0] http://python-rpm-porting.readthedocs.io/en/latest/application-modules.html#are-shebangs-dragging-you-down-to-python-2 Have a great day! Thanks for letting me know. I'm looking at the package now. Tomas -- I think I have it fixed now, but the dependency, python-PyPDF2, doesn't have Python 3 support packaged. Luckily, that's one I maintain, so I'll get started on it. ;) That would be most splendid, thank you and good hunting! python-xhtml2pdf-0.1a2-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |