Ticket #32289 (closed defect: fixed)
py27-rbtools do not work
| Reported by: | mk@… | Owned by: | singingwolfboy@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.3 |
| Keywords: | Cc: | ||
| Port: | py27-rbtools |
Description
After installing py27-rbtools it would not find the post-review command from the terminal, which is why I used the full path:
$ /opt/macports-test/Library/Frameworks/Python.framework/Versions/2.7/bin/post-review --parent=master --tracking-branch=origin/master
Traceback (most recent call last):
File "/opt/macports-test/Library/Frameworks/Python.framework/Versions/2.7/bin/post-review", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
but as one can see, that also fails...
Change History
comment:2 Changed 18 months ago by mk@…
Now post-review is using python 2.4 and it fails:
$ git post-review
Traceback (most recent call last):
File "/opt/macports-test/bin/post-review", line 5, in ?
from pkg_resources import load_entry_point
File "/opt/macports-test/lib/python2.4/site-packages/pkg_resources.py", line 2707, in ?
working_set.require(__requires__)
File "/opt/macports-test/lib/python2.4/site-packages/pkg_resources.py", line 686, in require
needed = self.resolve(parse_requirements(requirements))
File "/opt/macports-test/lib/python2.4/site-packages/pkg_resources.py", line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: simplejson
Note: See
TracTickets for help on using
tickets.


Just saw r87584.
Wondering, why python 2.4 is needed for that...