Skip to content

Change run_tests.sh to support non-venv Python3 environment #8828

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

Closed
wants to merge 1 commit into from

Conversation

wsycqyz
Copy link
Contributor

@wsycqyz wsycqyz commented Jul 6, 2023

Description of PR

Summary:
In this PR, run_tests.sh will use non-venv Python3 in sonic-mgmt-docker.
Before this PR, sonic-mgmt-docker is modified to add Python3 packages to non-venv environment. (sonic-net/sonic-buildimage#15726)
After this PR, sonic-mgmt master branch will always use Python3 for all testcases.
For 202205 and 202012 branch, sonic-mgmt will still use Python2 for all testcases.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

This is part of Python3 migration in sonic-mgmt-docker.

How did you do it?

Change run_tests.sh to support non-venv Python3 environment

How did you verify/test it?

Test with physical testbed.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@wsycqyz wsycqyz requested a review from wangxin July 6, 2023 05:16
@wsycqyz
Copy link
Contributor Author

wsycqyz commented Jul 7, 2023

/azp run

@azure-pipelines
Copy link

No commit pushedDate could be found for PR 8828 in repo sonic-net/sonic-mgmt

@wsycqyz wsycqyz closed this Jul 13, 2023
@wsycqyz wsycqyz deleted the run_test_py3-master branch July 13, 2023 01:20
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.

1 participant