ansible / awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
13.89k stars 3.4k forks source link

Installation fails with pip dependency issue in django-ansible-base/django-split-settings #15484

Open mensler opened 2 weeks ago

mensler commented 2 weeks ago

Please confirm the following

Bug Summary

Docker compose installation (make docker-compose-build) fails with the following error:

#21 141.9 ERROR: Cannot install django-ansible-base[jwt-consumer,rbac,resource-registry,rest-filters]==2024.8.30.0.dev7+g47daf79 and django-split-settings==1.0.0 because these package versions have conflicting dependencies.
#21 141.9 
#21 141.9 The conflict is caused by:
#21 141.9     The user requested django-split-settings==1.0.0
#21 141.9     django-ansible-base[jwt-consumer,rbac,resource-registry,rest-filters] 2024.8.30.0.dev7+g47daf79 depends on django-split-settings==1.2.0

AWX version

24.6.1

Select the relevant components

Installation method

docker development environment

Modifications

no

Ansible version

No response

Operating system

Amazon Linux 2023

Web browser

No response

Steps to reproduce

Start Docker compose setup with make docker-compose-build.

Expected results

Build successful.

Actual results

Build fails after RUN cd /tmp && make requirements_awxwith the pip dependency error, full output attached below.

Additional information

awx-installation-output.txt

fosterseth commented 1 week ago

for docker-compose environment, you will want to be on devel, not a tagged version of awx

kpi88 commented 1 week ago

Perhaps the compose README needs updating, then. I would note also that building on the 24.6.1 tag was working until this weekend.

fosterseth commented 1 week ago

yeah the issue is that some of our requirements are tracking a devel branch of django ansible base library. When 24.6.1 was first released, it probably worked fine. But then more commits were added to django ansible base that broke with awx 24.6.1

Yeah I agree the docs should be instructing folks to use devel, not the latest tagged release.