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

[swss] Depend on Python 3 version of swsscommon rather than Python 2 #6432

Merged
merged 1 commit into from
Jan 14, 2021
Merged

[swss] Depend on Python 3 version of swsscommon rather than Python 2 #6432

merged 1 commit into from
Jan 14, 2021

Conversation

jleveque
Copy link
Contributor

- Why I did it

The only Python code in the SwSS package, restore_neighbors.py, was recently converted to Python 3 and most dependencies were updated as part of #6207. However, the SwSS makefile still listed the Python 2 version of the swsscommon package as a dependency. This caused Python 2-related packages to be installed in containers unnecessarily.

- How I did it

Update SwSS makefile to list Python 3 swsscommon package as a dependency rather than the Python 2 package.

- How to verify it

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

  • 201811
  • 201911
  • 202006
  • 202012

- Description for the changelog

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

@jleveque jleveque marked this pull request as ready for review January 13, 2021 03:06
@lguohan lguohan merged commit 4612f68 into sonic-net:master Jan 14, 2021
@jleveque jleveque deleted the swss_py3 branch January 14, 2021 17:17
lguohan pushed a commit that referenced this pull request Jan 15, 2021
…6432)

The only Python code in the SwSS package, restore_neighbors.py, was recently converted to Python 3 and most dependencies were updated as part of #6207. However, the SwSS makefile still listed the Python 2 version of the swsscommon package as a dependency. This caused Python 2-related packages to be installed in containers unnecessarily.
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.

3 participants