Skip to content
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

Installation of 24.6.1 fails with Django related dependency problem #15707

Open
5 of 11 tasks
robertdahlem opened this issue Dec 17, 2024 · 1 comment
Open
5 of 11 tasks

Comments

@robertdahlem
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to [email protected] instead.)

Bug Summary

make docker-compose-build fails with a dependency problem regarding django-ansible-base and django.

AWX version

24.6.1

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

docker development environment

Modifications

yes

Ansible version

2.16.3

Operating system

RHEL 8.10

Web browser

No response

Steps to reproduce

Start with RHEL 8.10

# yum update
# yum install ansible-core git make
# dnf install dnf-plugins-core
# dnf config-manager --add-repo \
    https://download.docker.com/linux/rhel/docker-ce.repo
# dnf install docker-ce docker-ce-cli containerd.io \
    docker-buildx-plugin docker-compose-plugin
# systemctl enable --now docker

# git clone -b 24.6.1 https://github.com/ansible/awx.git
# cd awx
# sed -i '/openssl-3.0.7/d' tools/ansible/roles/dockerfile/templates/Dockerfile.j2 # #15498
# make docker-compose-build

gives the output mentioned under "Actual results"

Expected results

make builds Docker image ansible/awx_devel.

Actual results

# make docker-compose-build
...
111.8 ERROR: Cannot install -r /dev/stdin (line 146), -r /dev/stdin (line 148), -r /dev/stdin (line 150), -r /dev/stdin (line 154), -r /dev/stdin (line 156), -r /dev/stdin (line 158), -r /dev/stdin (line 162), -r /dev/stdin (line 166), -r /dev/stdin (line 172), -r /dev/stdin (line 515), -r /dev/stdin (line 87), django-ansible-base[jwt-consumer,rbac,resource-registry,rest-filters]==2024.12.13 and django==4.2.10 because these package versions have conflicting dependencies.
111.8
111.8 The conflict is caused by:
111.8     The user requested django==4.2.10
111.8     channels 3.0.5 depends on Django>=2.2
111.8     django-auth-ldap 4.6.0 depends on Django>=3.2
111.8     django-cors-headers 4.3.1 depends on Django>=3.2
111.8     django-crum 0.7.9 depends on django>=1.8
111.8     django-extensions 3.2.3 depends on Django>=3.2
111.8     django-guid 3.2.1 depends on django<5.0 and >=3.1.1; python_version >= "3.8"
111.8     django-oauth-toolkit 1.7.1 depends on django!=4.0.0 and >=2.2
111.8     django-polymorphic 3.1.0 depends on Django>=2.1
111.8     django-solo 2.2.0 depends on django>=3.2
111.8     djangorestframework 3.15.1 depends on django>=3.0
111.8     social-auth-app-django 5.4.0 depends on Django>=3.2
111.8     django-ansible-base[jwt-consumer,rbac,resource-registry,rest-filters] 2024.12.13 depends on Django<4.3.0 and >=4.2.16

Additional information

I applied the fix mentioned in #15498 (remove dependency openssl-3.0.7)

@robertdahlem
Copy link
Author

This was fixed by applying the patches from #15596
Additionally I had to bump sqlparse from 0.5.1 to 0.5.2 because django-ansible-base wants that now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant