taverntesting/tavern

Pytest no longer imports py lib

andrest50 opened this issue · 1 comments

I use tavern for API interface testing, and I am getting this error INTERNALERROR> AttributeError: module 'py' has no attribute 'io'. Tavern gets the latest version of pytest (<8), and pytest just released 7.2.0, in which it removes dependency on py. As per the release (https://github.com/pytest-dev/pytest/releases/tag/7.2.0), you need to now directly install py library to make use of the io module - as it is still needed in this plugin.

Temporary fix for the time being that I have been using - install py alongside tavern so the package is available.