#3961 AttributeError: 'function' object has no attribute '__wrapped__'
Closed: Invalid by tkopecek. Opened by bcl.

https://koji.fedoraproject.org/koji/taskinfo?taskID=110247241

While building this it crashed, here's the traceback from fedpkg build

110247251 buildSRPMFromSCM (/rpms/lorax.git:000be11ded38711c23f101c7ac40eeb8e65cd40e): open (buildvm-ppc64le-26.iad2.fedoraproject.org) -> FAILED: CallbackError: Error running postSCMCheckout callback from _koji_plugin__rpmautospec_builder:
Traceback (most recent call last):
  File "/usr/lib/python3.11/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.11/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__'
  0 free  1 open  0 done  1 failed
110247241 build (rawhide, /rpms/lorax.git:000be11ded38711c23f101c7ac40eeb8e65cd40e): open (buildvm-s390x-25.s390.fedoraproject.org) -> FAILED: CallbackError: Error running postSCMCheckout callback from _koji_plugin__rpmautospec_builder:
Traceback (most recent call last):
  File "/usr/lib/python3.11/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.11/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__'
  0 free  0 open  0 done  2 failed
110247241 build (rawhide, /rpms/lorax.git:000be11ded38711c23f101c7ac40eeb8e65cd40e) failed

it is not a koji issue and looks like a duplicate of https://github.com/fedora-infra/rpmautospec/issues/38

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

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

You can re-file it to https://pagure.io/releng/. This repo is about koji source code, not about fedora's deployment (where the plugin triggers the error).

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

Please continue any further discussion there.

Metadata