Skip to content

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 kairu-ms, wangzelin007 and yonzhan 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