From: Michael D. <md...@st...> - 2012-05-14 17:27:50
|
On 05/14/2012 12:58 PM, Christoph Gohlke wrote: > > On 5/14/2012 7:43 AM, Michael Droettboom wrote: >> On 05/12/2012 01:33 PM, Christoph Gohlke wrote: >>> >>> On 5/12/2012 6:16 AM, Michael Droettboom wrote: >>>> On 05/12/2012 07:21 AM, Mark Lawrence wrote: >>>>> My original offer (made several months ago) to help test this on >>>>> Windows >>>>> still stands :) >>>>> >>>> Thanks. Does git master build and pass the unit tests on Windows? >>>> >>>> Mike >>>> >>> git master builds and tests OK on win32-py2.7. >>> >>> With the attached patch git master builds and works (in practice) OK >>> on win-amd64-py3.2 but there are many test errors of type >>> "RuntimeError: Could not open facefile X:\Python32\...\ttf\Vera.ttf; >>> Cannot_Open_Resource". I do delete the ~\.matplotlib folder before >>> running the tests and can verify that >>> FT2Font(r"X:\Python32\lib\site-packages\matplotlib\mpl-data\fonts\ttf\Vera.ttf") >>> works. >> That looks like the same issue we were having on the 1.1.x branch -- >> that it's running out of file handles -- that I thought was fixed by >> this PR: >> >> https://github.com/matplotlib/matplotlib/pull/798 >> >> >> PR798 works for Python 2.7. But under Python 3.2 the tests are still >> running out of file handles. Manually increasing the open files limit >> helps (only one test fails). >> Ah, I guess that makes sense given how destructors are handled differently on Python 3. I have some thoughts on this that I might put into a PR. I don't have access to a Windows box at the moment, so I may need some help testing. Mike |