Opened 8 years ago

Closed 8 years ago

#37556 closed defect (fixed)

py27-cairo @1.10.0 Version reported as 1.0.10 instead

Reported by: peeter.as@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: seanfarley (Sean Farley), ryandesign (Ryan Schmidt)
Port: py27-cairo

Description

I tried to compile a documentation with sphinx, but I got this error:

Exception occurred:
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/backends/backend_cairo.py", line 37, in <module>
    % (cairo.version_info + _version_required))
ImportError: Pycairo 1.0.10 is installed
Pycairo 1.2.0 or later is required
The full traceback has been saved in...

In ipython:

In [29]: import cairo

In [30]: cairo.version_info
Out[30]: (1, 0, 10)

From port installed:

py27-cairo @1.10.0_0+x11 (active)

Also:

$ pkg-config --modversion pycairo
1.10.0

Change History (1)

comment:1 Changed 8 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.