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: Remove distutils dependency #5179

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

jaume-ferrarons
Copy link
Contributor

What does this PR address?

python3.12-distutils seems no longer available, see issue: #5178

This PR removes the dependency.

Are there any automated test to validate all the python versions available?

Fixes #5178

Before submitting:

@jaume-ferrarons jaume-ferrarons requested a review from a team as a code owner January 10, 2025 06:30
@jaume-ferrarons jaume-ferrarons requested review from parano and removed request for a team January 10, 2025 06:30
@frostming frostming merged commit 7836b8c into bentoml:main Jan 10, 2025
3 checks passed
@@ -8,7 +8,7 @@
# add deadsnakes ppa to install python
add-apt-repository ppa:deadsnakes/ppa && \
apt-get update -y && \
apt-get install -y --no-install-recommends --allow-remove-essential {% if "ubuntu22.04" in __base_image__ and __options__python_version == "3.10" %}python{{ __options__python_version }}-jammy{% else %}python{{ __options__python_version }}{% endif %} python{{ __options__python_version }}-dev python{{ __options__python_version }}-distutils
apt-get install -y --no-install-recommends --allow-remove-essential {% if "ubuntu22.04" in __base_image__ and __options__python_version == "3.10" %}python{{ __options__python_version }}-jammy{% else %}python{{ __options__python_version }}{% endif %} python{{ __options__python_version }}-dev
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait shouldn't we negate check for other python version < 3.12?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

bug: python3.12-distutils no longer available.
3 participants