-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix test suite when reading image file #47
Comments
I can't open that image ( |
Same here, and this image is not even referenced explicitly in any of the SVG files in |
I'm working on convertImage now, several things need updating. |
With the above commits, the tests run fine on Python 2, however on Python 3, I'm confronted with https://bitbucket.org/rptlab/reportlab/issues/98/ |
Funny error. Especially since the |
@claudep I suggest you send a message on the RL mailing list, which is what they observe more thoroughly than some issue tracker. And tell Robin this is kind of a late X-mas gift from me. ;-) |
I don't know if this is really a gift or not for RL, as I don't know the capabilities of their closed-source PLUS version. |
ReportLab 3.3.26 solves this issue. Now should we still add some workaround code with Python 3/ReportLab < 3.3.26, considering that such combinations might be used in the next two years at least? (next Debian will have 3.3.0, as has Ubuntu 16.04). |
However, I'm not sure we can do anything, as we cannot know whether the drawing we are building will be used to render an image or a PDF or anything else. |
Assuming reportlab 3.3.26 can be installed flawlessly, I'd opt for adding a note to the testsuite's README and the respective code line where the PNGs are created to use this with reportlab 3.3.36, rather than pin this version in the requirements, since I believe typical reportlab users are not jumping on new versions automatically. Does that make sense? |
+1 to not require this version and to a note in the README. |
Done in d122b5b. |
Looks like after moving the test suite one level up some images for the W3C SVG tests cannot be found anymore. Same on Py2 and 3.
The text was updated successfully, but these errors were encountered: