1b6d77dd9b
- update to 6.16.0 * Fix behavior of --add-data and --add-binary when the given source path contains a glob that matches directories. * The Analysis() class now keeps track of pure-python modules that are not collected into PYZ archive * Add pre-safe-import-module hook for gi.overrides to properly handle cases where the gi.overrides package is split between /usr/lib64 and /usr/lib * Add Python 3.14 support. * Adjust the destination directory for collected python’s standard extensions, from lib-dynload to python3.x/lib-dynload * Rework the anonymization of the co_filename attribute in collected code objects * Rework the search for python shared library in order to reduce amount of guess-work and better accommodate variations in naming across platforms
Matej Cepl2025-11-18 18:26:45 +00:00
880a719649
Accepting request 1284638 from devel:languages:python
Ana Guerrero2025-06-11 14:25:53 +00:00
2bbb632967
- update to 6.13.0: * Extend analysis code so that when extension module is encountered, it checks for the presence of an adjacent .py or .pyi file, and if present, attempt to perform import analysis on such accompanying source/interface file. (:issue:9084) * Fix detection of setuptools-vendored modules (i.e., not packages) in the PyInstaller.utils.hooks.setuptools.SetuptoolsInfo hook utility class; for example, the setuptools/_vendor/typing_extensions.py module. (:issue:9102) * Add hook for PyQt6.QtStateMachine that was introduced in PyQt6 v6.8.1. (:issue:9019) * Fix ModuleNotFoundError for scipy when provided by Debian's python3-scipy package. (:issue:9069) * Update hook for PyGObject (gi) and associated helper code to support changes made in PyGObject v3.52 (switch from girepository-1.0 to girepository-2.0). (:issue:9055) * On POSIX systems other than macOS, use POSIX semaphore API instead of SysV semaphore API to synchronize onefile parent and child process. This restores the ability to compile bootloader under Termux, where sys/sem.h (and the SysV semaphore API) is unavailable due to deliberate lack of support for it in the underlying Android base. (:issue:9089) * Extend the :ref:module_collection_mode <package collection mode> setting from :issue:6945 to also apply to modules collected into base_library.zip archive. Implement discovery of source .py files for modules in base_library.zip at run- time. This allows collection and discovery of source .py
Dirk Mueller2025-04-28 16:41:34 +00:00
c3445c90a1
Accepting request 1228830 from devel:languages:python
Ana Guerrero2024-12-08 10:37:24 +00:00
eb7e3f814d
- Update to 6.11.1 * Add automatic binary vs. data file (re)classification step to the analysis process. * Add support for specifying hash randomization seed via hash_seed=<value> run-time option when building the application. * Allow spec files to take custom command line parameters. * Implement pass-through for Python’s X-options via PyInstaller’s run-time options mechanism. * The PyInstaller.utils.hooks.collect_all() hook utility function now attempts to translate the given importable package name into distribution name before attempting to collect metadata. * Removed support for building LSB-compliant bootloader, due to lack of support for LSB (Linux Standard Base) in contemporary linux distributions. * All of onedir build’s contents except for the executable are now moved into a sub-directory (called _internal by default). sys._MEIPASS is adjusted to point to this _internal directory. Assumptions that os.path.dirname(sys.executable) == sys._MEIPASS will break. * PyInstaller-frozen applications are not affected by the PYTHONUTF8 environment variable anymore. To permanently enable or disable the UTF8 mode, use the X utf8_mode=1 or X utf_mode=0 run-time option when building the application. * Remove bytecode encryption (--key and cipher options). * Allow users to re-enable the old onedir layout (without contents directory) by settings the --contents-directory option * If the argcomplete Python module is installed, PyInstaller will use it enable tab completion for its CLI tools. PyInstaller CLIs can still be used without this optional dependency. * Optimize the automatic binary-vs-data classification by avoiding objdump based check on files that do not have ELF signature. * Collect .hmac files accompanying shared libraries, if such files are
Matej Cepl2024-12-06 17:52:22 +00:00
d88c76fa9e
- Update to 4.7: - 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
Matej Cepl2021-11-18 15:32:17 +00:00