Project

Profile

Help

Issue #8971

closed

ImportError: cannot import name 'PulpAnsibleGalaxyApiCollectionsApi' from 'pulpcore.client.pulp_ansible'

Added by daviddavis almost 3 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

The tests on pulp_ansible are failing with this error. See last night's test run:

https://github.com/pulp/pulp_ansible/actions/runs/970115331

I believe this is caused by a recent change in pulpcore to how bindings are generated. I looked through the bindings and I believe the new bindings class name for the galaxy v3 collections endpoint is PulpAnsibleApiV3CollectionsApi. We could update to use this class name although it doesn't seem quite right (ie notice the lack of "galaxy" in the class name). That said, the old class name PulpAnsibleGalaxyApiCollectionsApi doesn't seem quite right either (notice there's no V3 in the name).

Also available in: Atom PDF