#221 utils: Avoid DeprecationWarning for messages for users
Merged by lsedlar. Opened by lsedlar.
lsedlar/rpkg deprecation-warning  into  master

Download 221.patch

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.

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.

rebased

rebased

rebased

rebased

Pretty please pagure-ci rebuild

Pull-Request has been merged by lsedlar

Pretty please pagure-ci rebuild

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

Metadata