Skip to content

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

Merged
tianleiwu merged 1 commit intomainfrom
tlwu/fix_pkg_resources
Jan 28, 2026
Merged

Fix: Replace pkg_resources with importlib.metadata in machine_info.py#27157
tianleiwu merged 1 commit intomainfrom
tlwu/fix_pkg_resources

Conversation

@tianleiwu
Copy link
Copy Markdown
Contributor

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

@tianleiwu tianleiwu enabled auto-merge (squash) January 28, 2026 20:18
@tianleiwu tianleiwu merged commit eef95bc into main Jan 28, 2026
91 of 96 checks passed
@tianleiwu tianleiwu deleted the tlwu/fix_pkg_resources branch January 28, 2026 23:59
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.
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>
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