testing/py3-pytest-metadata: upgrade to 3.1.1
https://github.com/pytest-dev/pytest-metadata/blob/3.1.1/CHANGES.rst
3.1.0 added support for pytest 8
https://github.com/pytest-dev/pytest-metadata/blob/3.1.1/CHANGES.rst
3.1.0 added support for pytest 8