Skip to content

FEAT: Support Python < 3.13 on Unix #111

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

bewithgaurav
Copy link
Collaborator

@bewithgaurav bewithgaurav commented Jun 30, 2025

ADO Work Item Reference

AB#37821


Summary

This pull request adds support for building Python wheels for additional Python versions in the build-whl-pipeline.yml file. Specifically, configurations for Python 3.12, 3.11, and 3.10 with universal architecture (universal2) have been introduced.

Pipeline updates:

  • eng/pipelines/build-whl-pipeline.yml: Added new job configurations for Python versions 3.12, 3.11, and 3.10, all targeting the universal2 architecture for compatibility with both arm64 and x86_64.

@Copilot Copilot AI review requested due to automatic review settings June 30, 2025 11:26
@github-actions github-actions bot added the pr-size: small Minimal code update label Jun 30, 2025
Copy link
Contributor

@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

Adds support for building macOS wheels for Python versions 3.12, 3.11, and 3.10 in the existing matrix configuration.

  • Introduces py312_universal2, py311_universal2, and py310_universal2 entries with pythonVersion, shortPyVer, and targetArch set to universal2.
  • Maintains consistency with the existing macOS universal2 strategy for Python 3.13.
  • Leaves room for future version additions in the same pattern.
Comments suppressed due to low confidence (3)

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

  • [nitpick] This comment repeats the architecture information already noted above; consider simplifying it to just # Python 3.12 to reduce redundancy.
      # Python 3.12 (universal2 for both arm64 and x86_64)

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

  • Don’t forget to update any external documentation or README files to list these newly supported Python versions so users are aware of 3.10, 3.11, and 3.12 support.
      # Python 3.12 (universal2 for both arm64 and x86_64)

@bewithgaurav bewithgaurav marked this pull request as draft June 30, 2025 11:28
@github-actions github-actions bot added pr-size: small Minimal code update and removed pr-size: small Minimal code update labels Jun 30, 2025
@github-actions github-actions bot added pr-size: medium Moderate update size and removed pr-size: small Minimal code update labels Jun 30, 2025
@github-actions github-actions bot added pr-size: medium Moderate update size and removed pr-size: medium Moderate update size labels Jun 30, 2025
# Temporarily Use Azure SQL Database connection string for testing purposes since Docker takes too long to install & start in MacOS
DB_CONNECTION_STRING: $(AZURE_CONNECTION_STRING)
# DB_CONNECTION_STRING: 'Driver=ODBC Driver 18 for SQL Server;Server=localhost;Database=master;Uid=SA;Pwd=$(DB_PASSWORD);TrustServerCertificate=yes'
DB_CONNECTION_STRING: 'Driver=ODBC Driver 18 for SQL Server;Server=localhost;Database=master;Uid=SA;Pwd=$(DB_PASSWORD);TrustServerCertificate=yes'

Check notice

Code scanning / devskim

Accessing localhost could indicate debug code, or could hinder scaling. Note

Do not leave debug code in production
@github-actions github-actions bot added pr-size: medium Moderate update size and removed pr-size: medium Moderate update size labels Jul 1, 2025
@bewithgaurav bewithgaurav changed the title FEAT: Support Python < 3.13 on Unix TEST2: Support Python < 3.13 on Unix Jul 1, 2025
@bewithgaurav bewithgaurav changed the title TEST2: Support Python < 3.13 on Unix TAST: Support Python < 3.13 on Unix Jul 1, 2025
@bewithgaurav bewithgaurav changed the title TAST: Support Python < 3.13 on Unix FEAT: Support Python < 3.13 on Unix Jul 1, 2025
@github-actions github-actions bot added pr-size: medium Moderate update size and removed pr-size: medium Moderate update size labels Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-size: medium Moderate update size
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant