pytest-html icon indicating copy to clipboard operation
pytest-html copied to clipboard

Environment/metadata section no longer visible after pytest-metadata update to 3.0.0

Open MartykQ opened this issue 2 years ago • 1 comments

pytest-metadata was bumped to 3.0.0:

https://pypi.org/project/pytest-metadata/#history

This changed the API for accessing and modifying the metadata object:

https://github.com/pytest-dev/pytest-metadata/compare/v2.0.4...master -> README.rst

image

With those changes, Environment section is no longer appearing in the htm report (tested on pytest-html 3.1.1 with pytest-metadata 3.0.0)

Also the documentation should be updated to reflect on the changes in pytest-metadata, as this:

image

is no longer possible

MartykQ avatar May 29 '23 09:05 MartykQ

For now, my recommendation is to stay on v2 of metadata.

Once v4 of html is released (4.0.0rc4 available now) metadata will be bumped to v3 and docs updated.

Thanks for reporting!

BeyondEvil avatar May 29 '23 15:05 BeyondEvil