Bug 1490766 - fedpkg warns "DeprecationWarning: fedora.client.bodhi has been deprecated."
Summary: fedpkg warns "DeprecationWarning: fedora.client.bodhi has been deprecated."
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpkg
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: cqi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-12 08:15 UTC by Tim Landscheidt
Modified: 2017-09-13 07:53 UTC (History)
18 users (show)

Fixed In Version: fedpkg-1.29
Clone Of: 1455800
Environment:
Last Closed: 2017-09-13 07:53:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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!


Note You need to log in before you can comment on or make changes to this bug.