py25-modulegraph-devel: conflicting version information
ratlaw at gmail.com
Thu Feb 11 07:43:04 PST 2010
I'm trying to build git-cola, an application that depends on py2app, which in turn depends on modulegraph. When I try to build the application it appears that modulegraph is reporting it's version as 0.7.3.dev which causes pgk_resources.py to raise a VersionConflict exception because it requires modulegraph>=0.7.3.
The conflicting part comes in when I look at __version__ in modulegraph/__init__.py, which is set to 0.7.1.
This leaves me with two questions: is the version of modulegraph that is installed 0.7.3 (as suggested by macports) or 0.7.1 (as suggested by __init__.py), and where exactly is pgk_resources.py dredging up 0.7.3.dev?
Output of trying to build git-cola follows:
$ make git-cola.app
python setup.py build
python darwin/py2app-setup.py py2app
Traceback (most recent call last):
File "darwin/py2app-setup.py", line 34, in <module>
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/opt/local/lib/python2.5/site-packages/setuptools/dist.py", line 260, in __init__
File "/opt/local/lib/python2.5/site-packages/setuptools/dist.py", line 284, in fetch_build_eggs
File "/opt/local/lib/python2.5/site-packages/pkg_resources.py", line 569, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (modulegraph 0.7.3.dev (/opt/local/lib/python2.5/site-packages), Requirement.parse('modulegraph>=0.7.3'))
make: *** [darwin] Error 1
More information about the macports-users