Opened 13 years ago

Closed 13 years ago

#32289 closed defect (fixed)

py27-rbtools do not work

Reported by: mkae (Marko Käning) 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 (4)

comment:1 Changed 13 years ago by mkae (Marko Käning)

Just saw r87584.

Wondering, why python 2.4 is needed for that...

comment:2 Changed 13 years ago by mkae (Marko Käning)

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

comment:3 Changed 13 years ago by mkae (Marko Käning)

py-simplejson should be a necessary dependency

comment:4 Changed 13 years ago by singingwolfboy@…

Resolution: fixed
Status: newclosed

Should be fixed by #32290. Please let me know if it still doesn't work.

Note: See TracTickets for help on using tickets.