Skip to content
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 to 3.9 for deb packages #22171

Closed
wants to merge 1 commit into from

Conversation

jiasli
Copy link
Member

@jiasli jiasli commented Apr 25, 2022

Description

#22035 dropped tests for Python 3.9. However, Mariner's built-in Python is 3.9.

> docker run -it --rm cblmariner2preview.azurecr.io/base/core:2.0 python3 -V
Python 3.9.10

To make sure Azure CLI works perfectly with Python 3.9, we will have to bring back tests for Python 3.9. Then we will have

  • Python 3.6: RHEL 7/8 RPMs (this can't be updated)
  • Python 3.8: DEB
  • Python 3.9: Mariner RPMs
  • Python 3.10: Windows MSI, Homebrew, PyPI, Docker image

Such inconsistency introduces maintenance difficulty. Testing for all these Python versions also adds lots of burden to the CI pipeline.

If DEB's Python is bumped to Python 3.9, Python 3.8's test can be replaced by Python 3.9 tests. Or, we can take one step even further - to use the latest Python 3.10 directly (#22170) for better security and performance.

Mariner should also use Python 3.10 (microsoft/azurelinux#2860).

@ghost ghost requested review from wangzelin007, yonzhan and kairu-ms April 25, 2022 04:12
@ghost ghost added the Auto-Assign Auto assign by bot label Apr 25, 2022
@ghost ghost assigned jiasli Apr 25, 2022
@ghost ghost added the Packaging label Apr 25, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented Apr 25, 2022

Packaging

@jiasli
Copy link
Member Author

jiasli commented Apr 25, 2022

Since May 2022 (2022-05-24) - For Build is a breaking change window. We will take advantage of this chance to bump to Python 3.10 directly for better performance and SSH security:

@jiasli jiasli closed this Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot Packaging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants