运行 使用 pytest 版本 5.1.2 显然是最新版本需要什么 pytest-allure-adaptor 版本

What pytest-allure-adaptor version is needed to run with pytest version 5.1.2 which apparently is the latest version

我一直在努力解决这个问题。我有 pytest 版本 5.1.2,这是现在的最新版本。我尝试了不同版本的 pytest-allure-adaptor,例如 1.4.0 以生成诱惑报告,但是 none 的版本是兼容的,我收到此错误:

ImportError: cannot import name 'mangle_testnames' from '_pytest.junitxml'

有人可以指导我 pytest 和 pytest-allure-adaptor 的正确版本组合吗?

Allure PyTest 集成已重命名为 allure-pytesthttps://pypi.org/project/allure-pytest/ . Source code was moved to new repository https://github.com/allure-framework/allure-python

请考虑迁移到 allure-pytest 以支持最新版本的 PyTest