Bug 2251415 - AttributeError: 'function' object has no attribute '__wrapped__'
Summary: AttributeError: 'function' object has no attribute '__wrapped__'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-rpmautospec
Version: 39
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Adam Saleh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-24 20:03 UTC by Anthony Messina
Modified: 2024-01-27 01:27 UTC (History)
6 users (show)

Fixed In Version: python-rpmautospec-0.5.1-1.fc39
Clone Of:
Environment:
Last Closed: 2024-01-27 01:27:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Anthony Messina 2023-11-24 20:03:59 UTC
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.

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__'

Comment 1 Fedora Update System 2024-01-15 11:25:16 UTC
FEDORA-2024-338183101f has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-338183101f

Comment 2 Fedora Update System 2024-01-16 01:18:55 UTC
FEDORA-2024-338183101f has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-338183101f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-338183101f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2024-01-17 18:05:59 UTC
FEDORA-2024-338183101f has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-338183101f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-338183101f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2024-01-27 01:27:51 UTC
FEDORA-2024-338183101f has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.