Skip to content

Only Try a Unique Venv If There Is a Conflict #157

@ericsnowcurrently

Description

@ericsnowcurrently

Currently any failure when installing a benchmark's requirements triggers the creation of a unique venv for that benchmark and a retry of the install. The only failure for which we need to create a unique venv is when there is a conflict with the version of already installed packages. Adjusting the code along those lines would speed things up when their are failures (e.g. wheel cannot build) and produce less noise.

Possible solutions:

  • parse the text of the first install attempt to see if it a conflict
    • this is fragile, as well as requiring that we "tee" the output of the "pip install" command
  • instead of trying the common venv first, track the installed versions and use the common venv only if the benchmark's requirements are compatible

Also see #144 (comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions