When the warnings module is configured to log deprecation warnings, it could lead to confusing messages from any imported library.
We can instead directly print the warning to stderr.
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1455800
Alternatively I think we could just remove the warn_deprecated function completely, as I don't see it used anywhere.
warn_deprecated
Awesome :thumbsup:
Updated to properly print warning when --dist is used instead of --release. Now this PR conflicts with #213 and should be updated when the other one is merged.
--dist
--release
rebased
:thumbsup:
Pretty please pagure-ci rebuild
Pull-Request has been merged by lsedlar
What is this magic? :)
It was supposed to tell Pagure to trigger a new build, but somehow nothing happened. :( https://docs.pagure.org/pagure/usage/pagure_ci.html#tips-and-tricks
When the warnings module is configured to log deprecation warnings, it could lead to confusing messages from any imported library.
We can instead directly print the warning to stderr.
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1455800