Skip to content

FIX: Python Lib linker issue: Switching back to 3.13.3 #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bewithgaurav
Copy link
Collaborator

@bewithgaurav bewithgaurav commented Jun 11, 2025

Summary

This pull request updates the Python version used in the build and validation pipelines to address compatibility issues. The changes ensure consistency and provide a temporary workaround for known issues with the latest Python release.

Python version updates:

Issue Reference

Fixes AB#37710

Checklist

  • Tests Passed (if applicable)
  • Code is formatted
  • Docs Updated (if necessary)

Testing Performed

  • Unit Tests
  • Manual Testing
    • Python Version: 3.13.3
    • OS: Windows

@Copilot Copilot AI review requested due to automatic review settings June 11, 2025 04:57
Copy link

@Copilot 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 pins the Python version in the build and validation pipelines to 3.13.3 as a temporary workaround for issues with Python 3.13.4.

  • Updated versionSpec in the PR validation pipeline to ‘3.13.3’ with explanatory comments.
  • Updated pythonVersion in the wheel build pipeline to ‘3.13.3’ for both x64 and arm64 jobs.

Reviewed Changes

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

File Description
eng/pipelines/pr-validation-pipeline.yml Pin Python versionSpec to 3.13.3 and add workaround comments
eng/pipelines/build-whl-pipeline.yml Pin pythonVersion to 3.13.3 for x64 and arm64 jobs
Comments suppressed due to low confidence (2)

eng/pipelines/pr-validation-pipeline.yml:23

  • Update the displayName to reflect the patch version, e.g., 'Use Python 3.13.3', to match the versionSpec.
displayName: 'Use Python 3.13'

eng/pipelines/build-whl-pipeline.yml:60

  • For the py313_arm64 job, the architecture field is set to 'x64' but should be 'arm64' to match the targetArch.
architecture: 'x64'

@bewithgaurav
Copy link
Collaborator Author

Referencing Issue python/cpython#135151 from Python release which is causing the compilation to fail (linking the wrong debug library) - This is a temporary fix which should be reverted back when the new version of Python gets released. Patching this separately since this is an off case.

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.

1 participant