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

Add truss patch flow tests for all python versions #205

Merged
merged 1 commit into from
Feb 6, 2023

Conversation

pankajroark
Copy link
Collaborator

Until we figure out a more through strategy, adding these tests to catch issues in control truss patch flow for all versions of python we support.

th = TrussHandle(custom_model_control)
th.update_python_version(python_version)
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not super clear on what this is doing. What is it updating based on this python_version?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This updated python version in truss_config, which in turn governs the python version on the docker image. Ultimately, this governs what python version users model code runs with.

Copy link
Contributor

Choose a reason for hiding this comment

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

Gotcha. Does this only validate tests run in docker?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, these run with docker. What do you mean by only validate? These run the whole truss patch flow using the docker image built for truss which those versions.

Copy link
Contributor

@zero1zero zero1zero Feb 4, 2023

Choose a reason for hiding this comment

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

whole truss patch flow

I see. Makes sense if this is the only to test that flow. Ideally, we want to run all tests in both environments, but agreed this is a good stop gap for now.

@pankajroark pankajroark merged commit 1d8a9c4 into main Feb 6, 2023
@pankajroark pankajroark deleted the pg/python_version_tests branch February 6, 2023 20:25
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