mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 13:56:29 +00:00
Bug 1718630 - Use mozversion to get the version of the browser r=perftest-reviewers,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D122854
This commit is contained in:
parent
692f258c5a
commit
b036f909bc
@ -8,12 +8,14 @@ import os
|
|||||||
import shutil
|
import shutil
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|
||||||
|
import mozversion
|
||||||
|
|
||||||
from condprof.creator import ProfileCreator
|
from condprof.creator import ProfileCreator
|
||||||
from condprof.desktop import DesktopEnv
|
from condprof.desktop import DesktopEnv
|
||||||
from condprof.android import AndroidEnv
|
from condprof.android import AndroidEnv
|
||||||
from condprof.changelog import Changelog
|
from condprof.changelog import Changelog
|
||||||
from condprof.scenarii import scenarii
|
from condprof.scenarii import scenarii
|
||||||
from condprof.util import logger, get_version, get_current_platform, extract_from_dmg
|
from condprof.util import logger, get_current_platform, extract_from_dmg
|
||||||
from condprof.customization import get_customizations, find_customization
|
from condprof.customization import get_customizations, find_customization
|
||||||
from condprof.client import read_changelog, ProfileNotFoundError
|
from condprof.client import read_changelog, ProfileNotFoundError
|
||||||
|
|
||||||
@ -79,8 +81,7 @@ class Runner:
|
|||||||
if not os.path.exists(self.firefox):
|
if not os.path.exists(self.firefox):
|
||||||
raise IOError("Cannot find %s" % self.firefox)
|
raise IOError("Cannot find %s" % self.firefox)
|
||||||
|
|
||||||
version = get_version(self.firefox)
|
mozversion.get_version(self.firefox)
|
||||||
logger.info("Working with Firefox %s" % version)
|
|
||||||
|
|
||||||
logger.info(os.environ)
|
logger.info(os.environ)
|
||||||
if self.archive:
|
if self.archive:
|
||||||
|
@ -2,3 +2,4 @@ aiohttp==3.5.4
|
|||||||
https://pypi.pub.build.mozilla.org/pub/arsenic-19.1-py3-none-any.whl
|
https://pypi.pub.build.mozilla.org/pub/arsenic-19.1-py3-none-any.whl
|
||||||
requests==2.22.0
|
requests==2.22.0
|
||||||
pyyaml==5.1.2
|
pyyaml==5.1.2
|
||||||
|
mozversion>=1.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user