-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
packageing pytest with pyinstaller and creating html reports #813
Comments
Hi, I had the same issue trying to include the pytest-html plugin in my pyinstaller build. After looking through the source, it looks like the pytest-html report generator retrieves the stash key from pytest-metadata. I resolved the issue by including pytest-metadata in my imports:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hej,
we are trying to package pytest into an executable for ubuntu18.04.
When packaging it without pytest-html and just creating a xml report, it works fine, with html I get this error:
The spec file kind of looks like this
Someone solved the key error before or ran into similar problems?
The text was updated successfully, but these errors were encountered: