#2846 closed defect (upstream)
cx_Freeze update broke packaging, again
Reported by: | totaamwin32 | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | blocker | Milestone: | 4.1 |
Component: | android | Version: | 3.0.x |
Keywords: | Cc: |
Description
Pretty much every time, something breaks.
We can't just pin a version, because python version upgrades would then break..
ERROR: build failed, see win32/cx_freeze-install.log: self.run_command(cmd) File "C:/msys64/mingw64/lib/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "C:/msys64/mingw64/lib/python3.8/site-packages/cx_Freeze/dist.py", line 299, in run self.run_command('build_exe') File "C:/msys64/mingw64/lib/python3.8/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:/msys64/mingw64/lib/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "C:/msys64/mingw64/lib/python3.8/site-packages/cx_Freeze/dist.py", line 217, in run freezer.Freeze() File "C:/msys64/mingw64/lib/python3.8/site-packages/cx_Freeze/freezer.py", line 645, in Freeze self._WriteModules(fileName, self.finder) File "C:/msys64/mingw64/lib/python3.8/site-packages/cx_Freeze/freezer.py", line 536, in _WriteModules sourcePackageDir = os.path.dirname(module.file) File "C:/msys64/mingw64/lib/python3.8/ntpath.py", line 238, in dirname return split(p)[0] File "C:/msys64/mingw64/lib/python3.8/ntpath.py", line 200, in split p = os.fspath(p) TypeError: expected str, bytes or os.PathLike object, not NoneType
Change History (3)
comment:1 Changed 9 months ago by
Status: | new → assigned |
---|
comment:2 Changed 9 months ago by
Resolution: | → upstream |
---|---|
Status: | assigned → closed |
Temporary fix until they release a fixed version:
curl https://github.com/marcelotduarte/cx_Freeze/commit/f1423d5acc4c375c3bbad767b1bd6f9eb7b8483c.patch | patch -p2 -d /mingw64/lib/python3.8/site-packages/cx_Freeze
comment:3 Changed 3 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2846
Note: See
TracTickets for help on using
tickets.
Looks like fix matplotlib and numpy hooks
We've had many problems with cx_Freeze in the past, ie: #1857