- Update to 5.4.1
* Many changes, see upstream changelog
* Issue an error report if a .spec file will not be generated, but
command-line options specific to that functionality are given
* The `PyInstaller.utils.hooks.get_module_attribute` function now
returns the actual attribute value instead of its string representation.
* The matplotlib.backends hook no longer collects all available matplotlib
backends, but rather tries to auto-detect the used backend(s) by default.
* Drop support for Python 3.6.
* Make the error handing of `~PyInstaller.utils.hooks.collect_submodules`
configurable.
* Detect if an icon file (.ico or .icns) is of another image type but has
been mislabelled as a native icon type via its file suffix then either
normalise to a genuinely native image type if pillow is installed or
raise an error.
* Implement a mechanism for controlling the collection mode of modules and
packages, with granularity ranging from top-level packages to individual
sub-modules.
* Add support for setuptools-provided distutils, available since
setuptools >= 60.0.
OBS-URL: https://build.opensuse.org/request/show/1007199
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=18
- Fix a bug since v4.6 where certain Unix system directories
were incorrectly assumed to exist and resulted in a
FileNotFoundError.
- Update sphinx hook for compatibility with latest version
(4.2.0).
- Replace use of PyRun_SimpleString with
PyRun_SimpleStringFlags.
- Add support for Python 3.10.
- Implement basic resource reader for accessing on-filesystem
resources (data files) via importlib.resources (python >=
3.9) or importlib_resources (python <= 3.8).
- Ship precompiled wheels for musl-based Linux distributions
(such as Alpine or OpenWRT) on x86_64 and aarch64.
- Fix sys.executable pointing to the external package file
instead of the executable when in package side-load mode
(pkg_append=False).
- Fix a runaway glob which caused
ctypes.util.find_library("libfoo") to non-deterministically
pick any library matching libfoo* to bundle instead of
libfoo.so.
- Fix compatibility with with MIPS and loongarch64
architectures.
- Fix the FrozenImporter.get_source() to correctly handle the
packages’ __init__.py source files. This in turn fixes
missing-source-file errors for packages that use pytorch JIT
when the source .py files are collected and available (for
example, kornia).
- Fix the location of the generated stand-alone pkg file when
using the side-load mode (pkg_append=False) in combination
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=17