Open Bug 1657458 Opened 5 years ago Updated 5 years ago

Use Python packages from source instead of PyPI

Categories

(Testing :: Talos, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: davehunt, Unassigned)

Details

Talos is installing several packages from PyPI into its virtual environment, which means we need to release new versions and bump the requirements whenever we need to pick up a fix (for example bug 1657445). It also means that we're not able to detect when a change to these packages causes a breakage for Talos.

The requirements can be found here:
https://hg.mozilla.org/mozilla-central/file/tip/testing/talos/requirements.txt

Note that it may not be a simple case of specifying paths as these source files may not be available on the Talos hardware in CI.

It would also be worth installing these as in editable mode so local runs pick up the latest changes to these packages without the need to recreate the virtual environment.

It looks like talos is using the build packages and not a source checkout. Assuming that's not going to change, this probably involves making sure that the target.perftests.tests.tar.gz has all the right packages and that we install them from there. Looking at it, mozbase is already available, but wptserve might need to be added. Then you need to be sure to install from the relevant rather than from PyPI.

You need to log in before you can comment on or make changes to this bug.