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

Remove things needed for building Python 3 from source #6441

Merged
merged 2 commits into from
Jan 14, 2021
Merged

Remove things needed for building Python 3 from source #6441

merged 2 commits into from
Jan 14, 2021

Conversation

jleveque
Copy link
Contributor

@jleveque jleveque commented Jan 13, 2021

- Why I did it

Prior to SONiC using Debian Buster, we needed to build Python 3.5 or newer from source for installation in the SNMP container, becuase it wasn't available from the Debian repository for Jessie or Stretch. Now that all containers are based on Buster, we simply install Python 3.7 from the Debian repository in the host as well as all containers. We are no longer building Python 3 from source, so the Makefile is unused and we no longer need to install build dependencies in the slave containers.

- How I did it

  • Remove Python 3 makefile
  • No longer install Python 3 build dependencies in the slave containers.

- How to verify it

Successfully build all slave containers and a SONiC image

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

  • 201811
  • 201911
  • 202006
  • 202012

@jleveque jleveque self-assigned this Jan 13, 2021
@jleveque jleveque changed the title Remove things needed for building Python 3 Remove things needed for building Python 3 from source Jan 13, 2021
@jleveque jleveque marked this pull request as ready for review January 14, 2021 01:54
@jleveque jleveque added the Build label Jan 14, 2021
@jleveque jleveque merged commit c141bb9 into sonic-net:master Jan 14, 2021
@jleveque jleveque deleted the no_build_python3 branch January 14, 2021 18:25
lguohan pushed a commit that referenced this pull request Jan 24, 2021
**- Why I did it**

Prior to SONiC using Debian Buster, we needed to build Python 3.5 or newer from source for installation in the SNMP container, becuase it wasn't available from the Debian repository for Jessie or Stretch. Now that all containers are based on Buster, we simply install Python 3.7 from the Debian repository in the host as well as all containers. We are no longer building Python 3 from source, so the Makefile is unused and we no longer need to install build dependencies in the slave containers.

**- How I did it**

- Remove Python 3 makefile
- No longer install Python 3 build dependencies in the slave containers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants