On 6/26/22 18:38, Robert-André Mauchin wrote:
On 6/26/22 16:36, Nicolas Chauvet wrote:
Le dim. 26 juin 2022 à 15:07, Robert-André Mauchin <zebo...@gmail.com> a écrit :

In summary

curlew: done
devedeng: done
ffmulticonverter: done
flowblade: done
gr-dab: done
kodi: done
ldoce5viewer: done
libopenshot: done
mopidy-spotify: TO RETIRE until rust backend is ready?
mythtv: done
obs-studio: done
openshot: done
pyskool: done
python-ffmpeg-normalize: done
python-ffmpeg-progress-yield: done
python-pyspotify: TO RETIRE
python-vlc: done
rfpkgdb-cli: done
rpmfusion-packager: done
tvheadend: done
videomorph: done
VirtualBox: done
xpra-codecs-freeworld: done

   The remaining problematic one is

  > rfpkg

+ /usr/bin/python3 doc/rfpkg_man_page.py
Traceback (most recent call last):
    File "/builddir/build/BUILD/rfpkg-1.27.0/doc/rfpkg_man_page.py", line 24, in 
<module>
      client = rfpkg.cli.rfpkgClient(config=config, name='rfpkg')
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/builddir/build/BUILD/rfpkg-1.27.0/rfpkg/cli.py", line 37, in __init__
      self.setup_fed_subparsers()
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/builddir/build/BUILD/rfpkg-1.27.0/rfpkg/cli.py", line 54, in 
setup_fed_subparsers
      self.register_retire()
      ^^^^^^^^^^^^^^^^^^^^^^
    File "/builddir/build/BUILD/rfpkg-1.27.0/rfpkg/cli.py", line 64, in 
register_retire
      retire_parser = self.subparsers.add_parser(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib64/python3.11/argparse.py", line 1185, in add_parser
      raise ArgumentError(self, _('conflicting subparser: %s') % name)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
argparse.ArgumentError: argument
{help,build,chain-build,clean,clog,clone,co,copr-build,commit,ci,compile,container-build,container-build-setup,diff,flatpak-build,gimmespec,gitbuildhash,gitcred,giturl,import,install,lint,list-side-tags,local,mockbuild,mock-config,module-build,module-scratch-build,module-build-cancel,module-build-info,module-build-local,module-build-watch,module-overview,new,new-sources,patch,prep,pull,push,remote,remove-side-tag,request-side-tag,retire,scratch-build,sources,srpm,switch-branch,tag,unused-patches,upload,verify-files,verrel}:
conflicting subparser: retire

It is because of this change in Python 3.11 
https://github.com/python/cpython/pull/18605
Filed https://github.com/rpmfusion-infra/rfpkg/issues/24

Thanks for looking into this.
Usually, we should pick the "same fedpkg" fixes.


Fedpkg doesn't have this problem because it only defines new subparsers and does not try to rewrite a command from pyrpkg, like rfpkg does with retire.


I've propose a merge request here:

https://github.com/rpmfusion-infra/rfpkg/pull/25

Best regards,

Robert-André
_______________________________________________
rpmfusion-developers mailing list -- rpmfusion-developers@lists.rpmfusion.org
To unsubscribe send an email to rpmfusion-developers-le...@lists.rpmfusion.org

Reply via email to