Open hawflau opened 1 year ago
Note to anyone stumbling on this issue and waiting for https://github.com/numirias/pytest-json-report/pull/90 getting merged, you can pin pytest-metadata
to the last compatible version on your requirements.txt
.
pytest-metadata==2.0.4
pytest-json-report
Hi @alexandrul, your fix seems to work for Linux + MacOS but not for Windows. I get an empty environment section still.
@andrewsiemer could you provide more info, please?
pip freeze
Hi @alexandrul, sorry for the ping, I seemed fix it by updating pytest-metadata
.
https://github.com/pytest-dev/pytest-metadata/issues/70
We use
pytest-json-report
and recently found that the "Environement" section of the json reports are always empty.From release note of
pytest-metadata
3.0.0:It seems
pytest-json-report
needs to be updated to cope withpytest-metadata
's breaking change.