Skip to content
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

[Backport][ipa-4-8] ipatests: Don't turn Pytest IPA deprecation warnings into errors #4957

Closed
wants to merge 1 commit into from

Conversation

rcritten
Copy link
Contributor

This PR was opened automatically because PR #4953 was pushed to master and backport to ipa-4-8 is required.

With new Pytest 6.0 [0]:

> PytestDeprecationWarning are now errors by default.
Following our plan to remove deprecated features with as little disruption as
possible, all warnings of type PytestDeprecationWarning now generate errors
instead of warning messages.

PytestWarnings are no longer marked as the part of public API, but as
internal warnings. It's unsafe to use bare PytestDeprecationWarning,
which is turned into the error on major releases.

[0]: https://github.com/pytest-dev/pytest/releases/tag/6.0.0

Fixes: https://pagure.io/freeipa/issue/8435
Signed-off-by: Stanislav Levin <slev@altlinux.org>
@rcritten rcritten added the ack Pull Request approved, can be merged label Jul 29, 2020
@rcritten
Copy link
Contributor Author

PR was ACKed automatically because this is backport of PR #4953. Wait for CI to finish before pushing. In case of questions or problems contact @stanislavlevin who is author of the original PR.

@flo-renaud flo-renaud added the pushed Pull Request has already been pushed label Jul 30, 2020
@flo-renaud
Copy link
Contributor

ipa-4-8:

  • 66216e9 ipatests: Don't turn Pytest IPA deprecation warnings into errors

@flo-renaud flo-renaud closed this Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
3 participants