-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Fix Python wheel for IDT so that it includes all the necessary files. #39861
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
Conversation
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.
Code Review
This pull request fixes the matter-post-certification-tests
Python wheel by adding a new BUILD.gn
file to ensure all necessary files are included with the correct directory structure. The changes look correct and address the issue described. I've added a few suggestions to improve the readability and maintainability of the new build file.
PR #39861: Size comparison from 860799f to b6ccb9a Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #39861: Size comparison from 4944739 to 86fa143 Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
…project-chip#39861) * build a wheel * remove authors * addressing gemini comments * add __init__.py to setuptools * Restyled by gn --------- Co-authored-by: Restyled.io <commits@restyled.io>
Summary
This PR fixes the
matter-post-certification-tests
Python wheel so that it includes all the necessary files.setuptools
needs__init__.py
in order to recoginze a folder as a Python package, this is needed in order to create the folder hierarchy inside the Python wheel:chip/testing/idt/
Related issues
Fixes: project-chip/matter-test-scripts#559
Testing
Created a Python wheel manually and verified that it contains all the necessary files.