Repository navigation
feat: upgrade xqueue to Python 3.12 - #386
Merged
Merged
Conversation
Switch the xqueue role from Python 3.11 to Python 3.12, following the same in-place pattern used for the earlier 3.8 -> 3.11 upgrade. - Rename xqueue_use_python311 to xqueue_use_python312 and update all install/virtualenv/requirements tasks to use python3.12. - Drop python3.11-distutils; distutils was removed in Python 3.12 and deadsnakes does not publish a python3.12-distutils package. - Add a jammy entry to xqueue_release_specific_debian_pkgs. Python 3.12 is only available from deadsnakes for Ubuntu 22.04, and without this entry the role's package lookup fails on jammy. Requires the xqueue AMI base image to be Ubuntu 22.04 (jammy). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
abhalsod-sonata
approved these changes
Oct 5, 2026
rahulkanneri-2u
approved these changes
Oct 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR upgrades the
xqueueAnsible role to support Python 3.12 and Ubuntu 22.04 (Jammy) provisioning as part of the platform-wide Python 3.12 upgrade initiative.Jira Ticket
LP-1289
Changes
jammyrelease package mapping (python3-mysqldb) toxqueue_release_specific_debian_pkgs.xqueue_use_python312: true.distutils: Removed installation ofpython3.11-distutils(deprecated/removed in Python 3.12 per PEP 632).get-pip.pyfor Python 3.12 and installsvirtualenv.--python=python3.12and ensures requirement installation runs with Python 3.12.xqueue_use_python312.Related PRs