Skip to content

Update Python Wheel File Path#7978

Merged
snnn merged 1 commit into
masterfrom
fix_python_pipeline
Jun 7, 2021
Merged

Update Python Wheel File Path#7978
snnn merged 1 commit into
masterfrom
fix_python_pipeline

Conversation

@oliviajain
Copy link
Copy Markdown
Contributor

Description: Change file path to locate wheel file to make Python Packaging Pipeline pass.

Motivation and Context

  • Fix broken pipeline.

@oliviajain oliviajain requested a review from a team as a code owner June 7, 2021 16:11
@oliviajain oliviajain requested review from snnn and thiagocrepaldi June 7, 2021 16:12
-e BUILD_BUILDNUMBER \
onnxruntimecpubuild \
bash -c " $(PythonManylinuxDir)/bin/python3 -m pip install /build/Release/dist/onnxruntime*.whl && /onnxruntime_src/tools/doc/builddoc.sh $(PythonManylinuxDir)/bin/ /onnxruntime_src /build Release " ;
bash -c " $(PythonManylinuxDir)/bin/python3 -m pip install /build/Release/dist/*.whl && /onnxruntime_src/tools/doc/builddoc.sh $(PythonManylinuxDir)/bin/ /onnxruntime_src /build Release " ;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

just to confirm. this change is needed because the nightly packages are named ort-nightly* ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes, I think so.

Copy link
Copy Markdown
Contributor Author

@oliviajain oliviajain Jun 7, 2021

Choose a reason for hiding this comment

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

Right, when the pipeline variable ORT_NIGHTLY=0 (which is what we use to test, and what I did here) the wheel file name is onnxruntime*.whl. When ORT_NIGHTLY=1 the filename is ort-nightly*.whl. I kept the naming consistent with the rest of the file which writes Release/dist/*.whl I think for this reason.

Copy link
Copy Markdown
Contributor

@snnn snnn left a comment

Choose a reason for hiding this comment

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

LGTM.

@snnn snnn merged commit e23529f into master Jun 7, 2021
@snnn snnn deleted the fix_python_pipeline branch June 7, 2021 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants