-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[PDDF] Build and install Python 3 package #6286
Conversation
@fk410167: Can you please review and test this PR? |
@jleveque |
I tested the build and found these changes are required for successful build. Please add them. git diff platform/pddf/platform-api-pddf-base.depdiff --git a/platform/pddf/platform-api-pddf-base.dep b/platform/pddf/platform-api-pddf-base.dep git diff platform/pddf/platform-api-pddf-base.mkdiff --git a/platform/pddf/platform-api-pddf-base.mk b/platform/pddf/platform-api-pddf-base.mk export pddf_platform_api_base_py2_wheel_path="$(addprefix git diff build_debian.shdiff --git a/build_debian.sh b/build_debian.sh |
@fk410167: Thank you for testing and for your diffs! I have made the changes you suggested with one difference:
Please test and review again at your next convenience. |
retest this please |
Getting this error during the build. 12:25:29 /sonic/platform/pddf/platform-api-pddf-base /sonic |
@fk410167: Thanks for the heads-up. I omitted an |
retest broadcom please |
…pendency in setup.py
retest mellanox please |
@fk410167: All check builds have passed. Can you please confirm the PR is good on your end? |
@jleveque |
@fk410167, please sign off then? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes looks good to me
- Make PDDF code compliant with both Python 2 and Python 3 - Align code with PEP8 standards using autopep8 - Build and install both Python 2 and Python 3 PDDF packages
- Why I did it
As part of migrating the SONiC codebase from Python 2 to Python 3
- How I did it
Make PDDF code compliant with both Python 2 and Python 3
Align code with PEP8 standards using autopep8
Build and install both Python 2 and Python 3 PDDF packages
Once all vendors build and install Python 3 versions of their sonic-platform package, we can simply stop building and installing the Python 2 version of the package.
- How to verify it
- Which release branch to backport (provide reason below if selected)
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)