Thursday, 2026-01-22

PavloKostianov[m]Hey there! I am Pavlo - new here. I was reviewing release patch (https://review.opendev.org/c/openstack/releases/+/974030) which suggests releasing "replacement of deprecated formatter from osc_utils" in python-ironicclient (https://review.opendev.org/c/openstack/python-ironicclient/+/949704). My question is: 14:04
PavloKostianov[m]Are osc_lib.utils (as I understand this is what it is about) really deprecated? I see osc_lib.tests.utils are deprecated, but can't find anything about osc_lib_utils deprecation.14:04
PavloKostianov[m]* Hey there! I am Pavlo - new here. I was reviewing release patch (https://review.opendev.org/c/openstack/releases/+/974030) which suggests releasing "replacement of deprecated formatter from osc\_utils" in python-ironicclient (https://review.opendev.org/c/openstack/python-ironicclient/+/949704). My question is: 14:47
PavloKostianov[m]Are osc\_lib.utils (as I understand this is what it is about) really deprecated? I see osc\_lib.tests.utils are deprecated (https://opendev.org/openstack/osc-lib/commit/8d348ca7f85d73d7e0f152fd834fc59987c31613), but can't find anything about osc\_lib\_utils deprecation.14:47
clarkbPavloKostianov[m]: I don't know the answer to your question but reading https://review.opendev.org/c/openstack/python-ironicclient/+/949705 I read that as teh specific format_* methods are deprecated and not necessarily the entire library?15:51
opendevreviewRiccardo Pittau proposed openstack/releases master: Release ironicclient 5.15.0 for gazpacho  https://review.opendev.org/c/openstack/releases/+/97403415:57
cardoePavloKostianov[m]: I swear we were getting depreciated error messages for those functions which is why ironic made the patch.16:00
cardoePavloKostianov[m], clarkb: without the ironic change I get the following:17:14
cardoeopenstack baremetal port list --long -> Invalid formatter provided.17:14
cardoePavloKostianov[m]: https://opendev.org/openstack/osc-lib/commit/0e7dada02b825b2f97ac3eb68544bdd438a3a099 is the change that causes the breakage. The ironicclient change does what the notice says and switches to cliff. It also does state in that change that things have been deprecated.17:24
stephenfincardoe: clarkb: yeah, I answered PavloKostianov[m]'s question on #openstack-sdks. As you see it the support for functions (instead of Formatter subclasses) that was removed17:25
stephenfin*as you say, it's17:25
cardoeAh my bad17:25
stephenfinall g ✌️17:25

Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!