#3317 DeprecationWarning's in fedora rawhide
Closed: Dropped by tkopecek. Opened by kevin.

Running the koji cli in fedora rawhide results in:

/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translation is no longer used
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translation is no longer used
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translation is no longer used
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translation is no longer used
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translation is no longer used
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translation is no longer used
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translation is no longer used
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translat
ion is no longer used                                                                                
  warnings.warn(message, DeprecationWarning)                                                         
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translat
ion is no longer used                                                                                
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translat
ion is no longer used 
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translat
ion is no longer used
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translat
ion is no longer used
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translat
ion is no longer used
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translat
ion is no longer used
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translat
ion is no longer used
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translat
ion is no longer used
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translat
ion is no longer used
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translat
ion is no longer used
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translat
ion is no longer used
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translat
ion is no longer used
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translat
ion is no longer used
  warnings.warn(message, DeprecationWarning)
/usr/lib/python3.10/site-packages/koji/util.py:66: DeprecationWarning: The stub function for translat
ion is no longer used
  warnings.warn(message, DeprecationWarning)

I'm not sure how to tell whats causing this, but it's pretty anoying. ;)
Happy to gather info/etc... it should be reproducible in any rawhide container/vm


Are there any external cli plugins enabled? If I install it in rawhide container everything works ok. It looks to me that some non-updated plugin is enabled (containing _() calls)

Metadata Update from @tkopecek:
- Custom field Size adjusted to None

Bingo. koji-osbuild-cli-5-0.fc37.noarch appears to be the culprit.

I can file a bug on osbuild... what should I tell them? that they shouldn't use _() ?

Yes, they should throw it out, or if they want to use it, they should've their own implementation. Here is the original issue: #3072

Metadata Update from @tkopecek:
- Issue close_status updated to: Dropped
- Issue status updated to: Closed (was: Open)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/3317

Please continue any further discussion there.

Metadata