New submission from Sameer Bobade <skbob...@gmail.com>:
I am writing a test code with Python and tested that it works on both Python 3.7 and 3.7.3 The code uses tkinter, and does not use PyQT5 I use pyinstaller 3.4 I convert the python to exe. With the same code and and same dependencies (including version number) - while converting code to exe using pyinstaller 3.4, with Python 3.7.3 - Pyinstaller asks for additional imports related to PyQt5 (and maybe more). This causes executable to expand in size with unwanted dependencies bundled in output. Doing same thing with Python 3.7 removes the issue. Not sure if this is Anaconda specific or general Python issue. Both tests were done in virtual environment with Anaconda Python 3.7.3 as base. Attached logs from pyinstaller for both versions. Also reported to Anaconda - https://github.com/Anaconda-Platform/anaconda-project/issues/207 ---------- components: Windows files: pyinstallerlog.zip messages: 346715 nosy: Sameer Bobade, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Using Pyinstaller with (Anaconda) Python 3.7.3 needs PyQt5 even if not imported in code type: behavior versions: Python 3.7 Added file: https://bugs.python.org/file48440/pyinstallerlog.zip _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37425> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com