-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Packaging] Bump embedded Python version to 3.11.5 #26749
Conversation
Hi @bebound, |
🔄AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
Packaging |
Close as Python 3.10.12 does not contains binary installers. |
# Conflicts: # build_scripts/windows/scripts/build.cmd # scripts/release/homebrew/docker/formula_generate.py
# update python version | ||
text = re.sub('depends_on "python@.*"', f'depends_on "python@{PYTHON_VERSION}"', text, 1) | ||
text = re.sub(r'virtualenv_create\(libexec, "python.*"', f'virtualenv_create(libexec, "python{PYTHON_VERSION}"', text, 1) # pylint: disable=line-too-long | ||
|
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.
Should these lines be dropped in the next release? It is really inconvenient to make any change to the formula.
Or, can we just keep the formula as is and make the change when a PR is submitted for https://github.com/Homebrew/homebrew-core/blob/master/Formula/a/azure-cli.rb ?
In my thought, the Azure CLI repo should be self-contained - it should never depend on external resources to build and install.
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.
I prefer to keep it here for two reasons.
TestHomebrewFormula
can check whether new formula works with new Python.- Homebrew users can use the new Python version as soon as possible.
For other changes like the without_pip: false
in #27186, we can create a PR for homebrew.
Sometimes the Homebrew community update our formula, which cause a conflict, so we modify the external formula. This behavior is introduced in #11964
Description
Fix #26740, CVE-2023-0464, CVE-2023-0466, CVE-2023-24329 are fixed in Python 3.11.4
The user may need to reinstall their extensions if the dependency provides different wheels for different python version.
PS:
scripts/release/debian/Dockerfile
is only used inscripts/release/debian/README.md
, which is also deprecated. So I don't update its version number.Related issue: #24494
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.