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

Fix platform_asic_checker script in order to run stretch Python 3.5.3 #9030

Merged
merged 1 commit into from
Oct 22, 2021

Conversation

qiluo-msft
Copy link
Collaborator

Why I did it

It is required by stretch/sonic-device-data_1.0-1_all.deb, which is required by docker-sonic-mgmt.gz.
Stretch distribution has old Python 3.5.3.

scandir.close() is new in Python version 3.6.
ref: https://docs.python.org/3/library/os.html#os.scandir.close

How I did it

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

@qiluo-msft qiluo-msft requested a review from lguohan as a code owner October 21, 2021 11:17
@lguohan lguohan merged commit 12b8cac into sonic-net:master Oct 22, 2021
@qiluo-msft qiluo-msft deleted the qiluo/python3.5 branch October 22, 2021 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants