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

Make python requirements more obvious #107

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

mikemorency
Copy link
Collaborator

This is feedback from the testathon.

The python requirements for this collection are not listed on the Hub dependency page. We cant control that but we can make it more obvious in the collection readme/main documentation where python requirements are documented and can be found.

It is common for people to use `localhost` to run the tasks in this content since most tasks simply interact with the vSphere environment. If you do not use the execution environment, the following requirements are needed on whatever host runs the tasks:
### Python Requirements

It is common for people to use `localhost` to run the tasks in this content since most tasks simply interact with the vSphere environment. If you do not use the execution environment mentioned above, the following requirements are needed on whatever host runs the tasks:
- Python 3.9 or greater
- Python requirements found in [execution-environment/requirements.txt](https://github.com/redhat-cop/cloud.vmware_ops/tree/main/execution-environment/requirements.txt)
Copy link
Collaborator

Choose a reason for hiding this comment

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

for integration tests used another requirements.txt (https://github.com/redhat-cop/cloud.vmware_ops/blob/main/tests/integration/requirements.txt). Should it be the same?

Copy link
Collaborator Author

@mikemorency mikemorency Oct 14, 2024

Choose a reason for hiding this comment

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

I dont think it should be the same.
It looks like there is a lot of overlap between the two which probably isnt great. Maybe during test setup we should install the requirements from the EE directory first and then the requirements.txt in the tests directory can be anything else that just the tests need. For example, podman is just needed by the integration tests and would not make sense for a regular user to install
Ill make a ticket for that

Copy link
Collaborator

@anna-savina anna-savina left a comment

Choose a reason for hiding this comment

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

LGTM

@mikemorency mikemorency merged commit 1f3b50c into main Oct 14, 2024
18 checks passed
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