ert icon indicating copy to clipboard operation
ert copied to clipboard

Install only optional requirements for release testing

Open DanSava opened this issue 1 year ago • 0 comments

Issue We would like to only install the optional requirements from ert and not the package when testing against a release this will test what is already installed in the release without modifying the current environment:

Resolves https://github.com/equinor/komodo-releases/issues/5305

Approach

  • Extract optional dependencies from pyproject.toml
  • Install the extracted dependencies using pip
  • Check package versions are not modified by installing the optional(testing) dependencies

(Screenshot of new behavior in GUI if applicable)

  • [ ] PR title captures the intent of the changes, and is fitting for release notes.
  • [ ] Added appropriate release note label
  • [ ] Commit history is consistent and clean, in line with the contribution guidelines.
  • [ ] Make sure tests pass locally (after every commit!)

When applicable

  • [ ] When there are user facing changes: Updated documentation
  • [ ] New behavior or changes to existing untested code: Ensured that unit tests are added (See Ground Rules).
  • [ ] Large PR: Prepare changes in small commits for more convenient review
  • [ ] Bug fix: Add regression test for the bug
  • [ ] Bug fix: Create Backport PR to latest release

DanSava avatar Mar 15 '24 08:03 DanSava