deep-learning-containers icon indicating copy to clipboard operation
deep-learning-containers copied to clipboard

[bug] Module import error using newer versions of pytest

Open kace opened this issue 3 years ago • 0 comments

Checklist

  • [x] I've prepended issue tag with type of change: [bug]
  • [ ] (If applicable) I've attached the script to reproduce the bug
  • [ ] (If applicable) I've documented below the DLC image/dockerfile this relates to
  • [ ] (If applicable) I've documented below the tests I've run on the DLC image
  • [ ] I'm using an existing DLC image listed here: https://docs.aws.amazon.com/deep-learning-containers/latest/devguide/deep-learning-containers-images.html
  • [ ] I've built my own container based off DLC (and I've attached the code used to build my own image)

Concise Description: I'm getting the following error ModuleNotFoundError: No module named '_pytest.resultlog' when trying to run our tests with Python 3.10 and the latest version of pytest. We should update our dependencies and imports following the changes in pytest-dev/pytest-rerunfailures#128 to address the removal of this module.

kace avatar Aug 31 '22 16:08 kace