Actions
Issue #8812
closedsyncing a repo with 'skip_types' set to 'srpm' throws an error 'popitem() takes no keyword arguments'
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 97
Quarter:
Description
TypeError: popitem() takes no keyword arguments
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/rq/worker.py", line 975, in perform_job
rv = job.perform()
File "/usr/lib/python3.6/site-packages/rq/job.py", line 696, in perform
self._result = self._execute()
File "/usr/lib/python3.6/site-packages/rq/job.py", line 719, in _execute
return self.func(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 269, in synchronize
dv.create()
File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/declarative_version.py", line 147, in create
loop.run_until_complete(pipeline)
File "/usr/lib64/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py", line 225, in create_pipeline
await asyncio.gather(*futures)
File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py", line 43, in __call__
await self.run()
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 441, in run
await self.parse_content()
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 540, in parse_content
await self.parse_packages(await asyncio.gather(*package_repodata_downloaders))
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 561, in parse_packages
await self._parse_packages(packages)
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 582, in _parse_packages
(_, pkg) = packages.popitem(last=False)
TypeError: popitem() takes no keyword arguments
Related issues
Actions
Fix sync when skip otpion is used for SRPMs
closes #8812 https://pulp.plan.io/issues/8812