Bug 1490766

Summary: fedpkg warns "DeprecationWarning: fedora.client.bodhi has been deprecated."
Product: [Fedora] Fedora Reporter: Tim Landscheidt <tim>
Component: rpkgAssignee: cqi
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: bochecha, carl, cqi, dennis, extras-qa, goeran, jeremy, kloczko.tomasz, lewk, lsedlar, mgansser, pahan, pbabinca, pmoore, randy, rharwood, s, tim
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fedpkg-1.29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1455800 Environment:
Last Closed: 2017-09-13 07:53:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tim Landscheidt 2017-09-12 08:15:56 UTC
+++ This bug was initially created as a clone of Bug #1455800 +++

Description of problem:

| [tim@passepartout ~/src/emacs-php-mode]$ fedpkg --help | head
| /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]
|               [--module-name MODULE_NAME] [--user USER] [--password PASSWORD]
|               [--runas RUNAS] [--path PATH] [--verbose] [--debug] [-q]
|               {help,build,chain-build,clean,clog,clone,co,copr-build,commit,ci,compile,container-build,container-build-setup,diff,gimmespec,gitbuildhash,giturl,import,install,lint,local,mockbuild,mock-config,new,new-sources,patch,prep,pull,push,scratch-build,sources,srpm,switch-branch,tag,unused-patches,upload,verify-files,verrel,retire,update}
|               ...

| optional arguments:
|   -h, --help            show this help message and exit
|   --config CONFIG, -C CONFIG
|                         Specify a config file to use
| [tim@passepartout ~/src/emacs-php-mode]$


Version-Release number of selected component (if applicable):

fedpkg-1.28-1.fc25.noarch
python2-rpkg-1.49-6.fc25.noarch


In Rawhide, this has apparently been fixed in rpkg 1.50-1, but F25 (and probably other releases) still output the warning.

Comment 1 cqi 2017-09-12 08:24:51 UTC
f25 packages are being closer to stable.

https://bodhi.fedoraproject.org/updates/FEDORA-2017-f0d9aff598

Comment 2 Tim Landscheidt 2017-09-13 06:51:34 UTC
With the F25 updates for fedpkg-1.29-3.fc25.noarch and python2-rpkg-1.50-2.fc25.noarch, the warning is now gone.  Thanks!