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

Containers/Ubuntu-22: Remove pythonx.x-distutils #400

Merged

Conversation

makubacki
Copy link
Member

@makubacki makubacki commented Feb 4, 2025

The pythonx.x-distutils package provided the standard distutils module for our Ubuntu container Python environment.

In the deadsnakes PPA python3.12.7-1+jammy1 to python3.12.8-1+jammy1 update on 12/04/2024, the following diff was made:

https://launchpadlibrarian.net/761821028/python3.12_3.12.7-1+jammy1_3.12.8-1+jammy1.diff.gz

In that, python3.12-distutils is no longer a built package per PEP-0632. Therefore, it is removed from the container using Python 3.12 and some subsequent Python code updates may need to made for compatibility.

This change is specifically focused on fixing the Ubuntu 22.04 (jammy) container build.


Marked as a breaking change since distutils will no longer be installed in the container.

The `pythonx.x-distutils` package provided the standard `distutils`
module for our Ubuntu container Python environment.

In the deadsnakes PPA python3.12.7-1+jammy1 to python3.12.8-1+jammy1
update on 12/04/2024, the following diff was made:

https://launchpadlibrarian.net/761821028/python3.12_3.12.7-1+jammy1_3.12.8-1+jammy1.diff.gz

In that, `python3.12-distutils` is no longer a built package per
[PEP-0632](https://peps.python.org/pep-0632/). Therefore, it is
removed from the container using Python 3.12 and some subsequent
Python code updates may need to made for compatibility.

This change is specifically focused on fixing the Ubuntu 22.04
(jammy) container build.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
@makubacki makubacki requested review from Javagedes and apop5 February 4, 2025 20:04
@makubacki makubacki self-assigned this Feb 4, 2025
@makubacki makubacki added the impact:breaking-change Requires integration attention label Feb 4, 2025
@makubacki makubacki merged commit af4ec63 into microsoft:main Feb 4, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact:breaking-change Requires integration attention
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants