You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 7889dbe, the collect_entry_point hook util was updated to use importlib.metadata. However, the imports returned now includes the Class name instead of only the module name.
Context information (for bug reports)
Output of pyinstaller --version: latest develop
Version of Python: 3.12.0rc2
Platform: Linux openSUSE Aeon
How you installed Python: pyenv
Did you also try this on another platform? Does it work there? I haven't tried
Run your frozen program from a command window (shell) — instead of double-clicking on it
Package your program in --onedir mode
Package without UPX, say: use the option --noupx or set upx=False in your .spec-file
Repackage you application in verbose/debug mode. For this, pass the option --debug to pyi-makespec or pyinstaller or use EXE(..., debug=1, ...) in your .spec file.
Description of the issue
In 7889dbe, the
collect_entry_point
hook util was updated to use importlib.metadata. However, the imports returned now includes the Class name instead of only the module name.Context information (for bug reports)
pyinstaller --version
: latest developMake sure everything is packaged correctly
--noupx
or setupx=False
in your .spec-file--debug
topyi-makespec
orpyinstaller
or useEXE(..., debug=1, ...)
in your .spec file.A minimal example program which shows the error
In PyInstaller 5.13.2:
In PyInstaller 6.0 and latest Develop:
If you agree that this change in behavior is a bug, I can submit a PR to fix it 👍, thanks!
The text was updated successfully, but these errors were encountered: