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 necessary changes for python3 virtual environment of sonic-mgmt docker container #9277

Conversation

OleksandrKozodoi
Copy link
Contributor

Signed-off-by: Oleksandr Kozodoi [email protected]

This PR includes necessary changes for the setup of the Python3 virtual environment in the sonic-mgmt docker container.

How to activate Python3 virtual environment?

  1. Connect to the sonic-mgmt container
$ docker exec -ti sonic-mgmt bash
  1. Activate the virtual environment
$ source /var/user/env-python3/bin/activate

Why I did it

Migration of sonic-mgmt codebase from Python 2 to Python 3

How I did it

Added all necessary dependencies to the env-python3 virtual environment.

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

@yxieca
Copy link
Contributor

yxieca commented Dec 7, 2021

/azp run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@yxieca
Copy link
Contributor

yxieca commented Dec 7, 2021

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@SavchukRomanLv
Copy link
Contributor

Hi @lguohan can this be merged? Thank you

@ZhaohuiS
Copy link
Contributor

ZhaohuiS commented Mar 3, 2022

/azp run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@ZhaohuiS
Copy link
Contributor

ZhaohuiS commented Mar 8, 2022

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ZhaohuiS
Copy link
Contributor

ZhaohuiS commented Mar 8, 2022

/azp run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@ZhaohuiS ZhaohuiS merged commit 3fa18d1 into sonic-net:master Mar 9, 2022
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.

4 participants