Open renatocmaia opened 4 years ago
When I try to connect with the Foreman version superior of 2. I get a error:
There is a conflict trying to redefine method (remove_content): apipie_resource: repositories new_api: <resource:repositories, name:remove_content> new_url: /katello/api/repositories/:id/remove_docker_manifests old_api: <resource:repositories, name:remove_content> old_url: /katello/api/repositories/:id/remove_packages
If I specify a version less then 2 its works.
Maybe the problem is related in functions: parse_version or get_foreman_version
It's because of the async keyword being added to modern python versions, I made a quick fix over here https://github.com/antevens/python-foreman
When I try to connect with the Foreman version superior of 2. I get a error:
There is a conflict trying to redefine method (remove_content): apipie_resource: repositories new_api: <resource:repositories, name:remove_content> new_url: /katello/api/repositories/:id/remove_docker_manifests old_api: <resource:repositories, name:remove_content> old_url: /katello/api/repositories/:id/remove_packages
If I specify a version less then 2 its works.
Maybe the problem is related in functions: parse_version or get_foreman_version