Re: [Rdkit-devel] last test failing with python3

2015-12-04 Thread Gianluca Sforna
On Thu, Dec 3, 2015 at 4:31 PM, Greg Landrum wrote: > If both pycairo and cairocffi are installed, the code will prefer cairocffi > with python3. Yeah, that I also figured by looking at rdkit/Chem/Draw/cairoCanvas.py. However, adding python3-cairocffi as dependency did not produce the desired res

Re: [Rdkit-devel] last test failing with python3

2015-12-03 Thread Greg Landrum
Hi Gianluca, It looks like that function is not available with pycairo for Python3: http://cairographics.org/documentation/pycairo/3/reference/surfaces.html#cairo.ImageSurface.create_for_data It is (or should be) available in cairocffi: https://pythonhosted.org/cairocffi/api.html#cairocffi.ImageSu