Skip to content

Conversation

@jiasli
Copy link
Member

@jiasli jiasli commented Mar 28, 2022

Description

#21661 added this unused line for unknown reason and it breaks CI (#21661 (comment)).

Remove it to unblock CI.

@jiasli jiasli requested a review from ganga1980 March 28, 2022 06:15
@ghost ghost requested a review from wangzelin007 March 28, 2022 06:15
@ghost ghost assigned zhoxing-ms Mar 28, 2022
@ghost ghost added this to the Mar 2022 (2022-04-06) milestone Mar 28, 2022
@ghost ghost added the Auto-Assign Auto assign by bot label Mar 28, 2022
@ghost ghost requested a review from yonzhan March 28, 2022 06:15
@ghost ghost added the AKS az aks/acs/openshift label Mar 28, 2022
@jiasli jiasli requested a review from kairu-ms March 28, 2022 06:15
@jiasli jiasli changed the title {AKS} Remove from tkinter import FALSE {AKS} Remove from tkinter import FALSE to unblock CI Mar 28, 2022
# --------------------------------------------------------------------------------------------

import importlib
from tkinter import FALSE
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The import error is only found on

  • Test Rpm Package
  • Test Deb Packages Focal
  • Test Deb Packages Buster

but not on

  • Automation Test (Profile Latest) Python310

This is because we don't include tkinter in our built Python in order to save package size:

https://dev.azure.com/azure-sdk/public/_build/results?buildId=1464021&view=logs&j=2cfc7b5c-b945-5758-720c-434c292791a8&t=e70effe3-d4e7-5613-ef4d-26b0b8e6ed67&l=2392

The necessary bits to build these optional modules were not found:
_bz2                  _curses               _curses_panel      
_dbm                  _gdbm                 _lzma              
_sqlite3              _tkinter              readline           
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

CentOS 7's python also has no tkinter.

On the other hand, ADO's Python has tkinter.

@yonzhan
Copy link
Collaborator

yonzhan commented Mar 28, 2022

AKS

@jiasli
Copy link
Member Author

jiasli commented Mar 28, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@jiasli
Copy link
Member Author

jiasli commented Mar 29, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@jiasli jiasli merged commit 7cf1212 into Azure:dev Mar 29, 2022
@jiasli jiasli deleted the tkinter branch March 29, 2022 03:12
@jiasli
Copy link
Member Author

jiasli commented Mar 29, 2022

#21821 includes this change and precedes this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AKS az aks/acs/openshift Auto-Assign Auto assign by bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants