Skip to content

Fix: Replace pkg_resources with importlib.metadata in machine_info.py - #27157

Merged
Tianlei Wu (tianleiwu) merged 1 commit into
mainfrom
tlwu/fix_pkg_resources
Jan 28, 2026
Merged

Fix: Replace pkg_resources with importlib.metadata in machine_info.py#27157
Tianlei Wu (tianleiwu) merged 1 commit into
mainfrom
tlwu/fix_pkg_resources

Conversation

@tianleiwu

Copy link
Copy Markdown
Contributor

Replaces the deprecated pkg_resources library with importlib.metadata to fix ModuleNotFoundError.

@tianleiwu
Tianlei Wu (tianleiwu) enabled auto-merge (squash) January 28, 2026 20:18
@tianleiwu
Tianlei Wu (tianleiwu) merged commit eef95bc into main Jan 28, 2026
91 of 96 checks passed
@tianleiwu
Tianlei Wu (tianleiwu) deleted the tlwu/fix_pkg_resources branch January 28, 2026 23:59
Tianlei Wu (tianleiwu) added a commit that referenced this pull request Feb 3, 2026
…#27157)

Replaces the deprecated pkg_resources library with importlib.metadata to
fix ModuleNotFoundError.
Tianlei Wu (tianleiwu) added a commit that referenced this pull request Feb 3, 2026
Cherry-pick round 1 for 1.24.1 release:
#27157: [Fix: Replace
pkg_resources with importlib.metadata in
machine_info.py](40469f0)


#27124: [Remove x86 from
nuget
(#27124)](5c98f5c)


#26390: [[MLAS] Fix rotary
interleaved NEON
kernel](536c6c9)


#27215: [Fix Conv LHS
packing padding/uninitialized ptrs
V2](62a3890)


#27221: [Fix WebGPU MoE
swiglu_limit (default to
infinity)](98b6ce9)


#26994: [Fix for
https://github.com/microsoft/onnxruntime/issues/25145](https://github.com/microsoft/onnxruntime/commit/bce7b4faca24ae2ae279ab8fa2de637a46e7f45b)

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Hariharan Seshadri <shariharan91@gmail.com>
Co-authored-by: Joshua Lochner <admin@xenova.com>
Co-authored-by: umangb-09 <umangb@nvidia.com>
Milos Puzovic (milpuz01) pushed a commit to milpuz01/onnxruntime that referenced this pull request Feb 4, 2026
…microsoft#27157)

Replaces the deprecated pkg_resources library with importlib.metadata to
fix ModuleNotFoundError.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants