Re: fedpkg says "fedora.client.bodhi has been deprecated."

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2017-05-26 at 13:04 -0400, Charalampos Stratakis wrote:
> Seeing this also on my F25 machine.

Hmmm, I'm not sure why, but I don't see this on my F24 machine with the
bodhi client (which has the same version of bodhi and python-fedora
though obviously a different release since it's F24):

$ bodhi | head -n 1
No handlers could be found for logger "fedora.client.bodhi"
Usage: bodhi [options] [build...|package]

If I set the PYTHONWARNINGS away from default, I do see the warning:

$ PYTHONWARNINGS=once bodhi | head -n 1
/usr/lib/python2.7/site-packages/fedora/client/bodhi.py:48: DeprecationWarning: fedora.client.bodhi has been deprecated. Please use bodhi.client.bindings instead.
  DeprecationWarning)
No handlers could be found for logger "fedora.client.bodhi"
Usage: bodhi [options] [build...|package]

However, I *do* see it when I use fedpkg:

$ fedpkg | head -n 1
/usr/lib/python2.7/site-packages/fedora/client/bodhi.py:48: DeprecationWarning: fedora.client.bodhi has been deprecated. Please use bodhi.client.bindings instead.
  DeprecationWarning)
usage: fedpkg [-h] [--config CONFIG] [--release RELEASE | --dist DIST]
<snip>

I wonder if fedpkg, python-fedora, or one of their dependencies might
be altering the warning settings away from the default? In any case,
the bodhi client does correctly hide the warning, so I don't believe it
is an issue in Bodhi itself.

Also to reiterate, it is just a warning and the library will remain
supported as-is until Fedora 25 reaches end of life. Thus, there is no
true harm here, just a scary sounding warning.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux