After upgrade to Katello 4.x repo sync fails on any repo with IgnoreContent=srpms enabled - popitem() takes no keyword arguments
After we upgraded to Katello 4.x, currently at katello-4.1.0-1.el7.noarch, with python3-pulpcore-3.11.2-1.el7.noarch we found that any repos that had ignore srpms enabled would fail to sync with the following error:
popitem() takes no keyword arguments
Turning off any ignored content options for all our repos, fixed this error when syncing.
It appears that pulp3 does not like these repo options.