Closed Bug 1190817 Opened 9 years ago Closed 9 years ago

marionette install from pypi is broken

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(firefox42 fixed)

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: parkouss, Assigned: parkouss)

References

Details

Attachments

(1 file)

On a fresh virtualenv, I just did:

> pip install marionette_client

then ran:

> marionette -h

Traceback (most recent call last):
  File "/home/jp/dev/bug2dot/venv/bin/marionette", line 9, in <module>
    load_entry_point('marionette-client==0.17', 'console_scripts', 'marionette')()
  File "/home/jp/dev/bug2dot/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 353, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/jp/dev/bug2dot/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 2321, in load_entry_point
    return ep.load()
  File "/home/jp/dev/bug2dot/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 2048, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/home/jp/dev/bug2dot/venv/local/lib/python2.7/site-packages/marionette/runtests.py", line 9, in <module>
    from marionette_transport import __version__ as transport_version
ImportError: cannot import name __version__


So w should release a new marionette transport, update the required dependency from client and release a new client.

Note that mozrunner should be released before because of https://hg.mozilla.org/mozilla-central/rev/1c9c68365592 (see bug 1190813).
So we should update mozrunner required dependency from marionette also. :)
Attached patch 1190817.patchSplinter Review
This update the versions of client, driver and transport - we should release all that to pypi once landed.
Assignee: nobody → j.parkouss
Status: NEW → ASSIGNED
Attachment #8643016 - Flags: review?(dburns)
Attachment #8643016 - Flags: review?(dburns) → review+
https://hg.mozilla.org/mozilla-central/rev/8e3109e313fd
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Just for reference, David uploaded all packages to PyPI a couple of hours ago.
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: