-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ansible builder fails after upgrade to 3.1.0 #688
Comments
Running into same issue with netaddr from multiple repos, even if I specify a newer version of netaddr. most Cisco/netcommon collections started this requirement this last week setting more than .10 |
Not enough info here for me to reproduce this error. Please provide an example EE definition file, and any associated extras, like collections being used, that reproduces this error. |
---
version: 3
dependencies:
galaxy:
collections:
- name: ansible.utils
version: 5.0.0
- ansible.network
- name: ansible.netcommon
version: 7.0.0
- name: cisco.ios
version: 9.0.0
- name: cisco.iosxr
version: 10.0.0
- name: cisco.nxos
version: 9.0.0
- name: cisco.asa
version: 6.0.0
- name: ansible.posix
- name: community.general
python:
- dnspython
- netaddr
- scp # Used for netcommon.net_put
system:
- jq
# - curl Needed but built into UBI:9
images:
base_image:
name: >-
registry.redhat.io/ansible-automation-platform-24/ee-minimal-rhel8:latest |
Here is my ee definition file aswell: ---
version: 3
dependencies:
galaxy:
collections:
- name: ansible.posix
- name: ansible.utils
- name: ansible.netcommon
- name: community.general
- name: cisco.ios
- name: cisco.iosxr
- name: cisco.ise
- name: cisco.nxos
python:
- ansible-pylibssh>=1.1.0
- ciscoisesdk
images:
base_image:
name: >-
registry.redhat.io/ansible-automation-platform-24/ee-minimal-rhel8:latest |
This error is occurring because beginning with version
With version
Older versions of pip cannot handle these duplicate entries and produce the Since
I think of these, solution number 2 is best. Here's what I added to the EE file to make it work for me:
|
Closing per above. |
I think the problem is that those of us using upstream ansible-builder, with downstream images have the version of pip that it ships with, that is breaking it. In addition This is a breaking change, that is also not mentioned in the changelog |
Or also, could fix the conflict by making them match. |
Yes, that's what I said in my previous comment. The version of pip in the base image is too old.
It is mentioned in the details on PR #664, but yes, that info probably should have been extracted from the PR and exposed more in the release notes. I'll see about editing those notes. |
Ansible-builder fails after upgrade to 3.1.0 from 3.0.1 due to:
In my requirements file this is the only thing specified:
ansible-pylibssh>=1.1.0
Tried specifying newer version of netaddr aswell, with no dice.
Once I downgrade to ansible-builder to 3.0.1 everything works.
The text was updated successfully, but these errors were encountered: