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

fix: switch to advisory_lock from DAB instead of pglock #47

Closed
wants to merge 2 commits into from

Conversation

dhaustein
Copy link

@dhaustein dhaustein commented Jan 23, 2025

Hotfix for errors

ModuleNotFoundError: No module named 'awx.main.utils.pglock'

Caused by awx removing django-pglocks and switching to using advisory_lock from DAB in ansible/awx@f57a986

@himdel
Copy link
Collaborator

himdel commented Jan 23, 2025

LGTM, fixes a problem introduced by awx removing one of our dependencies 👍

Cc @Ladas

While we still depend on the awx environment, this change could break on 2.4 (unless all 2.4 versions are using a recent enough django ansible base). But not doing it breaks on newer 2.5 so...

@dhaustein dhaustein force-pushed the advisory_lock_from_dab branch from ff3a6b0 to 4a4247b Compare January 23, 2025 13:30
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@dhaustein dhaustein requested a review from Ladas January 23, 2025 15:12
@dhaustein dhaustein marked this pull request as draft January 23, 2025 17:13
@dhaustein
Copy link
Author

Switching PR to draft. I need to address the fact that in 2.4 there is no DAB.

@dhaustein
Copy link
Author

Closed in favor of #51 It will have the same change we wanted to do here

@dhaustein dhaustein closed this Jan 28, 2025
@dhaustein dhaustein deleted the advisory_lock_from_dab branch January 28, 2025 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants