2024.10 (2024-11-10) -------------------- New hooks ~~~~~~~~~ * Add hook for ``h3`` to collect its metadata (required with ``h3`` v4.0.0 and later). (`#825 `_) * Add hook for ``numbers_parser`` to ensure that package's data file is collected. (`#823 `_) * Add hook for ``sv_ttk`` to ensure that its resources (.tcl files and images) are collected. (`#826 `_) Updated hooks ~~~~~~~~~~~~~ * Update ``falcon`` hook for compatibility with ``falcon`` v4.0.0. (`#820 `_) * Update ``tensorflow`` hook to automatically raise recursion limit to 5000 (if not already set to a higher value) in order to avoid recursion limit errors in certain import chains (dependent on build environment and other packages installed in it). (`#825 `_) 2024.9 (2024-10-15) ------------------- New hooks ~~~~~~~~~ * Add a hook for comtypes to ensure compatibility with comtypes >= 1.4.5. (`#807 `_) * Add analysis hook for ``slixmpp`` library (`#784 `_) * Add hook for ``capstone`` package. (`#787 `_) * Add hook for ``grapheme`` to collect its data files. (`#793 `_) * Add hook for ``onnxruntime`` to ensure that provider plugins are collected. (`#817 `_) * Add hook for ``saml2`` package which has XSD files and hidden imports. (`#798 `_) * Add hook for ``setuptools_scm`` that collects metadata of ``setuptools`` dist in order to avoid run-time warning about unknown/incompatible ``setuptools`` version. (`#805 `_) * Add hook for ``ultralytics`` package. (`#786 `_) * Add hook for ``xmlschema`` package which has XSD files. (`#797 `_) * Add hook for ``yapf_third_party`` (part of ``yapf``) to collect its data files. (`#792 `_) * Add hooks for ``toga`` widget toolkit and its backends. (`#804 `_) * Add run-time hook for ``findlibs`` that overrides the ``findlibs.find`` function with custom implementation in order to ensure that the top-level application directory is searched first. This prevents a system-wide copy of the library being found and loaded instead of the bundled copy when the system-wide copy happens to be available in one of fixed locations that is scanned by the original implementation of ``findlibs.find`` (for example, Homebrew directory on macOS). (`#799 `_) Updated hooks ~~~~~~~~~~~~~ * (Linux) Update ``tensorflow`` hook to suppress creation of symbolic links to the top-level application directory for the following shared libraries discovered during binary dependency analysis: ``libtensorflow_cc.so.2``, ``libtensorflow_framework.so.2``, and ``_pywrap_tensorflow_internal.so``. This fixes run-time discovery of CUDA shared libraries from ``nvidia.cu*`` packages. This fix requires PyInstaller >= 6.11 to work, and is no-op in earlier PyInstaller versions. (`#786 `_) * (Linux) Update hooks for ``nvidia.cu*`` packages to suppress creation of symbolic links to the top-level application directory for all shared libraries collected from the packages. This fixes run-time discovery of other shared libraries from those packages, which are dynamically loaded at run-time (as opposed to being linked against). Specifically, this fixes the ``Unable to load any of {libcudnn_engines_precompiled.so.9.1.0, libcudnn_engines_precompiled.so.9.1, libcudnn_engines_precompiled.so.9, libcudnn_engines_precompiled.so}`` and subsequent ``RuntimeError: CUDNN_BACKEND_TENSOR_DESCRIPTOR cudnnFinalize failed cudnn_status: CUDNN_STATUS_NOT_INITIALIZED`` when trying to use ``ultralytics`` package. This fix requires PyInstaller >= 6.11 to work, and is no-op in earlier PyInstaller versions. (`#786 `_) * Update ``av`` hook for compatibility with ``av`` v13.0.0. (`#794 `_) * Update ``av`` hook for compatibility with ``av`` v13.1.0. (`#814 `_) * Update ``gribapi`` hook for compatibility with ``eccodes`` v2.37.0, to account for possibility of bundles ``eccodes`` shared library, which is provided by newly-introduced binary wheels for Linux and macOS 13+. (`#799 `_) * Update ``pydicom`` hook for compatibility with ``pydicom`` v.3.0.0. (`#796 `_) * Update ``xarray`` hook to collect ``xarray.chunkmanagers`` entry-points. (`#800 `_) 2024.8 (2024-08-09) ------------------- New hooks ~~~~~~~~~ * Add a hook for ``cmocean``, which has text data files. (`#769 `_) * Add a hook for ``pydicom``, which has hidden imports. (`#776 `_) * Add a hook for ``tzwhere``, which has data files. (`#772 `_) * Add hook for ``monai`` to collect its source .py files for TorchScript/JIT. (`#778 `_) * Add hooks for ``itk`` to work around the package's requirements about the ``itk/Configuration`` directory. (`#778 `_) * Added hooks for the ``trame`` suite of libraries, which has data files and hidden imports. (`#775 `_) Updated hooks ~~~~~~~~~~~~~ * Rework the OpenSSL version check in ``cryptography`` hook to fix compatibility with ``cryptography`` 43.0.0. (`#768 `_) * Update ``hydra`` hook to include work-around for ``hydra``'s plugin manager, which under python < 3.10 (still) uses deprecated PEP-302 that was removed from PyInstaller's ``PyiFrozenImporter`` in PyInstaller 5.8. When building using python < 3.10 and PyInstaller >= 5.8, the modules collected from ``hydra._internal.core_plugins`` and ``hydra_plugins`` packages are now collected as source .py files only; this way, they are handled by built-in python's finder/importer instead of PyInstaller's ``PyiFrozenImporter``. (`#760 `_) * Update ``imageio_ffmpeg`` hook for compatibility with ``imageio-ffmpeg`` 0.5.0 and later. (`#766 `_) * Update ``pyexcel_ods`` hook to add missing hidden import and add tests. (`#779 `_) Project & Process ~~~~~~~~~~~~~~~~~ * Released sdists and tagged GitHub source archives contain the changelog entries for their current release. (`#761 `_) 2024.7 (2024-06-08) ------------------- New hooks ~~~~~~~~~ * Add hook for ``dbus_fast`` in order to collect submodules that are imported from cythonized extensions. (`#600 `_) * Add hook for ``gribapi`` package from ``eccodes`` dist, in order to collect bundled headers and ensure that the eccodes shared library is collected from the build environment. (`#744 `_) * Add hook for ``patoolib`` to collect dynamically-imported modules from the ``patoolib.programs`` sub-package. (`#748 `_) Updated hooks ~~~~~~~~~~~~~ * Extend the ``xarray`` hook to collect additional backend plugins that are registered via the ``xarray.backends`` entry-point (e.g., ``cfgrib``). (`#744 `_) 2024.6 (2024-05-10) ------------------- New hooks ~~~~~~~~~ * Add hook for ``schwifty``. Requires ``schwifty >= 2024.5.1`` due to issues with data search path in earlier versions. (`#742 `_) 2024.5 (2024-04-23) ------------------- New hooks ~~~~~~~~~ * Add hook for ``backports`` package, to accommodate the ``pkgutil``-style ``backports`` namespace package provided by ``backports.functools-lru-cache`` and the latest release of ``backports.tarfile``. (`#735 `_) * Add hook for ``opentelemetry`` that collects all entry-points with ``opentelemetry_`` prefix. (`#725 `_) * Add hook for ``skimage.metrics`` to account for lazy loading of the ``skimage.metrics`` that was introduced in ``scikit-image`` 0.23.0. (`#723 `_) * Add hook for ``xarray``, which ensures that metadata for ``numpy`` (required by ``xarray``) is collected. (`#728 `_) Updated hooks ~~~~~~~~~~~~~ * (Windows) Update ``pyproj`` hook to explicitly collect DLLs and load-order file (if present) from ``pyproj.libs`` directory. This fixes ``DLL load failed while importing _network`` error when using Anaconda python 3.8 or 3.9, where ``delvewheel`` (used by ``pyproj``) needs to load DLLs via load-order file due to defunct ``os.add_dll_directory`` function. (`#726 `_) * Extend ``cryptography`` hook to collect OpenSSL modules (the ``ossl-modules`` directory) when available. Add a run-time hook that overrides OpenSSL module search path by setting the ``OPENSSL_MODULES`` environment variable to the bundled ``ossl-modules`` directory. This fixes ``RuntimeError: OpenSSL 3.0's legacy provider failed to load.`` error when using ``cryptography`` with OpenSSL >= 3.0 builds that have modules enabled (e.g., most Linux distributions, msys/MinGW on Windows, and Homebrew on macOS). (`#724 `_) * Suppress errors in ``gcloud`` hook that occur when the hook is triggered by the ``gcloud`` namespace package from ``gcloud-aio-*`` and ``gcloud-rest-*`` dists instead of the ``gcloud`` package from the ``gcloud`` dist. (`#731 `_) * Update hook for ``tables`` (PyTables) to collect bundled blosc2 shared library, if available. On Windows, explicitly collect DLLs and load-order file (if present) from ``tables.libs`` directory. (`#732 `_) 2024.4 (2024-04-13) ------------------- New hooks ~~~~~~~~~ * Add a hook for ``python-pptx``, including required template files. (`#719 `_) * Add hook for ``cloudpickle`` to ensure that ``cloudpickle.cloudpickle_fast`` is collected when using ``cloudpickle`` v3.0.0 or later. (`#716 `_) * Add hook for ``hexbytes`` that collects package's metadata (required starting with ``hexbytes`` v.1.1.0). (`#714 `_) Updated hooks ~~~~~~~~~~~~~ * (Windows) Update ``netCDF4`` hook to explicitly collect DLLs and load-order file (if present) from ``netCDF4.libs`` directory. This fixes ``DLL load failed while importing _netCDF4`` error when using Anaconda python 3.8 or 3.9, where ``delvewheel`` (used by ``netCDF4``) needs to load DLLs via load-order file due to defunct ``os.add_dll_directory`` function. (`#722 `_) * Update ``adbutils`` hooks for compatibility with ``adbutils`` v2.2.2 and later. (`#717 `_) * Update ``numba`` hook to ensure that ``numba.cloudpickle.cloudpickle_fast`` is collected when using ``numba`` v0.59.0 or later. (`#716 `_) * Update ``tensorflow`` hooks for compatibility with ``tensorflow`` v2.16.0. (`#714 `_) 2024.3 (2024-03-09) ------------------- Updated hooks ~~~~~~~~~~~~~ * Update ``torch`` hook to add support for MKL-enabled ``torch`` builds on Windows (e.g., the nightly ``2.3.0.dev20240308+cpu`` build). The hook now attempts to discover and collect DLLs from MKL and its dependencies (``mkl``, ``tbb``, ``intel-openmp``). (`#712 `_) 2024.2 (2024-02-29) ------------------- New hooks ~~~~~~~~~ * Add a hook for ``iso639-lang``, to collect data files (`#707 `_) * Add hook for ``falcon``, which has hidden imports. (`#703 `_) Updated hooks ~~~~~~~~~~~~~ * Update ``pyqtgraph`` hook to use the helper for automatic Qt bindings selection and exclusion from PyInstaller >= 6.5 (no-op with earlier versions). This should help preventing multiple Qt bindings from being collected into frozen application. (`#710 `_) * Update the exclude list for GUI frameworks in the ``IPython`` hook with additional contemporary Qt bindings (``PySide2``, ``PySide6``, and ``PyQt6``). (`#708 `_) 2024.1 (2024-02-10) ------------------- Updated hooks ~~~~~~~~~~~~~ * Fix hook for ``osgeo``, to include proj data files. (`#693 `_) * Update the hook for ``sklearn.neighbors`` to account for removed hidden import ``neighbors._typedef`` (`#698 `_) 2024.0 (2024-01-18) ------------------- New hooks ~~~~~~~~~ * Add hook for ``cel-python``. (`#687 `_) * Add hook for ``eth_keys`` that collects package metadata for ``eth-keys >= 0.5.0``. (`#688 `_) * Add hook for ``fairscale`` to collect its source .py files for TorchScript/JIT. (`#692 `_) * Add hook for ``pygwalker`` that collects data files from the package. (`#690 `_) * Add hook for ``PyTaskbar`` (`#684 `_) Updated hooks ~~~~~~~~~~~~~ * Collect package metadata for ``eth-hash`` (fixes ``PackageNotFoundError``). (`#688 `_) * Update ``pypylon`` hook for compatibility with PyInstaller 6.0 and later. (`#691 `_) 2023.12 (2024-01-03) -------------------- New hooks ~~~~~~~~~ * Add hook for ``detectron2`` to collect its source .py files for TorchScript/JIT. (`#676 `_) * Add hook for ``fastai`` to collect its source .py files for TorchScript/JIT. (`#676 `_) * Add hook for ``fvcore.nn`` to collect its source .py files for TorchScript/JIT. (`#676 `_) * Add hook for ``langchain`` that collects data files from the package. (`#681 `_) * Add hook for ``lightning`` (PyTorch Lightning) to ensure that its ``version.info`` data file is collected. (`#676 `_) * Add hook for ``linear_operator`` to collect its source .py files for TorchScript/JIT. (`#676 `_) * Add hook for ``seedir`` that collects the ``words.txt`` data file from the package. (`#681 `_) * Add hook for ``timm`` (Hugging Face PyTorch Image Models) to collect its source .py files for TorchScript/JIT. (`#676 `_) * Add hook for ``torchaudio`` that collects dynamically-loaded extensions, as well as source .py files for TorchScript/JIT. (`#676 `_) * Add hook for ``torchtext`` that collects dynamically-loaded extensions, as well as source .py files for TorchScript/JIT. (`#676 `_) * Add hook for ``torchvision.io.image`` to ensure that dynamically-loaded extension, required by this module, is collected. (`#676 `_) * Add hook for ``VADER``. (`#679 `_) * Add hook for Hugging Face ``datasets`` to collect its source .py files for TorchScript/JIT. (`#676 `_) * Add hook for Hugging Face ``transformers``. The hook attempts to automatically collect the metadata of all dependencies (as declared in `deps` dictionary in the `transformers.dependency_versions_table` module), in order to make dependencies available at build time visible to ``transformers`` at run time. The hook also collects source .py files as some of the package's functionality uses TorchScript/JIT. (`#676 `_) * Add hooks for ``bitsandbytes``, and its dependency ``triton``. Both packages have dynamically-loaded extension libraries that need to be collected, and both require collection of source .py files for (``triton``'s) JIT module. Some submodules of ``triton`` need to be collected only as source .py files (bypassing PYZ archive), because the code naively assumes that ``__file__`` attribute points to the source .py file. (`#676 `_) * Add hooks for ``nvidia.*`` packages, which provide a way of installing CUDA via PyPI wheels (e.g., ``nvidia-cuda-runtime-cu12``). (`#676 `_) Updated hooks ~~~~~~~~~~~~~ * (Linux) Extend ``tensorflow`` hook to automatically collect CUDA libraries distributed via ``nvidia-*`` packages (such as ``nvidia-cuda-runtime-cu12``) if they are specified among the requirements in the ``tensorflow`` distribution's metadata. (`#676 `_) * (Linux) Extend ``torch`` hook to automatically collect CUDA libraries distributed via ``nvidia-*`` packages (such as ``nvidia-cuda-runtime-cu12``) if they are specified among the requirements in the ``torch`` distribution's metadata. (`#676 `_) * (Linux) Remove the ``tensorflow.python._pywrap_tensorflow_internal`` hack in the ``tensorflow`` hook (i.e., adding it to excluded modules to avoid duplication) when using PyInstaller >= 6.0, where the duplication issue is alleviated thanks to the binary dependency analysis preserving the parent directory layout of discovered/collected shared libraries. This should fix the problem with ``tensorflow`` builds where the ``_pywrap_tensorflow_internal`` module is not used as a shared library, as seen in ``tensorflow`` builds for Raspberry Pi. (`#676 `_) * (Linux) Update ``torch`` hook to explicitly collect versioned .so files in the new PyInstaller >= 6.0 codepath. (`#676 `_) * Extend ``tensorflow`` hook to collect plugins installed in the ``tensorflow-plugins`` directory/package. Have the run-time ``tensorflow`` hook provide an override for ``site.getsitepackages()`` that allows us to work around a broken module file location check and trick ``tensorflow`` into loading the collected plugins. (`#676 `_) * Update ``tensorflow`` hook to attempt to resolve the top-level distribution name and infer the package version from it, in order to improve version handling when the "top-level" ``tensorflow`` dist is not installed (for example, user installs only ``tensorflow-intel`` or ``tensorflow-macos``) or has a different name (e.g., ``tf-nightly``). (`#676 `_) * Update ``tensorflow`` hook to collect source .py files for ``tensorflow.python.autograph`` in order to silence a run-time warning about AutoGraph not being available. (`#676 `_) * Update ``torchvision`` hook to collect source .py files for TorchScript/JIT (requires PyInstaller >= 5.3 to take effect). (`#676 `_) * Update hook for ``skimage.feature`` to collect the ``orb_descriptor_positions.txt`` data file, which is required by the ``skimage.feature.ORB`` class. (`#675 `_) Removed hooks ~~~~~~~~~~~~~ * Remove hook for ``google.api``, which erroneously assumes that presence of the ``google.api`` namespace package implies availability of the ``google-api-core`` dist. (`#682 `_) 2023.11 (2023-12-20) -------------------- New hooks ~~~~~~~~~ * Add a hook for ``freetype`` that collects the shared library that is bundled with ``freetype-py`` PyPI wheels. (`#674 `_) * Add a hook for ``z3c.rml`` that collects the required subset of Bitstream Vera TTF fonts from the ``reportlab`` package. (`#674 `_) * Add hook for ``eth_rlp``. (`#672 `_) * Add hook for ``eth_typing`` which requires its package metadata. (`#656 `_) * Add hook for ``eth_utils`` to collect its embedded JSON files. (`#656 `_) * Add hook for ``rlp``. (`#672 `_) * Add hook for ``sspilib`` that collects submodules of ``sspilib.raw``, most of which are cythonized extensions. (`#669 `_) Updated hooks ~~~~~~~~~~~~~ * Modernize the hook for ``torch`` and reduce the amount of unnecessarily collected data files (header files and static libraries). Requires PyInstaller >= 6.0. (`#666 `_) * Update ```pyarrow``` hook to collect all of the package's submodules. (`#662 `_) * Update ``rtree`` hook for compatibility with ``Rtree >= 1.1.0``. (`#657 `_) * Update ``sudachipy`` hook for ``sudachipy`` 0.6.8. (`#673 `_) 2023.10 (2023-10-13) -------------------- New hooks ~~~~~~~~~ * Add hook for ``gmsh``. (`#650 `_) Updated hooks ~~~~~~~~~~~~~ * If ``nltk_data`` can be found both in the frozen program and under the default location specified by ``NLTK``, the former should be preferred to the latter. (`#646 `_) * Update ``skimage`` hooks for compatibility with ``scikit-image`` 0.22.0. (`#652 `_) * Update ``tensorflow`` hook for compatibility with ``tensorflow`` 2.14.0. (`#647 `_) 2023.9 (2023-09-26) ------------------- New hooks ~~~~~~~~~ * Add hook for ``LaoNLP``. (`#644 `_) * Add hook for ``PyThaiNLP``. (`#644 `_) 2023.8 (2023-08-29) ------------------- New hooks ~~~~~~~~~ * Add hook for ``eng_to_ipa``. (`#631 `_) * Add hook for ``jieba``. (`#628 `_) * Add hook for ``khmer-nltk``. (`#633 `_) * Add hook for ``Lingua``. (`#626 `_) * Add hook for ``opencc-python``. (`#627 `_) * Add hook for ``pymorphy3``. (`#634 `_) * Add hook for ``python-crfsuite``. (`#633 `_) * Add hook for ``python-mecab-ko``. (`#632 `_) * Add hook for ``simplemma``. (`#629 `_) * Add hook for ``SudachiPy``. (`#635 `_) * Add hook for ``wordcloud``. (`#630 `_) Updated hooks ~~~~~~~~~~~~~ * Fix an issue with enchant 2 using a different directory (in MacPorts) (`#636 `_) 2023.7 (2023-08-18) ------------------- New hooks ~~~~~~~~~ * Add a hook for ``psutil``, which has platform-dependent exclude list. (`#623 `_) * Add hook for CtkMessagebox. (`#619 `_) * Add hook for Litestar (`#625 `_) Updated hooks ~~~~~~~~~~~~~ * Update ``graphql_query`` hook for compatibility with ``graphql-query`` v1.2.0. (`#621 `_) 2023.6 (2023-07-20) ------------------- New hooks ~~~~~~~~~ * Add hook for ``ens`` package, required by ``web3`` v6.6.0 and later. (`#617 `_) * Add hook for ``jsonschema_specifications`` to collect the data files that ``jsonschema`` v4.18.0 moved into a separate package. (`#614 `_) 2023.5 (2023-07-05) ------------------- New hooks ~~~~~~~~~ * Add a hook for astropy-iers-data, which includes data. (`#608 `_) * Add a hook for skyfield, which includes data. (`#607 `_) Updated hooks ~~~~~~~~~~~~~ * Update ``pydantic`` hook for compatibility with ``pydantic`` v2.0.0. (`#611 `_) 2023.4 (2023-06-27) ------------------- New hooks ~~~~~~~~~ * Add hook for ``customtkinter`` (`#542 `_) * Add hook for ``fastparquet``. (`#583 `_) * Add hook for ``librosa``. (`#582 `_) * Add hook for ``mistune`` that collects plugin modules, which are indirectly loaded starting with ``mistune`` v3.0.0. (`#605 `_) * Add hook for ``sympy`` that automatically raises recursion limit to 5000 if ``sympy`` >= 1.12 is detected. (`#587 `_) * Add hook for ``xyzservices``. (`#590 `_) * Add hook for pylibmagic (`#581 `_) Updated hooks ~~~~~~~~~~~~~ * Turn the hook for ``google.cloud`` into hook for ``google.cloud.core`` by renaming it. This hook is trying to collect metadata for ``google-cloud-core``, whereas ``google.cloud`` is a namespace package that can be populated by other dists as well. Specifically, ``googleapis-common-protos`` puts some files there, and when ``google-cloud-core`` is not installed, the mis-named hook triggered a missing-metadata error. (`#605 `_) * Update ``cairocffi`` hook for compatibility with ``cairocffi`` v1.6.0. (`#599 `_) * Update ``netCDF4`` hook for compatibility with ``netCDF4`` v1.6.4. (`#599 `_) * Update ``scikit-image`` hooks for compatibility with version 0.21.0. (`#594 `_) * Update hook for ``bokeh`` to collect metadata for ``bokeh`` >= 3.0.0. (`#588 `_) * Update hook for ``googleapiclient.model``, fixing missing discovery docs and improving test. (`#596 `_) 2023.3 (2023-05-11) ------------------- New hooks ~~~~~~~~~ * Add hook for ``graphql_query`` (`#579 `_) * Add hook for ``pylsl`` (`#573 `_) Updated hooks ~~~~~~~~~~~~~ * Remove no longer needed ``py`` hidden imports for ``pyshark >= 0.6``. (`#575 `_) * Update ``pydantic`` hook hidden imports to include the optional dependency ``email_validator``. (`#576 `_) 2023.2 (2023-04-07) ------------------- New hooks ~~~~~~~~~ * Add hooks for ``moviepy.audio.fx.all`` and ``moviepy.video.fx.all`` that collect all corresponding submodules, so that importing ``moviepy.editor`` from MoviePy works out-of-the-box in the frozen application. (`#559 `_) Updated hooks ~~~~~~~~~~~~~ * Add automatic increase of recursion limit in the ``torch`` hook to ensure that recursion limit is at least 5000 if ``torch`` 2.0.0 or later is detected. (`#570 `_) * Extend ``cv2`` hook with support for OpenCV built manually from source and for OpenCV installed using the official Windows installer. This support requires PyInstaller >= 5.3 to work properly. (`#557 `_) * Update ``scikit-image`` hooks for compatibility with the 0.19.x series; account for lazy module loading in ``skimage.filters``. (`#565 `_) * Update ``scikit-image`` hooks for compatibility with the 0.20.x series; account for switch to ``lazy_module`` in ``skimage.data`` and ``skimage.filters`` as well as in main package. Collect new data files that are now required by ``skimage.morphology``. (`#565 `_) * Update the hook for ``tensorflow`` to be compatible with TensorFlow 2.12. (`#564 `_) 2023.1 (2023-03-16) ------------------- Updated hooks ~~~~~~~~~~~~~ * Add work-around for ``ffpyplayer`` 4.3.5 and 4.4.0 trying to use ``site.USER_BASE``, which is ``None`` in PyInstaller 5.5 and later due to removal of PyInstaller's fake ``site`` module. (`#545 `_) * Add work-around for ``tensorflow`` < 2.3.0 trying to use ``site.USER_SITE``, which is ``None`` in PyInstaller 5.5 and later due to removal of PyInstaller's fake ``site`` module. (`#546 `_) * Prevent ``pyqtgraph`` hook from recursing into ``pyqgraph.examples`` while scanning for submodules. (`#551 `_) * Update ``sklearn`` hooks for compatibility with ``scikit-learn`` 1.2.0 and 1.2.1. (`#547 `_) Removed hooks ~~~~~~~~~~~~~ * Delete hook for ``yt_dlp`` which fixed the offending hidden import upstream in ``yt_dlp>=2022.07.18``. (`#556 `_) 2023.0 (2023-02-13) ------------------- New hooks ~~~~~~~~~ * Add hook for ``minecraft-launcher-lib`` (`#536 `_) * Add hook for ``nbt`` (`#537 `_) Updated hooks ~~~~~~~~~~~~~ * Have ``fiona`` hook collect the package's data files (e.g., the projections database). (`#541 `_) * Update ``fiona`` hook for compatibility with ``fiona`` 1.9.0. (`#541 `_) 2022.15 (2023-01-15) -------------------- New hooks ~~~~~~~~~ * Add a hook for `easyocr `_, which imports recognition backends via ``imporlib.import_module()`` and has a number of datafiles for different languages. Users can set which languages to include datafiles for with a hook option. (`#530 `_) * Add hook for ``charset-normalizer`` to fix ``ModuleNotFoundError: No module named 'charset_normalizer.md__mypyc'``. (`#534 `_) Updated hooks ~~~~~~~~~~~~~ * Update ``shapely`` hook for compatibility with ``shapely >= 2.0.0``. (`#527 `_) Project & Process ~~~~~~~~~~~~~~~~~ * Added `hooks-config.rst` document which documents hook options. It is referred to from README.md. (`#530 `_) 2022.14 (2022-12-04) -------------------- New hooks ~~~~~~~~~ * Add hook for ``cf_units``. (`#521 `_) * Add hook for ``cftime``. (`#521 `_) * Add hook for ``compliance_checker``. (`#521 `_) Updated hooks ~~~~~~~~~~~~~ * Update ``netCDF4`` hook for compatibility with v1.4.0 and later, where ``netcdftime`` has been renamed to ``cftime``. (`#521 `_) * Update ``pydantic`` hook to include ``dotenv`` optional dependency. (`#524 `_) 2022.13 (2022-11-08) -------------------- Updated hooks ~~~~~~~~~~~~~ * Update ``pyproj`` hook for compatibility with ``pyproj`` v3.4.0. (`#505 `_) 2022.12 (2022-11-05) --------------------- New hooks ~~~~~~~~~ * Add hook for ``discid``. (`#506 `_) * Add hook for ``exchangelib``. (`#508 `_) 2022.11 (2022-10-27) --------------------- New hooks ~~~~~~~~~ * Add a hook for ``spiceypy``, which has binary files. (`#482 `_) * Added a hook for ``ldfparser``. (`#483 `_) Updated hooks ~~~~~~~~~~~~~ * Extend the ``sounddevice`` and ``soundfile`` hooks to collect system-installed shared libraries in cases when the libraries are not bundled with the package (i.e., linux PyPI wheels, Anaconda on all OSes). (`#487 `_) * Fix a ``TypeError`` raised by the ``clr`` hook when ``pythonnet`` dist lacks the file list metadata. (`#486 `_) * Have ``clr`` hook check for availability of the ``pythonnet`` before trying to query its metadata. Fixes an ``importlib.metadata.PackageNotFoundError`` raised by the ``clr`` hook when the hook is triggered by a module or a package named ``clr`` other than the ``clr`` extension module from ``pythonnet``. (`#486 `_) * Have the ``pyqtgraph`` hook collect the colormap files and their license files from the package. (`#501 `_) * Implement preliminary support for handling subprocesses used by ``pyqtgraph.multiprocess``, for example in ``pyqtgraph`` ``RemoteGraphicsView`` widget. The user is still required to ensure that stdlib's ``multiprocessing.freeze_support`` is called in the entry-point script before using ``pyqtgraph``. In addition, with ``onefile`` builds, the user must set the ``_MEIPASS2`` environment variable to the value of ``sys._MEIPASS`` before using ``pyqtgraph``. (`#501 `_) * In ``clr`` hook for ``pythonnet`` collect the ``Python.Runtime.dll`` as a data file on non-Windows OSes to prevent errors during binary dependency analysis. (`#500 `_) 2022.10 (2022-08-31) --------------------- New hooks ~~~~~~~~~ * Add geopandas data files for ``geopandas==0.10.2``. (`#400 `_) 2022.9 (2022-08-26) -------------------- New hooks ~~~~~~~~~ * Add hook for Hydra config system (``hydra-core``). (`#424 `_) Updated hooks ~~~~~~~~~~~~~ * Fixed ``pyqtgraph`` hook for PyInstaller 5.2. (`#465 `_) * Update ``cv2`` hook to add support for versions that attempt to perform module substitution via ``sys.path`` manipulation (== 4.5.4.58, >= 4.6.0.66) when used in combination with PyInstaller that supports setting module collection mode in hooks (> 5.2). The contents of the ``cv2`` package are now collected in source form to bypass PYZ archive and avoid compatibility issues with PyInstaller's ``FrozenImporter`` (`#468 `_) * Update ``pyshark`` hook to be compatible with versions ``>=0.5.2``. (`#477 `_) * Update ``pywintypes`` and ``pythoncom`` hooks for compatibility with upcoming changes in PyInstaller's attempt at preserving DLL parent directory structure. (`#474 `_) * Update ``tensorflow`` hook to opt-out of generating warnings for missing hidden imports, using hook variable introduced in PyInstaller >= 5.2. On earlier releases, this is no-op. (`#458 `_) 2022.8 (2022-07-08) -------------------- New hooks ~~~~~~~~~ * Add hook for ``great_expectations``. (`#445 `_) * Add hook for ``hdf5plugin``. (`#461 `_) * Add hook for ``pandas_flavor`` to handle hidden imports in version 0.3.0 of the package. (`#455 `_) * Add hook for ``pyshark``. (`#449 `_) Updated hooks ~~~~~~~~~~~~~ * (Linux) Ensure that OpenCV hook collects Qt plugins and font files that are bundled with linux versions of ``opencv-python`` PyPI wheels. (`#453 `_) * Fix ``tensorflow`` not being collected at all when using ``tensorflow`` 2.8.0 or newer and importing only from the ``tensorflow.keras`` subpackage. (`#451 `_) * Update ``clr`` (``pythonnet-2.5.x``) hook to ensure ``platform`` and ``warnings`` modules are collected via hidden imports. Starting with PyInstaller 5.1, these may not be collected as part of optional imports of other modules, so they need to be explicitly collected by this hook. (`#444 `_) * Update ``mariadb`` hook for compatibility with 1.1.x series. (`#463 `_) * Update ``scikit-learn`` hooks for compatibility with 1.0.x and 1.1.x series. (`#456 `_) 2022.7 (2022-06-07) -------------------- New hooks ~~~~~~~~~ * Add a hook for ``limits``, which has a data files to collect. (`#442 `_) * Add hook for ``yt_dlp`` to handle indirect import in ``yt-dlp v2022.05.18``. (`#438 `_) * Add libraries for ``pypemicro==0.1.9`` (`#417 `_) Updated hooks ~~~~~~~~~~~~~ * Update ``weasyprint`` hook with required binaries. (`#439 `_) 2022.6 (2022-05-26) -------------------- Updated hooks ~~~~~~~~~~~~~ * Fix the filter function used with ``collect_submodules`` in the ``pylint`` hook to properly exclude ``pylint.testutils``. (`#435 `_) * Update ``sounddevice`` and ``soundfile`` hooks for PyInstaller 5.1 compatibility. (`#432 `_) 2022.5 (2022-05-16) -------------------- New hooks ~~~~~~~~~ * Add a hook for ``numcodecs``, which has a hidden import. (`#420 `_) * Add hook for ``grpc`` roots.pem file which is used by grpc. (`#419 `_) * Add hook for ``python-stdnum``. (`#412 `_) Updated hooks ~~~~~~~~~~~~~ * Update ``mariadb`` hook to always include the ``decimal`` module as a hidden import, instead of implicitly relying on it being picked up due to import in some other, unrelated module. (`#426 `_) 2022.4 (2022-04-17) -------------------- New hooks ~~~~~~~~~ * Add a hook for ``clr_loader`` (used by upcoming ``pythonnet`` 3.x) that collects the DLLs required by the default runtime (.NET Framework) loader on Windows. (`#406 `_) * Add a hook for ``lark`` (used by ``commentjson`` and others) that loads the needed grammar files. (`#409 `_) * Add fiona hidden imports for ``fiona==1.8.21``. (`#399 `_) Updated hooks ~~~~~~~~~~~~~ * Update the ``av`` hook for compatibility with the new DLL directory layout used by Windows PyPI wheels from version 9.1.1 on. (`#408 `_) 2022.3 (2022-03-24) -------------------- New hooks ~~~~~~~~~ * Add a hook for ``altair``, which has data files. (`#387 `_) * Add a hook for ``cassandra``, which has Cython files. (`#391 `_) * Add a hook for ``fabric``, which has data files. (`#390 `_) * Add a hook for ``gitlab``, which has data files. (`#392 `_) Updated hooks ~~~~~~~~~~~~~ * Update ``shapely`` hooks with compatibility fixes for version 1.8.1, where PyPI wheels have changed the shipped ``libgeos_c`` shared library location and/or name. (`#394 `_) * Update `imageio` hooks to include the lazily-loaded `plugins` submodule. (`#396 `_) 2022.2 (2022-02-15) ------------------- Updated hooks ~~~~~~~~~~~~~ * Fix hook for ``azurerm`` when ``pyinstaller >= 4.4"``. (`#283 `_) * Fix hook for astropy when astropy >= 5.0. (`#381 `_) 2022.1 (2022-02-10) ------------------- New hooks ~~~~~~~~~ * Add a hook for ``py`` which has dynamically loaded vendored submodules. This fixes compatibility with ``pytest >= 7.0.0``. (`#376 `_) * Added a hook for ``orjson``, which has hidden imports. (`#378 `_) 2022.0 (2022-01-24) ------------------- New hooks ~~~~~~~~~ * Add a hook for ``pypsexec``, which has a data files. (`#366 `_) Updated hooks ~~~~~~~~~~~~~ * Update ``tensorflow`` hook to add support for ``tensorflow`` 2.6.x and later. (`#371 `_) Test-suite and Continuous Integration ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Add a test for ``mimesis`` hook. (`#367 `_) 2021.5 (2022-01-07) ------------------- New hooks ~~~~~~~~~ * Add a hook for ``mimesis``, which has a data files. (`#365 `_) Updated hooks ~~~~~~~~~~~~~ * Add a runtime hook for ``pygraphviz`` that modifies the search behavior for ``graphviz`` programs, in order to ensure that the collected programs in ``sys._MEIPASS`` are found and used. (`#357 `_) 2021.4 (2021-11-29) ------------------- New hooks ~~~~~~~~~ * Add a hook for ``adbutils`` to collect dynamic libraries. (`#323 `_) * Add a hook for ``branca`` to collect data files. (`#318 `_) * Add a hook for ``dash`` to collect data files required by the new ``dash`` v2.0. (`#314 `_) * Add a hook for ``doc2xpdf`` to collect qss data files. (`#310 `_) * Add a hook for ``ffpyplayer``. (`#348 `_) * Add a hook for ``pyppeteer``. (`#329 `_) * Add a hook for ``pyvjoy`` to collect dynamic libraries. (`#321 `_) * Add a hook for ``qtmodern`` to collect qss data files. (`#305 `_) * Add a hook for ``tableauhyperapi`` to collect dynamic libraries. (`#316 `_) * Add a hook for ``websockets`` which lazily loads its submodules. (`#301 `_) * Add hook for ``folium``. (`#62 `_) * Add hook for ``metpy``. (`#60 `_) * Add hook for ``panel``. (`#338 `_) * Add hook for ``platformdirs``. This in turn fixes compatibility with ``pylint >= 2.10.2``. (`#301 `_) * Add hook for ``pymediainfo``. (`#324 `_) * Add hook for ``pyviz_comms``. (`#338 `_) * Add hook for ``sacremoses``. (`#325 `_) * Add hook for ``tzdata``. (`#339 `_) * Add hooks for ``cairocffi`` and ``CairoSVG``. (`#347 `_) * Add hooks for ``pyphen`` and ``kaleido``. (`#345 `_) * Add hooks for ``zoneinfo`` and ``backports.zoneinfo``. (`#339 `_) Updated hooks ~~~~~~~~~~~~~ * Removed the ``certifi`` run-time hook because it was not required for ``certifi`` to function in a frozen application. It was sometimes setting the ``SSL_CERT_FILE`` environment variable which causes applications to behave differently when frozen. In particular the ``SSLContext.set_default_verify_paths()`` method loads the certificates from ``certifi`` when the ``SSL_CERT_FILE`` environment variable is set. (`#335 `_) * Update ``cv2`` hook to collect extra config files and modules for compatibility with OpenCV 4.5.4.60. (`#354 `_) * Update ``markdown`` hook to include package metadata, enabling the use of short names for built-in extensions, such as ``extra`` or ``toc``. (`#336 `_) * Update hiddenimports for ``APScheduler > 3.8.0``. (`#333 `_) * Update hiddenimports for ``pymssql > 2.1.5``. (`#315 `_) 2021.3 (2021-08-25) ------------------- New hooks ~~~~~~~~~ * Add a hook for ``dash-uploader`` to collect data files (`#280 `_) * Add a hook for ``langdetect`` to collect data files. (`#285 `_) * Add a hook for ``mariadb`` to collect hidden imports. (`#279 `_) * Add a hook for ``mnemonic`` to collect data files (`#284 `_) * Add a hook for ``msoffcrypto`` to collect metadata. (`#139 `_) * Add a hook for ``pingouin`` to collect data files. (`#292 `_) * Add a hook for ``pystray`` to collect hidden imports. (`#288 `_) * Add a hook for ``rtree`` to collect dynamic libraries. (`#291 `_) * Add a hook for ``shotgun_api3`` to collect data files and hidden imports. (`#138 `_) * Add a hook for ``swagger_spec_validator`` to collect data files. (`#296 `_) * Add a hook for ``timezonefinder`` to collect data files. (`#294 `_) * Add a hook for ``uvicorn`` to collect data files. (`#300 `_) * Add a hook for `cloudscraper` to collect data files (`#281 `_) * Add a hook for `pynput` to collect hidden imports. (`#287 `_) * Added a standard hook for SunPy. (`#134 `_) * Added hook to get data for the parso package (needed for IPython autocomplete) (`#275 `_) Updated hooks ~~~~~~~~~~~~~ * Update ``clr`` hook to set the correct path for pythonnet 3.0 (`#295 `_) * Update ``scikit-learn`` and ``scikit-image`` hooks to perform version checks based on distribution name instead of package name, to prevent failures when ``sklearn`` dummy distribution is installed. (`#276 `_) * Fix harmless missing modules warnings when using ``scikit-learn >= 0.22`` (`#276 `_). 2021.2 (2021-06-26) ------------------- New hooks ~~~~~~~~~ * Add a hook for ``Azurerm`` which is using pkg_resources internally. (`#123 `_) * Add a hook for ``Office365-REST-Python-Client`` which uses data files in some methods (`#125 `_) * Add a hook for ``spacy`` which contains hidden imports and data files (`#1 `_) * Add a standard hook for PyPylon. (`#114 `_) * Add hook for ``blspy`` that collects ``MPIR`` DLLs on Windows. (`#119 `_) * Add hook for ``flirpy`` that collects data files on Windows. (`#120 `_) * Add hook for ``jsonrpcserver`` to collect missing ``request-schema.json`` data file. (`#126 `_) * Add hook for ``plotly`` to collect data files and hidden `pandas`, `cmath`, and `plotly.validator` imports Add hooks for ``dash`` and related packages to collect data files and hook for meta-data from ``flask-compress`` Add hook for ``dash_bootstrap_components`` to collect data files (`#103 `_) * Add hook for ``pyttsx3`` whose drivers are hidden imports. (`#101 `_) * Add hook for ``srsly.msgpack._packer`` which contains a hidden import (`#3 `_) * Add hook for `humanize `__ to include required metadata. (`#122 `_) * Add hooks for ``thinc`` and ``thinc.banckends.numpy_ops`` which contain data files and hidden imports (`#2 `_) * Added a hook for ``statsmodels``, which adds ``statsmodels.tsa.statespace`` as a hidden import (`#100 `_) Updated hooks ~~~~~~~~~~~~~ * (Windows) Update ``zmq`` hook for compatibility with new shared libraries location in Windows build of ``pyzmq`` 22.0.0 and later. (`#98 `_) * Add ```googleapiclient.discovery``` json files to work with services like Blogger v3 on the ```build()``` method. (`#97 `_) * Remove ``win32ctypes.core`` hook, as an improved copy is provided as part of main PyInstaller's hooks collection. (`#124 `_) * Update ``scikit-image`` hooks for compatibility with 0.18.x series. (`#107 `_) * Update ``scikit-learn`` hooks for compatibility with 0.24.x series. (`#108 `_) * Update hook for PyPylon to include data files. (`#116 `_) * Update the hook for ``pycountry`` to copy metadata, in addition to collecting data files. (`#113 `_) 2021.1 (2021-03-07) ------------------- New hooks ~~~~~~~~~ * Add a hook for ``googleapiclient.model`` that collects the required metadata from the ``google-api-python-client`` package. (`#82 `_) * Add hook for ``pyqtgraph``. (`#88 `_) * Add hook for ``rpy2``. (`#87 `_) * Added a hook for 'pdfminer.six' library (`#83 `_) * Added a hook for the 'pygraphviz' library (`#86 `_) Updated hooks ~~~~~~~~~~~~~ * Add missing ``dataclasses`` hidden import to ``pydantic`` hook. Add missing ``distutils.version`` hidden import to ``pydantic`` hook for versions of ``pydantic`` prior to ``1.4``. (`#81 `_) * Update ``pydantic`` hook for compatibility with v.1.8.0 and later. (`#90 `_) 2020.11 (2020-12-21) -------------------- New hooks ~~~~~~~~~ * Add a hook for ``gcloud`` which requires its distribution metadata. (`#68 `_) * Add a hook for prettytable which requires its distribution metadata. (`#77 `_) * Add hook for ``pydantic`` to improve support for its extension-compiled distribution (default on PyPi). (`#78 `_) * Add hook for ``torchvision.ops`` to ensure that the required extension module (``torchvision._C``) is collected. (`#80 `_) * Add hook for afmformats. (`#69 `_) * Add hook for ijson which has dynamically loaded backends. (`#64 `_) * Add hook for lxml which has hidden imports. (`#66 `_) * Collect metadata and data files for ``countryinfo`` to support version 0.1.2. (`#76 `_) Updated hooks ~~~~~~~~~~~~~ * (Windows) Fix the ``win32com`` pre-safe-import hook to avoid printing the ``ModuleNotFoundError`` when the module is not available. (`#67 `_) * Add default enabled sentry integrations dynamically to hidden imports. (`#71 `_) * Update ``pyproj`` hook to improve compatibility across different versions of ``pyproj`` (from 2.1.3 to 3.0.0). (`#70 `_) 2020.10 (2020-10-29) -------------------- New hooks ~~~~~~~~~ * (Windows) Add a hook for ``win32ctypes.core``. (`#58 `_) Updated hooks ~~~~~~~~~~~~~ * (Windows) Avoid collecting ``tensorflow`` import libraries. (`#55 `_) * Avoid collecting non-functional ``zmq.backend.cffi`` backend in the ``zmq`` hook, and thus also prevent an attempt at compilation of its C extension during module collection. (`#59 `_) * Change hook for ``tinycss2``, no longer needed after version 1.0.0. (`#54 `_) * Compatibility fix for ``markdown`` 3.3. (`#56 `_) * Update hooks for ``scikit-learn``. Supported versions are 0.21.x, 0.22.x, and 0.23.x. (`#53 `_) 2020.9 (2020-10-02) ------------------- New hooks ~~~~~~~~~ * Add a hook for `flask_restx `_ which contains template data files. (`#48 `_) * Add hooks for ``skimage.feature`` and ``skimage.graph`` to fix issues with missing imports. (`#52 `_) Updated hooks ~~~~~~~~~~~~~ * Fix shared library duplication in ``tensorflow`` v.2.3. Avoid packaging unnecessary data files (e.g., development headers) on all ``tensorflow`` versions. (`#50 `_) * Fix the ``tensorflow`` hook to be compatible across ``tensorflow`` versions from <1.15.0 up to 2.3.0 (current latest). (`#46 `_) 2020.8 (2020-09-12) ------------------- New hooks ~~~~~~~~~ * Add a hook for ``iminuit`` which has hidden imports. (`#26 `_) * Add a hook for ``publicsuffix2`` which has some data files. (`#40 `_) * Add a hook for ``pyav(av)`` which has hidden imports. (`#29 `_) * Add a hook for ``pydivert`` which has some data files. (`#41 `_) * Add a hook for ``pyproj`` which has some data files. (`#33 `_) * Add a hook for ``spnego`` which has hidden imports. (`#37 `_) Updated hooks ~~~~~~~~~~~~~ * Add a missing hidden import for ``passlib``. (`#39 `_) 2020.7 (2020-08-09) ------------------- New hooks ~~~~~~~~~ * Add a hook for ``gmplot``, which has some data files. (`#21 `_) * Add a hook for ``tinycss2``, which is missing data files. (`#16 `_) * Add a hook for ``workflow``, which is missing version information contained in metadata. (`#17 `_) * Add hook for ``AnyIO`` which dynamically imports its backend modules. (`#22 `_) * Add hook for ``APScheduler`` which requires entry points and dynamic imports. (`#23 `_) * Add hook for ``trimesh`` which requires importing resource files. (`#25 `_) Updated hooks ~~~~~~~~~~~~~ * Rewrite the hooks for PyPubSub and ``wx.lib.pubsub`` so they work properly. 2020.6 (2020-07-21) ------------------- New hooks ~~~~~~~~~ * Add a hook for ``html-testRunner``, which has a hidden import. (`#8 `_) * Add a hook for ``parsedatetime``, which has hidden imports. (`#11 `_) * Add hook for ``dask``, which includes .yaml data files. (`#12 `_) Updated hooks ~~~~~~~~~~~~~ * (Windows) cv2: bundle the `opencv_videoio_ffmpeg*.dll`, if available. (`#13 `_) 2020.5 (2020-06-28) ------------------- No significant changes. 2020.4 (2020-06-28) ------------------- New hooks ~~~~~~~~~ * Adding a hook for sentry which has hidden imports for its integrations (`#7 `_) 2020.3 (2020-06-21) ------------------- New hooks ~~~~~~~~~ * Add a hook for ``eel``, which needs to pull in ``eel.js`` and an extra library. (`#6 `_) * Add a hook for ``sklearn``, which needs a dynamic library including. (`#5 `_) * Add hook for ``jinxed``, which has hidden backends.