Closed
Bug 1930980
Opened 1 year ago
Closed 4 months ago
Tcl/Tk hooks deprecated in new PyInstaller
Categories
(Testing :: mozregression, defect, P2)
Testing
mozregression
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zeid, Assigned: zeid)
References
Details
Attachments
(1 file)
PyInstaller 6.10 (the first to support Python 3.13) deprecates certain methods in PyInstaller.utils.hooks.tcl_tk that are used in mozregression, causing errors during builds. For example:
Traceback (most recent call last):
File "/Users/runner/work/mozregression/mozregression/env/bin/pyinstaller", line 8, in <module>
sys.exit(_console_script_run())
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/work/mozregression/mozregression/env/lib/python3.12/site-packages/PyInstaller/__main__.py", line 231, in _console_script_run
run()
File "/Users/runner/work/mozregression/mozregression/env/lib/python3.12/site-packages/PyInstaller/__main__.py", line 215, in run
run_build(pyi_config, spec_file, **vars(args))
File "/Users/runner/work/mozregression/mozregression/env/lib/python3.12/site-packages/PyInstaller/__main__.py", line 70, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "/Users/runner/work/mozregression/mozregression/env/lib/python3.12/site-packages/PyInstaller/building/build_main.py", line 1227, in main
build(specfile, distpath, workpath, clean_build)
File "/Users/runner/work/mozregression/mozregression/env/lib/python3.12/site-packages/PyInstaller/building/build_main.py", line 1167, in build
exec(code, spec_namespace)
File "gui.spec", line 4, in <module>
from mozregression.pyinstaller import BUNDLE_WITH_TK
File "/Users/runner/work/mozregression/mozregression/mozregression/pyinstaller.py", line 16, in <module>
from PyInstaller.utils.hooks.tcl_tk import (
ImportError: cannot import name '_collect_tcl_modules' from 'PyInstaller.utils.hooks.tcl_tk' (/Users/runner/work/mozregression/mozregression/env/lib/python3.12/site-packages/PyInstaller/utils/hooks/tcl_tk.py)
Comment 1•1 year ago
|
||
The severity field is not set for this bug.
:zeid, could you have a look please?
For more information, please visit BugBot documentation.
Flags: needinfo?(zeid)
| Assignee | ||
Updated•1 year ago
|
Severity: -- → S3
Flags: needinfo?(zeid)
Priority: -- → P2
Comment 3•4 months ago
|
||
| Assignee | ||
Updated•4 months ago
|
Assignee: nobody → zeid
| Assignee | ||
Updated•4 months ago
|
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•