Skip to content

Conversation

@snnn
Copy link
Contributor

@snnn snnn commented Sep 22, 2025

Description

  1. Fixes Python Wheel Installation Path: In the Linux smoking test (py-package-smoking-test-linux.yml),
    the pip install command was corrected to use --find-links . to locate the wheel in the correct directory.
    This resolves an issue where the installation script was looking in the wrong location.

  2. Expands python package test pipeline's macOS Test Matrix: A new parameterized template (py-package-smoking-test-macos.yml) is introduced to test macOS wheels. The main pipeline (py-package-test-pipeline.yml) now uses this template to create a comprehensive test matrix, covering Python versions 3.10, 3.11, 3.12, and 3.13 across macOS versions 13, 14, and 15.

  3. Enable more tests in Nuget Test Pipeline. The pipeline is for testing packaged ONNX Runtime nuget packages. In the Windows NuGet test template (test_win.yml), a step has been added to download and place the custom_op_library.dll in the appropriate test directory. This ensures the custom op tests can find their required dependencies. The SKIPNONPACKAGETESTS flag has been removed to ensure all such tests are run.

Motivation and Context

Improve packaging tests.

@snnn snnn requested review from Copilot and mszhanyi and removed request for mszhanyi September 24, 2025 22:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes Python packaging test issues for the 1.23.0 release by addressing installation paths, expanding macOS test coverage, and enabling custom operator tests in the NuGet pipeline.

  • Fixed pip install command in Linux smoking test to use correct wheel directory location
  • Added comprehensive macOS test matrix covering Python 3.10-3.13 across macOS 13-15
  • Enabled custom operator tests in Windows NuGet pipeline by downloading and placing required DLL

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
py-package-smoking-test-macos.yml New parameterized template for macOS wheel testing
py-package-smoking-test-linux.yml Fixed pip install path to use current directory
py-package-test-pipeline.yml Expanded to use new macOS template with comprehensive test matrix
test_win.yml Added custom operator DLL download and placement for NuGet tests

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@snnn snnn merged commit be835ef into rel-1.23.0 Sep 25, 2025
87 of 92 checks passed
@snnn snnn deleted the users/snnn/rc2 branch September 25, 2025 01:34
snnn pushed a commit that referenced this pull request Oct 21, 2025
### Description

1. Fixes Python Wheel Installation Path: In the Linux smoking test
(py-package-smoking-test-linux.yml),
the pip install command was corrected to use --find-links . to locate
the wheel in the correct directory.
This resolves an issue where the installation script was looking in the
wrong location.

2. Expands python package test pipeline's macOS Test Matrix: A new
parameterized template (py-package-smoking-test-macos.yml) is introduced
to test macOS wheels. The main pipeline (py-package-test-pipeline.yml)
now uses this template to create a comprehensive test matrix, covering
Python versions 3.10, 3.11, 3.12, and 3.13 across macOS versions 13, 14,
and 15.

3. Enable more tests in Nuget Test Pipeline. The pipeline is for testing
packaged ONNX Runtime nuget packages. In the Windows NuGet test template
(test_win.yml), a step has been added to download and place the
custom_op_library.dll in the appropriate test directory. This ensures
the custom op tests can find their required dependencies. The
SKIPNONPACKAGETESTS flag has been removed to ensure all such tests are
run.

### Motivation and Context
Improve packaging tests.
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.

4 participants