Pyinstaller-hooks-contrib

Latest version: v2025.1

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 10

2025.1

-------------------

New hooks
~~~~~~~~~

* Add hooks for ``pypdfium2`` and ``pypdfium2_raw``. (`860
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/860>`_)


Updated hooks
~~~~~~~~~~~~~

* Update ``numba`` hook for compatibility with ``numba`` v0.61.0. (`857
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/857>`_)
* Update ``numcodecs`` hook for compatibility with ``numcodecs`` v0.15.0.
(`858
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/858>`_)

2025.0

-------------------

New hooks
~~~~~~~~~

* Add hook for ``fsspec`` to collect the package's submodules
and ensure the protocol plugins are working. (`856
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/856>`_)
* Add hook for ``intake`` to collect its plugins (registered via the
``intake.drivers`` entry-point). (`853
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/853>`_)
* Add hook for ``ruamel.yaml`` to collect its plugins, and ensure that
plugins' ``__plug_in__`` modules are collected as source .py files
(which is necessary for their discovery). (`844
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/844>`_)
* Add hook for ``sam2`` (Segment Anything Model 2). (`847
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/847>`_)
* Add hook for ``zarr`` to collect the package's metadata. (`855
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/855>`_)


Updated hooks
~~~~~~~~~~~~~

* Revise the search for OpenSSL shared library and ``ossl-modules`` directory
in the ``cryptography`` hook, in order to mitigate issues with unrelated
copies of OpenSSL ending up being pulled into the build. Most notably,
the hook should not be searching for OpenSSL shared library when
``cryptography`` PyPI wheel is installed, because those ship with
extensions that are statically linked against OpenSSL. (`846
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/846>`_)
* Rewrite ``pygraphviz`` hook to fix discovery and collection of ``graphviz``
files under various Linux distributions, in Anaconda environments
(Windows, Linux, and macOS), and msys2 environments (Windows). (`849
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/849>`_)
* Update ``dask`` hook to collect template files from
``dask/widgets/templates``
directory; these file become mandatory when using ``dask.array`` and
``jinja2`` is available. (`852
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/852>`_)
* Update ``triton`` hook for compatibility with ``triton`` >= 3.0.0; the
hook should now collect backend-specific modules and data files from
``triton.backends``. (`848
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/848>`_)

2024.11

--------------------

New hooks
~~~~~~~~~

* Add hook for ``selectolax`` to collect its data files. (`841
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/841>`_)


Updated hooks
~~~~~~~~~~~~~

* (Linux) Update ``torch`` hook to suppress creation of symbolic links to
the top-level application directory for the shared libraries discovered
during binary dependency analysis in ``torch/lib`` directory. This fixes
issues with ``libtorch_cuda_linalg.so`` not being found in spite of it
being collected, as observed with certain ``torch`` builds provided by
https://download.pytorch.org/whl/torch (e.g., ``1.13.1+cu117``,
``2.0.1+cu117``, and ``2.1.2+cu118``). (`834
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/834>`_)
* Update ``sklearn.tree`` hook for compatibility with ``scikit-learn`` v1.6.0
(add ``sklearn.tree._partitioner`` to hidden imports). (`838
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/838>`_)

2024.10

--------------------

New hooks
~~~~~~~~~

* Add hook for ``h3`` to collect its metadata (required with ``h3`` v4.0.0
and later). (`825
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/825>`_)
* Add hook for ``numbers_parser`` to ensure that package's data file is
collected. (`823
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/823>`_)
* Add hook for ``sv_ttk`` to ensure that its resources (.tcl files and
images) are collected. (`826
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/826>`_)


Updated hooks
~~~~~~~~~~~~~

* Update ``falcon`` hook for compatibility with ``falcon`` v4.0.0. (`820
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/825>`_)

2024.9

-------------------

New hooks
~~~~~~~~~

* Add a hook for comtypes to ensure compatibility with comtypes >= 1.4.5.
(`807
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/807>`_)
* Add analysis hook for ``slixmpp`` library (`784
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/784>`_)
* Add hook for ``capstone`` package. (`787
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/787>`_)
* Add hook for ``grapheme`` to collect its data files. (`793
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/793>`_)
* Add hook for ``onnxruntime`` to ensure that provider plugins are
collected. (`817
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/817>`_)
* Add hook for ``saml2`` package which has XSD files and hidden imports. (`798
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/805>`_)
* Add hook for ``ultralytics`` package. (`786
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/786>`_)
* Add hook for ``xmlschema`` package which has XSD files. (`797
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/797>`_)
* Add hook for ``yapf_third_party`` (part of ``yapf``) to collect its
data files. (`792
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/792>`_)
* Add hooks for ``toga`` widget toolkit and its backends. (`804
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/786>`_)
* Update ``av`` hook for compatibility with ``av`` v13.0.0. (`794
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/794>`_)
* Update ``av`` hook for compatibility with ``av`` v13.1.0. (`814
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/799>`_)
* Update ``pydicom`` hook for compatibility with ``pydicom`` v.3.0.0. (`796
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/796>`_)
* Update ``xarray`` hook to collect ``xarray.chunkmanagers`` entry-points.
(`800
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/800>`_)

2024.8

-------------------

New hooks
~~~~~~~~~

* Add a hook for ``cmocean``, which has text data files. (`769
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/769>`_)
* Add a hook for ``pydicom``, which has hidden imports. (`776
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/776>`_)
* Add a hook for ``tzwhere``, which has data files. (`772
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/772>`_)
* Add hook for ``monai`` to collect its source .py files for TorchScript/JIT.
(`778
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/778>`_)
* Add hooks for ``itk`` to work around the package's requirements about
the ``itk/Configuration`` directory. (`778
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/778>`_)
* Added hooks for the ``trame`` suite of libraries, which has data files and
hidden imports. (`775
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/775>`_)


Updated hooks
~~~~~~~~~~~~~

* Rework the OpenSSL version check in ``cryptography`` hook to fix
compatibility with ``cryptography`` 43.0.0. (`768
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/760>`_)
* Update ``imageio_ffmpeg`` hook for compatibility with ``imageio-ffmpeg``
0.5.0 and later. (`766
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/766>`_)
* Update ``pyexcel_ods`` hook to add missing hidden import and add tests.
(`779
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/779>`_)


Project & Process
~~~~~~~~~~~~~~~~~

* Released sdists and tagged GitHub source archives contain the changelog
entries
for their current release. (`761
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/761>`_)

Page 1 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.