Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1706040
Summary: | python-biopython FTBFS in rawhide/F31: AttributeError: module 'PIL.Image' has no attribute 'VERSION' | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> | ||||||
Component: | python-biopython | Assignee: | Antonio T. (sagitter) <anto.trande> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | rawhide | CC: | alex, bazanluis20, dominik, jaruga | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2019-06-13 11:06:42 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: | 1600316 | ||||||||
Bug Blocks: | 1700317, 1686977, 1732841 | ||||||||
Attachments: |
|
Created attachment 1562393 [details]
root.log from Koji
Fixed. |
Created attachment 1562380 [details] build.log from Koji python-biopython-1.73-2.fc31 fails to build in rawhide: BUILDSTDERR: ====================================================================== BUILDSTDERR: ERROR: test_render_KGML_transparency (test_KGML_graphics.KGMLPathwayTest) BUILDSTDERR: Rendering of KGML to PDF, with color alpha channel. BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/python-biopython-1.73/python3/Tests/test_KGML_graphics.py", line 182, in test_render_KGML_transparency BUILDSTDERR: kgml_map.draw(p[1].output_stem + '_transparency.pdf') BUILDSTDERR: File "/builddir/build/BUILD/python-biopython-1.73/python3/build/lib.linux-x86_64-3.7/Bio/Graphics/KGML_vis.py", line 148, in draw BUILDSTDERR: self.drawing.drawImage(imfilename, 0, 0) BUILDSTDERR: File "/usr/lib64/python3.7/site-packages/reportlab/pdfgen/canvas.py", line 946, in drawImage BUILDSTDERR: imgObj = pdfdoc.PDFImageXObject(name, image, mask=mask) BUILDSTDERR: File "/usr/lib64/python3.7/site-packages/reportlab/pdfbase/pdfdoc.py", line 2102, in __init__ BUILDSTDERR: self.loadImageFromA85(src) BUILDSTDERR: File "/usr/lib64/python3.7/site-packages/reportlab/pdfbase/pdfdoc.py", line 2110, in loadImageFromA85 BUILDSTDERR: imagedata = pdfutils.makeA85Image(source,IMG=IMG,detectJpeg=True) BUILDSTDERR: File "/usr/lib64/python3.7/site-packages/reportlab/pdfbase/pdfutils.py", line 38, in makeA85Image BUILDSTDERR: raw = img.getRGBData() BUILDSTDERR: File "/usr/lib64/python3.7/site-packages/reportlab/lib/utils.py", line 886, in getRGBData BUILDSTDERR: annotateException('\nidentity=%s'%self.identity()) BUILDSTDERR: File "/usr/lib64/python3.7/site-packages/reportlab/lib/utils.py", line 1390, in annotateException BUILDSTDERR: rl_reraise(t,v,b) BUILDSTDERR: File "/usr/lib64/python3.7/site-packages/reportlab/lib/utils.py", line 144, in rl_reraise BUILDSTDERR: raise v BUILDSTDERR: File "/usr/lib64/python3.7/site-packages/reportlab/lib/utils.py", line 871, in getRGBData BUILDSTDERR: if Image.VERSION.startswith('1.1.7'): im.load() BUILDSTDERR: AttributeError: module 'PIL.Image' has no attribute 'VERSION' BUILDSTDERR: identity=[ImageReader@0x7f73aabf6940 filename='KEGG/map03070.png'] BUILDSTDERR: ---------------------------------------------------------------------- Full log attached. This is not Python 3.8 specific, but blocks the rebuild for Python 3.8.