-
Notifications
You must be signed in to change notification settings - Fork 8
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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
, andpy310_universal2
entries withpythonVersion
,shortPyVer
, andtargetArch
set touniversal2
. - 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)
# 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
ADO Work Item Reference
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 theuniversal2
architecture for compatibility with botharm64
andx86_64
.