Closed Bug 1067178 Opened 10 years ago Closed 10 years ago

ImportError: cannot import name ADBDevice

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: m1, Unassigned)

References

Details

(Whiteboard: [caf priority: p3][CR 726457])

[Blocking Requested - why for this release]:

Bug 1012711 introduced ADBDevice into the mozdevice package, later used by bug 1061735 (uplifted to v2.1 as "a=test-only").

However AFAICT a new version of mozdevice has not be released to pypi, so gaia-ui-tests run an a venv setup with https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/requirements.txt bail with an error like:

---
...
File "/build/gaia/tests/python/gaia-ui-tests/gaiatest/__init__.py", line 6, in <module>
    from mixins import *
  File "/build/gaia/tests/python/gaia-ui-tests/gaiatest/mixins/__init__.py", line 6, in <module>
    from treeherder import TreeherderOptionsMixin, \
  File "/build/gaia/tests/python/gaia-ui-tests/gaiatest/mixins/treeherder.py", line 15, in <module>
    from mozdevice import ADBDevice
ImportError: cannot import name ADBDevice
---

Can we get a new mozdevice package released?  Or is there another way?
Opps, so we had locked ourselves to mozdevice==0.37 over here until bug 1046087 was fixed and neglected to revert that.  WFM now.  Sry for the spam
Status: NEW → RESOLVED
blocking-b2g: 2.1? → ---
Closed: 10 years ago
Resolution: --- → WORKSFORME
Whiteboard: [CR 726457]
Whiteboard: [CR 726457] → [caf priority: p2][CR 726457]
Whiteboard: [caf priority: p2][CR 726457] → [caf priority: p3][CR 726457]
You need to log in before you can comment on or make changes to this bug.