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

Upgrade python to 3.11 #98

Merged
merged 1 commit into from
Feb 25, 2025
Merged

Upgrade python to 3.11 #98

merged 1 commit into from
Feb 25, 2025

Conversation

spolti
Copy link
Contributor

@spolti spolti commented Feb 25, 2025

chore: Update python to 3.11 in preparation of UBI9 upgrade.

Motivation

Modifications

Result

chore:	Update python to 3.11 in preparation of UBI9 upgrade.

Signed-off-by: Spolti <[email protected]>
RUN --mount=type=cache,target=/root/.cache/dnf:rw \
dnf install --setopt=cachedir=/root/.cache/dnf -y --nodocs \
nodejs \
python38 \
python3.11 \
python3.11-pip \
Copy link

Choose a reason for hiding this comment

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

do we need to install pip ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

3.8 was adding it, it seems that on newer Python versions it was moved to its package.
It is needed by the per-commit.

Note, that it keeps the image exactly as it was before.

Copy link

Choose a reason for hiding this comment

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

ok

@Jooho
Copy link

Jooho commented Feb 25, 2025

/lgtm

@terrytangyuan terrytangyuan merged commit fd20a4c into kserve:main Feb 25, 2025
3 checks passed
@spolti spolti deleted the python311 branch February 26, 2025 13:48
openshift-merge-bot bot pushed a commit to opendatahub-io/modelmesh-runtime-adapter that referenced this pull request Feb 26, 2025
* feat: Make container build engine configurable (#87)

chore: Allow to run make goals provinding the desired Container Enginer
builder tool,
	e.g. `ENGINE=podman make build`

Signed-off-by: Spolti <[email protected]>

* chore: Update dependencies

chore: Update dependencies

Signed-off-by: Spolti <[email protected]>

* chore: Update dependencies  (kserve#97)

chore:  Fixes the following CVEs:
CVE-2023-45288 - Non-linear parsing of case-insensitive content in
golang.org/x/net/html
CVE-2024-45337 - Misuse of ServerConfig.PublicKeyCallback may cause
authorization bypass in golang.org/x/crypto

#### Motivation

#### Modifications

#### Result

Signed-off-by: Spolti <[email protected]>

* Upgrade python to 3.11 (kserve#98)

chore:	Update python to 3.11 in preparation of UBI9 upgrade.

#### Motivation

#### Modifications

#### Result

Signed-off-by: Spolti <[email protected]>

---------

Signed-off-by: Spolti <[email protected]>
spolti added a commit to spolti/modelmesh-runtime-adapter that referenced this pull request Feb 27, 2025
chore:	Update python to 3.11 in preparation of UBI9 upgrade.

Cherry-picks kserve#98

Signed-off-by: Spolti <[email protected]>
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.

3 participants