-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{AKS} Remove from tkinter import FALSE to unblock CI
#21823
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
Conversation
from tkinter import FALSEfrom tkinter import FALSE to unblock CI
| # -------------------------------------------------------------------------------------------- | ||
|
|
||
| import importlib | ||
| from tkinter import FALSE |
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.
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:
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.
|
AKS |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
#21821 includes this change and precedes this PR. |
Description
#21661 added this unused line for unknown reason and it breaks CI (#21661 (comment)).
Remove it to unblock CI.