Re: [Image-SIG] Python 3 port -- first pass finished

2012-11-01 Thread Brian Crowell
On Thu, Oct 25, 2012 at 10:31 AM, Brian Crowell br...@fluggo.com wrote: The test runner *looks* like it includes support for this module: http://pypi.python.org/pypi/coverage I got it working this morning. The results are quite awesome, but could use some tweaking. To get it working, I had

Re: [Image-SIG] Python 3 port -- first pass finished

2012-10-30 Thread Mikhail Korobov
Hello Brian et al, Thanks for your work! There are some issues with Python3 fork (I don't know if they apply to main Pillow though): 1) Test running doesn't work for me. python Tests/run.py fails with many obscure errors: running test_numpy ... === error 256 Traceback (most recent call

Re: [Image-SIG] Python 3 port -- first pass finished

2012-10-30 Thread Brian Crowell
On Mon, Oct 29, 2012 at 2:11 PM, Mikhail Korobov kmik...@gmail.com wrote: 1) Test running doesn't work for me. python Tests/run.py ... ImportError: No module named __future__ It would be an awfully odd version of Python that didn't recognize a __future__ import. What version of Python is

Re: [Image-SIG] Python 3 port -- first pass finished

2012-10-25 Thread Brian Crowell
On Wed, Oct 24, 2012 at 8:34 PM, Christoph Gohlke cgoh...@uci.edu wrote: FWIW, those are the official PIL tests from https://bitbucket.org/effbot/pil-2009-raclette/ adjusted to Python 3. Hello! I had just assumed that Pillow included raclette, or that you had worked straight off PIL 1.1.7, and

Re: [Image-SIG] Python 3 port -- first pass finished

2012-10-25 Thread Brian Crowell
On Wed, Oct 24, 2012 at 8:37 PM, Alex Clark acl...@aclark.net wrote: Can we run a coverage report? IIRC nose makes that easier, but I don't recall if anyone's added it to Pillow yet. The test runner *looks* like it includes support for this module: http://pypi.python.org/pypi/coverage You

Re: [Image-SIG] Python 3 port -- first pass finished

2012-10-24 Thread Brian Crowell
On Sun, Oct 21, 2012 at 3:54 PM, Alex Clark acl...@aclark.net wrote: You rock! I'm planning to do another PIllow release this month and will try to find some time to test this. The more I look at it, the more areas I'm seeing that Gohlke's tests don't cover. There are a lot of image plugins

Re: [Image-SIG] Python 3 port -- first pass finished

2012-10-24 Thread Christoph Gohlke
On 10/24/2012 6:19 PM, Brian Crowell wrote: On Sun, Oct 21, 2012 at 3:54 PM, Alex Clark acl...@aclark.net wrote: You rock! I'm planning to do another PIllow release this month and will try to find some time to test this. The more I look at it, the more areas I'm seeing that Gohlke's tests

Re: [Image-SIG] Python 3 port -- first pass finished

2012-10-21 Thread Alex Clark
On 2012-10-21 16:41:46 +, Brian Crowell said: I completed my first pass at a Python 2.6/3.2 port. You can find it at: https://github.com/fluggo/Pillow Please check it out and test it. This port is largely based on previous ports by Christoph Gohlke and Hajime Nakagami. You can find