Skip to content

Upgrade wheel to 0.45.1 - #25957

Merged
Changming Sun (snnn) merged 1 commit into
mainfrom
snnn/wheel
Sep 4, 2025
Merged

Upgrade wheel to 0.45.1#25957
Changming Sun (snnn) merged 1 commit into
mainfrom
snnn/wheel

Conversation

@snnn

@snnn Changming Sun (snnn) commented Sep 4, 2025

Copy link
Copy Markdown
Contributor

Currently our macOS wheels use Metadata-Version 2.1
Currently our Windows and Linux wheels use Metadata-Version 2.4
Because they use different versions of the "wheel" package that is used for generating the wheel files.

When publishing the macOS wheels to Azure DevOps feed, I got the following error:

ERROR: Failed to upload onnxruntime-1.23.0.dev20250903002-cp310-cp310-macosx_13_0_universal2.whl.
Return code: 1
STDOUT:
Uploading distributions to 
https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi
/upload
ERROR    InvalidDistribution: Invalid distribution metadata: dynamic introduced 
         in metadata version 2.2, not 2.1            

This PR makes them consistent.

@snnn

Copy link
Copy Markdown
Contributor Author

I uploaded the new wheels to the ORT-NIGHTLY feed. It was good.

@snnn
Changming Sun (snnn) marked this pull request as ready for review September 4, 2025 23:52
@snnn
Changming Sun (snnn) merged commit 4e2699f into main Sep 4, 2025
112 of 116 checks passed
@snnn
Changming Sun (snnn) deleted the snnn/wheel branch September 4, 2025 23:53
Changming Sun (snnn) pushed a commit that referenced this pull request Sep 8, 2025
Currently our macOS wheels use Metadata-Version  2.1
Currently our Windows and Linux wheels use Metadata-Version  2.4
Because they use different versions of the
["wheel"](https://pypi.org/project/wheel/#history) package that is used
for generating the wheel files.

When publishing the macOS wheels to Azure DevOps feed, I got the
following error:
```
ERROR: Failed to upload onnxruntime-1.23.0.dev20250903002-cp310-cp310-macosx_13_0_universal2.whl.
Return code: 1
STDOUT:
Uploading distributions to
https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi
/upload
ERROR    InvalidDistribution: Invalid distribution metadata: dynamic introduced
         in metadata version 2.2, not 2.1
```

This PR makes them consistent.

(cherry picked from commit 4e2699f)
Changming Sun (snnn) pushed a commit that referenced this pull request Sep 8, 2025
Currently our macOS wheels use Metadata-Version  2.1
Currently our Windows and Linux wheels use Metadata-Version  2.4
Because they use different versions of the
["wheel"](https://pypi.org/project/wheel/#history) package that is used
for generating the wheel files.

When publishing the macOS wheels to Azure DevOps feed, I got the
following error:
```
ERROR: Failed to upload onnxruntime-1.23.0.dev20250903002-cp310-cp310-macosx_13_0_universal2.whl.
Return code: 1
STDOUT:
Uploading distributions to
https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi
/upload
ERROR    InvalidDistribution: Invalid distribution metadata: dynamic introduced
         in metadata version 2.2, not 2.1
```

This PR makes them consistent.

(cherry picked from commit 4e2699f)
Changming Sun (snnn) pushed a commit that referenced this pull request Sep 8, 2025
This PR cherry-picks the following PRs to the rel-1.23.0 branch:

* #25938
* #25957
* #25960
* #25968
* #25971

---------

Co-authored-by: Dmitri Smirnov <yuslepukhin@users.noreply.github.com>
Co-authored-by: Adrian Lizarraga <adlizarraga@microsoft.com>
Co-authored-by: Hariharan Seshadri <shariharan91@gmail.com>
@snnn

Copy link
Copy Markdown
Contributor Author

This PR has been cherry-picked into the rel-1.23.0 branch in PR #25985. Removing the release:1.23.0 label.

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.

2 participants