Skip to content

Use CMake python module #6381

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

Merged
merged 1 commit into from
Sep 21, 2024
Merged

Use CMake python module #6381

merged 1 commit into from
Sep 21, 2024

Conversation

cyyever
Copy link
Contributor

@cyyever cyyever commented Sep 21, 2024

Motivation and Context

Remove usage of deprecated module.

@cyyever cyyever requested a review from a team as a code owner September 21, 2024 08:49
@cyyever cyyever changed the title Find python in CMake Use CMake python module Sep 21, 2024
Copy link

codecov bot commented Sep 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.23%. Comparing base (8f38dcb) to head (80e4961).
Report is 342 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6381   +/-   ##
=======================================
  Coverage   57.23%   57.23%           
=======================================
  Files         507      507           
  Lines       31406    31406           
  Branches     4690     4690           
=======================================
  Hits        17975    17975           
- Misses      12575    12576    +1     
+ Partials      856      855    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: cyy <cyyever@outlook.com>
Copy link
Member

@justinchuby justinchuby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@justinchuby justinchuby added this pull request to the merge queue Sep 21, 2024
Merged via the queue into onnx:main with commit b196423 Sep 21, 2024
32 checks passed
@cyyever cyyever deleted the onnx_python branch September 21, 2024 15:20
github-merge-queue bot pushed a commit that referenced this pull request Sep 25, 2024
### Description
<!-- - Describe your changes. -->
Revert the python finding logic introduced by #6381 due to unable to
handle Conda builds. However, the Python executable detection was
improved. In addition, some Windows warnings were re-enabled, and the
hidden visibility of onnx_cpp2py_export was fixed.
### Motivation and Context
For better code.
<!-- - Why is this change required? What problem does it solve? -->
<!-- - If it fixes an open issue, please link to the issue here. -->

---------

Signed-off-by: cyy <cyyever@outlook.com>
linshokaku pushed a commit to linshokaku/onnx that referenced this pull request Oct 2, 2024
### Motivation and Context
Remove usage of deprecated module.

Signed-off-by: cyy <cyyever@outlook.com>
Signed-off-by: Linsho Kaku <linsho@preferred.jp>
linshokaku pushed a commit to linshokaku/onnx that referenced this pull request Oct 2, 2024
### Description
<!-- - Describe your changes. -->
Revert the python finding logic introduced by onnx#6381 due to unable to
handle Conda builds. However, the Python executable detection was
improved. In addition, some Windows warnings were re-enabled, and the
hidden visibility of onnx_cpp2py_export was fixed.
### Motivation and Context
For better code.
<!-- - Why is this change required? What problem does it solve? -->
<!-- - If it fixes an open issue, please link to the issue here. -->

---------

Signed-off-by: cyy <cyyever@outlook.com>
Signed-off-by: Linsho Kaku <linsho@preferred.jp>
@ramkrishna2910 ramkrishna2910 added the topic: build Issues related to ONNX builds and packages label May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: build Issues related to ONNX builds and packages
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants