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:
Alex Ionescu 2021-08-20 12:05:38 +00:00
parent 692f258c5a
commit b036f909bc
2 changed files with 5 additions and 3 deletions

View File

@ -8,12 +8,14 @@ import os
import shutil
import asyncio
import mozversion
from condprof.creator import ProfileCreator
from condprof.desktop import DesktopEnv
from condprof.android import AndroidEnv
from condprof.changelog import Changelog
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.client import read_changelog, ProfileNotFoundError
@ -79,8 +81,7 @@ class Runner:
if not os.path.exists(self.firefox):
raise IOError("Cannot find %s" % self.firefox)
version = get_version(self.firefox)
logger.info("Working with Firefox %s" % version)
mozversion.get_version(self.firefox)
logger.info(os.environ)
if self.archive:

View File

@ -2,3 +2,4 @@ aiohttp==3.5.4
https://pypi.pub.build.mozilla.org/pub/arsenic-19.1-py3-none-any.whl
requests==2.22.0
pyyaml==5.1.2
mozversion>=1.0