Skip to content

Use GHA for python#6444

Merged
grokspawn merged 1 commit into
operator-framework:masterfrom
tonyskapunk:gha_python_6433
May 23, 2023
Merged

Use GHA for python#6444
grokspawn merged 1 commit into
operator-framework:masterfrom
tonyskapunk:gha_python_6433

Conversation

@tonyskapunk

Copy link
Copy Markdown
Contributor

Description of the change:

The path where python 3.8 was expected does not exist, the tests were using the installed python instead. With this change the expected python version will be used for installation of packages through pip as well as the execution of ansible or molecule will use the expected python version.

Motivation for the change:

Should help to fix issue #6433

In this test (line 123) I could see there's nothing in /opt/python in the GH runner.

Even when the runner images should provide older versions of python, it is recommended to use the GHA for it

On GitHub Actions, actions/setup-python can install any version on-flight so this change doesn't impact users

Checklist

If the pull request includes user-facing changes, extra documentation is required:

@openshift-ci openshift-ci Bot requested review from oceanc80 and varshaprasad96 May 22, 2023 21:56
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 21:56 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 21:56 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 21:56 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 21:56 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 21:56 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 21:56 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 21:56 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 22:05 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 22:05 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 22:05 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 22:05 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 22:05 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 22:05 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 22:06 — with GitHub Actions Inactive
The path where python 3.8 was expected does not exist, the tests were
using the installed python instead. With this change the expected python
version will be used for installation of packages through pip as well as
the execution of ansible or molecule will use the expected python
version.

Signed-off-by: Tony Garcia <tonyg@redhat.com>
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 22:12 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 22:12 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 22:12 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 22:13 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 22:13 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 22:14 — with GitHub Actions Inactive
@tonyskapunk tonyskapunk temporarily deployed to deploy May 22, 2023 22:14 — with GitHub Actions Inactive

@grokspawn grokspawn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @tonyskapunk for the PR! Changes look good to me.

@grokspawn grokspawn merged commit 0df210f into operator-framework:master May 23, 2023
@tonyskapunk tonyskapunk deleted the gha_python_6433 branch May 23, 2023 14:32
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