Closed Bug 1021734 Opened 10 years ago Closed 10 years ago

Remove complicated logic from Marionette's setup.py dealing with transport

Categories

(Testing :: Marionette Client and Harness, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla33

People

(Reporter: jgriffin, Assigned: jgriffin)

Details

(Keywords: pi-marionette-client)

Attachments

(1 file)

We have weird logic in Marionette's setup.py to handle installing marionette-transport from local sources if available.  This is currently breaking Marionette doc generation.

We should change the way we handle installation of marionette-client and marionette-transport to be similar to the mozbase case...in mozharness, we'll do a two-pass install, one without deps and one with, and setup.py will not contain any extra logic.

We may want to provide an in-tree mozbase-style setup_development.py so that it's easy to install both local packages from one command, although changes to transport.py are uncommon so this might not be that important.
It looks like mozharness is already doing the right thing; here's a try push to see if we can just simply add marionette-transport as a simple dependency with no other changes:

https://tbpl.mozilla.org/?tree=Try&rev=6b671e783834
No mozharness changes needed.  I think we don't really need a setup_development.py; that would only be useful for people working directly on marionette-transport and I think such people can figure out how to do a local install.
Attachment #8437927 - Flags: review?(wlachance)
Assignee: nobody → jgriffin
Comment on attachment 8437927 [details] [diff] [review]
Remove special handling for marionette-transport,

Review of attachment 8437927 [details] [diff] [review]:
-----------------------------------------------------------------

Yay!
Attachment #8437927 - Flags: review?(wlachance) → review+
https://hg.mozilla.org/mozilla-central/rev/dc8e76b5073c
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Testing → Remote Protocol

Moving bugs for Marionette client due to component changes.

Component: Marionette → Marionette Client and Harness
Product: Remote Protocol → Testing
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: