Releases: py2exe/py2exe
py2exe 0.14.0.0
This major release introduces support for Python 3.12 and 3.13, and drops support for Python 3.8, following the official Python support schedule. This release also drops support for values of bundle_files<3
for Python 3.12 and newer (see #225 for further details).
Note: the former setup.py py2exe
command line interface is not yet deleted, but it is most likely not functional on 3.12+ due to the lack of distutils
. I will remove it as announced in an upcoming minor release.
What's Changed
- Add support for Python 3.12
- Add support for Python 3.13
- Remove support for Python 3.8
runtime
: raiseRuntimeError
withbundle_files<3
in Python 3.12+ (see #225)- Add support for MinGW by @raedrizqie in #214
New Contributors
- @raedrizqie made their first contribution in #214
Full Changelog: v0.13.0.2...v0.14.0.0
py2exe 0.13.0.2
This release includes several bug fixes.Thanks to all the people that contributed to it.
Changelog:
- Reintroduce ability to specify different version info for each of the frozen binaries. by @lukaszgo1 in #194
- Fix build with setuptools v70.0.0 by @lazka in #211
- fix a bug in MemoryModule.c:PerformBaseRelocation by @H4ckF0rFun in #210
- fix missing initialization settings for the frozen Python interpreter (#186)
- add runtime support for
setuptools
v72 - fix the
matplotlib
,numpy
, andscipy
hooks
New Contributors
- @lukaszgo1 made their first contribution in #194
- @lazka made their first contribution in #211
- @H4ckF0rFun made their first contribution in #210
Full Changelog: v0.13.0.1...v0.13.0.2
py2exe 0.13.0.1
This release includes several fixes and it will be the last one that supports the deprecated setup
API. Thanks to all the people that contributed to it.
Changelog:
- improved the hook for
pkg_resources
to detect its vendored content automatically (issue #175 raised by @Athanasius). - the
matplotlib
hook now does not excludewx
automatically (issue #169 raised by @infinity77). - README: fix external link to freeze API (issue #162 raised by @novski).
- adapted the hook for
matplotlib
to support their use ofdelvewheel
(PR #182 by @zobac). - adapted the hooks for
numpy
andpandas
to support the new.libs
location,
py2exe 0.13.0.0
This major release introduces support for Python 3.11 and drops support for Python 3.7, following the official Python support schedule. This release also removes the already deprecated command line interface of py2exe
(formerly accessible via build_exe
or -m py2exe
). In addition, this release deprecates win32
wheels, due to increasing difficulties in testing them properly (see #157 for further information).
Note: contrary to what was announced in 0.12.x, this release does not remove the setup.py py2exe
interface, but keeps it as deprecated, because not enough time has passed since the deprecation. Removal is still scheduled to happen before the release of Python 3.12 (when distutils
will be removed upstream).
Changelog:
- Add support for Python 3.11
- Drop support for Python 3.7
- Drop support for
win32
wheels:win32
wheels are still built and shipped but are provided untested. Issues experienced when using these wheels will not be investigated. See #157 for further information.
- Remove
build_exe
command line interface. Please use thepy2exe.freeze
API. - Migrated the frozen Python bootloader to the new
PyConfig
initialization API. _memimporter
: switch tosys.modules
dict to check for reimports instead of_PyImport_FindExtensionObject
runtime.LOAD_FROM_DIR: remove deprecated call to
imp.load_dynamic`
py2exe 0.12.0.2
Time for a patch release with a few minor fixes. Thanks to all the people that contributed to this release.
Changelog:
- Update
scipy
hook to support version 1.9.2 and above. freeze
: update docstrings and documentation (issue #152 raised by @Athanasius).
py2exe 0.12.0.1
Time for an immediate patch release, as the just deprecated setup.py
interface was immediately broken...
Changelog:
- builds set with the deprecated
setup.py
API were crashingruntime
since they do not contain or supportversion_info
(issue #151 raised by @Athanasius)
py2exe 0.12.0.0
This new major release introduces a new API to use py2exe
: the freeze
function. Further information about how to use this function can be found in its documentation. A migration guide from the existing interfaces is also available here.
In addition, this release marks the existing setup.py py2exe
and distutils.core.setup
interfaces as deprecated. This was necessary due to the upstream deprecation of distutils
and of the whole setup.py
CLI. Both these interfaces will be completely removed in the next major release of py2exe
. Further information about the rationale behind these changes can be found in #150 and #127. Special thanks to @Athanasius and @effigies for fruitful discussions during this migration.
As a result of this migration, some configuration options formerly available in setup
were formally discontinued. Please refer to the py2exe.freeze
documentation for a comprehensive list of all the supported options.
Changelog:
- Introduce the new
py2exe.freeze
API. Documentation can be found here. - Use of the
setup.py py2exe
command and ofdistutils
is deprecated Both these interfaces will be removed in the next major release. - Add two hooks to fix the bundling of
winrt
(issue #118 by @willf668) andpasslib
(issue #144 by @urishab).
py2exe 0.11.1.1
This patch release includes several minor fixes. Thanks to all the people that contributed to this release.
Changelog:
- The
Stderr.write
method used for logs ofwindows
apps now returns the number of written bytes, PR #134 by @manueljacob. - Change default path of the log file created for windows apps to
%APPDATA%
, issue #138 by @mharbison72. - Restore hook functionality for
pkg_resources
, issue #139 by @Athanasius. - Restore explicit
ImportError
message when a module is required but it is listed in theModuleFinder.excludes
list, mentioned in issue #132 by @mharbison72.
py2exe 0.11.1.0
Time for a new minor release. Package distribution metadata are now inserted in the bundle, to be fetched by importlib.metadata
or pkg_resources
. As usual, thanks to all the people that contributed to this release.
Changelog:
- Drop support for Python 3.6
- Include package metadata in the bundle archive (issue #126 by @Athanasius)
- Fixed a bug that prevented to use the
optimize
option whensix
was in the bundle (issue #120 by @MaxBQb) - Fixed a bug that ignored the
optimize
flag for some packages (issue #125 by @nchidsey) - Add
setup_requires
keyword in thepy2exe
setup scripts (issue #124 by @HeavyTony2) - Support building
py2exe
withsetuptools>=60
py2exe 0.11.0.1
This patch release includes a fix for issue #114, raised by @lukaszgo1.
Changelog: