8000 update auto_update_doc and create sdist_test.yml by andife · Pull Request #6723 · onnx/onnx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

update auto_update_doc and create sdist_test.yml #6723

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 34 commits into from
Feb 26, 2025
Merged

update auto_update_doc and create sdist_test.yml #6723

merged 34 commits into from
Feb 26, 2025

Conversation

andife
Copy link
Member
@andife andife commented Feb 21, 2025

Description

Motivation and Context

Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
@andife andife requested a review from a team as a code owner February 21, 2025 14:22
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Copy link
codecov bot commented Feb 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.13%. Comparing base (b7a0055) to head (7103a28).
Report is 2 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6723   +/-   ##
=======================================
  Coverage   57.13%   57.13%           
=======================================
  Files         507      507           
  Lines       31927    31927           
  Branches     3040     3040           
=======================================
  Hits        18240    18240           
  Misses      12864    12864           
  Partials      823      823           

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

Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
@andife
Copy link
Member Author
andife commented Feb 21, 2025

@justinchuby

@andife andife closed this Feb 22, 2025
@andife andife added the auto update doc Generate md/proto files automatically using the CI pipeline label Feb 22, 2025
@andife andife reopened this Feb 22, 2025
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
@cyyever
Copy link
Contributor
cyyever commented Feb 23, 2025

We should downgrade protobuf to 3.21.12 on Ubuntu?

@andife andife changed the title Create sdist_test.yml update auto_update_doc and create sdist_test.yml Feb 24, 2025
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
@andife andife added auto update doc Generate md/proto files automatically using the CI pipeline and removed auto update doc Generate md/proto files automatically using the CI pipeline labels Feb 24, 2025
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
@andife
Copy link
Member Author
andife commented Feb 24, 2025

We should downgrade protobuf to 3.21.12 on Ubuntu?

Could we use the following? Stay at v4? I would prefer to offer corresponding docs for the different mainstream OSs

wget https://github.com/protocolbuffers/protobuf/releases/download/v25.1/protoc-25.1-linux-x86_64.zip
unzip protoc-25.1-linux-x86_64.zip -d protoc

Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
@andife andife requested a review from justinchuby February 25, 2025 15:10
@andife
Copy link
Member Author
andife commented Feb 25, 2025

@cyyever Why should it be a problem using requirements-release.txt? I use it here: https://github.com/onnx/onnx/pull/6723/files#diff-d16536ab288a08f6a52509f2abac6c7680441a7e3978f9516c61391eb0263b62 => and there the process works

For me it would be ok to generally use the requirements.txt in the first step.

Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
@cyyever
Copy link
Contributor
cyyever commented Feb 25, 2025

@andife It works because

         python onnx/defs/gen_doc.py
          python onnx/gen_proto.py -l
          python onnx/gen_proto.py -l --ml
          python onnx/backend/test/stat_coverage.py
          python onnx/backend/test/cmd_tools.py generate-data --diff

These python files don't import protobuf runtime?

Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
@andife andife added this pull request to the merge queue Feb 26, 2025
Merged via the queue into main with commit 3d5acaf Feb 26, 2025
41 of 42 checks passed
@andife andife deleted the andife-patch-10 branch February 26, 2025 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto update doc Generate md/proto files automatically using the CI pipeline
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants
0