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

Use GHA for python #6444

Merged
merged 1 commit into from
May 23, 2023
Merged

Conversation

tonyskapunk
Copy link
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:

@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
Copy link
Contributor

@grokspawn grokspawn left a comment

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.

None yet

2 participants