Skip to content

Conversation

@snnn
Copy link
Contributor

@snnn snnn commented Sep 4, 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" 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
Contributor Author

snnn commented Sep 4, 2025

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

@snnn snnn marked this pull request as ready for review September 4, 2025 23:52
@snnn snnn merged commit 4e2699f into main Sep 4, 2025
112 of 116 checks passed
@snnn snnn deleted the snnn/wheel branch September 4, 2025 23:53
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)
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)
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 <[email protected]>
Co-authored-by: Adrian Lizarraga <[email protected]>
Co-authored-by: Hariharan Seshadri <[email protected]>
@snnn
Copy link
Contributor Author

snnn commented Sep 8, 2025

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.

3 participants