Skip to content

Remove onnxruntime<=1.20.1 Windows pin (onnxruntime 1.24.1 is out) #1550

Closed

Description

The onnxruntime<=1.20.1; sys_platform == "win32" pin was added in #1274 to work around a DLL import error (#1266).

The investigation in microsoft/onnxruntime#24843 showed that the issue was partly caused by outdated msvc-runtime packages, though onnxruntime>=1.22.0 also showed a genuine regression on windows-2019 (which is now EOL). Newer Windows versions (windows-2022, windows-2025) work fine with onnxruntime>=1.22.0.

The pin now blocks Python 3.14 support (#1470) because onnxruntime 1.24.1 — which adds Python 3.14 wheels — exceeds the <=1.20.1 upper bound.

Could this pin be removed or bumped? If there's concern about the windows-2019 regression, the pin could at least be narrowed (e.g. to only affect older Python versions, or documented as a known issue for EOL Windows).

Activity

  1. added a commit that references this issue on Feb 6, 2026
    2d6eb55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions