Bug 1879471 - __init__() got an unexpected keyword argument 'kojiconfig'
Summary: __init__() got an unexpected keyword argument 'kojiconfig'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpkg-util
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: clime7
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-16 11:18 UTC by Jakub Kadlčík
Modified: 2020-10-04 09:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-03 09:07:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Use kojiprofile instead of kojiconfig (3.32 KB, application/mbox)
2020-09-16 11:18 UTC, Jakub Kadlčík
no flags Details

Description Jakub Kadlčík 2020-09-16 11:18:38 UTC
Created attachment 1715068 [details]
Use kojiprofile instead of kojiconfig

Description of problem:
The `rpkg` command currently doesn't work on F32 and fails with

    __init__() got an unexpected keyword argument 'kojiconfig'

It is related to https://pagure.io/rpkg/c/ff23577


Version-Release number of selected component (if applicable):
rpkg-2.7-5.fc32


How reproducible:
Always


Steps to Reproduce:
1. git clone https://pagure.io/rpkg-util   # Or any other project maintained with `rpkg` command
2. cd rpkg-util
3. rpkg srpm


Actual results:
__init__() got an unexpected keyword argument 'kojiconfig'


Expected results:
The `rpkg` command to proceed without any errors.


Additional info:
Since it seems that version 2.7 is the last rpkg-util upstream 2.x version and it is now reworked and 3.x is being developed, we IMHO have two options.

Either release 3.0 if it is stable-enough, or I am proposing a patch, that could be applied in the downstream.

Comment 1 clime7 2020-09-28 14:45:40 UTC
Hey, should be fixed in https://bodhi.fedoraproject.org/updates/FEDORA-2020-44457c00e8

Thanks for the report.

Comment 2 clime7 2020-10-03 09:07:11 UTC
Let me, please, know if there is any additional problem with this.

Comment 3 sixg0000d@gmail.com 2020-10-03 09:14:19 UTC
(In reply to clime7 from comment #2)
> Let me, please, know if there is any additional problem with this.

rpkg clone seem like have some problems.
$ rpkg clone prunerepo
'rpkgClient' object has no attribute 'extra_args'

rpkg sources doesn't seem to be doing anything and no response.

Comment 4 clime7 2020-10-03 11:30:46 UTC
(In reply to sixg0000d from comment #3)
> (In reply to clime7 from comment #2)
> > Let me, please, know if there is any additional problem with this.
> 
> rpkg clone seem like have some problems.
> $ rpkg clone prunerepo
> 'rpkgClient' object has no attribute 'extra_args'

Thank you, I have additionally fixed it here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-9ceeff6877

> 
> rpkg sources doesn't seem to be doing anything and no response.

it will only do something if there is `sources` file with references to files in lookaside cache. If the file is missing, the command is no-op.

Comment 5 sixg0000d@gmail.com 2020-10-04 09:13:37 UTC
(In reply to clime7 from comment #4)
> > 
> > rpkg sources doesn't seem to be doing anything and no response.
> 
> it will only do something if there is `sources` file with references to
> files in lookaside cache. If the file is missing, the command is no-op.

Thanks! I got it.


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