#315 Upgrade 0.3.5-4.fc39 to 0.3.8-1.fc39: AttributeError: 'function' object has no attribute '__wrapped__'
Opened a year ago by amessina. Modified a year ago

After upgrading from 0.3.5-4.fc39 to 0.3.8-1.fc39, I am unable to use the plugin in my private Koji instance. Reverting allows builds to succeed.

Filed https://bugzilla.redhat.com/show_bug.cgi?id=2251415

CallbackError: Error running postSCMCheckout callback from _koji_plugin__rpmautospec_builder:
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/koji/plugin.py", line 221, in run_callbacks
    func(cbtype, *cb_args, **cb_kwargs)
  File "/usr/lib/koji-builder-plugins/rpmautospec_builder.py", line 19, in process_distgit_cb
    if not process_distgit(srcdir, enable_caching=False):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/rpmautospec/subcommands/process_distgit.py", line 83, in process_distgit
    features = check_specfile_features.__wrapped__(processor.specfile)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'function' object has no attribute '__wrapped__'

FYI: rpmautospec has migrated to GitHub and split into three repositories:

https://github.com/fedora-infra/rpmautospec-core
https://github.com/fedora-infra/rpmautospec
https://github.com/fedora-infra/rpmautospec-koji

You should probably refile your issue there (abd the maintainers Mark this old repo as archived & communicate about the move on devel etc.)

Log in to comment on this ticket.

Metadata