Pyinstaller-hooks-contrib

Latest version: v2024.5

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

Scan your dependencies

Page 1 of 9

2024.5

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

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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/735>`_)
* Add hook for ``opentelemetry`` that collects all entry-points with
``opentelemetry_`` prefix. (`725
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/723>`_)
* Add hook for ``xarray``, which ensures that metadata for ``numpy``
(required by ``xarray``) is collected. (`728
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/732>`_)

2024.4

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

New hooks
~~~~~~~~~

* Add a hook for ``python-pptx``, including required template files. (`719
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/719>`_)
* Add hook for ``cloudpickle`` to ensure that ``cloudpickle.cloudpickle_fast``
is collected when using ``cloudpickle`` v3.0.0 or later. (`716
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/716>`_)
* Add hook for ``hexbytes`` that collects package's metadata (required
starting with ``hexbytes`` v.1.1.0). (`714
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/722>`_)
* Update ``adbutils`` hooks for compatibility with ``adbutils`` v2.2.2 and
later. (`717
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/717>`_)
* Update ``numba`` hook to ensure that ``numba.cloudpickle.cloudpickle_fast``
is collected when using ``numba`` v0.59.0 or later. (`716
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/716>`_)
* Update ``tensorflow`` hooks for compatibility with ``tensorflow`` v2.16.0.
(`714
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/714>`_)

2024.3

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

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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/712>`_)

2024.2

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

New hooks
~~~~~~~~~

* Add a hook for ``iso639-lang``, to collect data files (`707
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/707>`_)
* Add hook for ``falcon``, which has hidden imports. (`703
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/710>`_)
* Update the exclude list for GUI frameworks in the ``IPython`` hook with
additional contemporary Qt bindings (``PySide2``, ``PySide6``, and
``PyQt6``). (`708
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/708>`_)

2024.1

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

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

* Fix hook for ``osgeo``, to include proj data files. (`693
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/693>`_)
* Update the hook for ``sklearn.neighbors`` to account for removed hidden
import ``neighbors._typedef`` (`698
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/698>`_)

2024.0

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

New hooks
~~~~~~~~~

* Add hook for ``cel-python``. (`687
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/687>`_)
* Add hook for ``eth_keys`` that collects package metadata for
``eth-keys >= 0.5.0``. (`688
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/688>`_)
* Add hook for ``fairscale`` to collect its source .py files for
TorchScript/JIT. (`692
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/692>`_)
* Add hook for ``pygwalker`` that collects data files from the package. (`690
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/690>`_)
* Add hook for ``PyTaskbar`` (`684
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/684>`_)


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

* Collect package metadata for ``eth-hash`` (fixes ``PackageNotFoundError``).
(`688
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/688>`_)
* Update ``pypylon`` hook for compatibility with PyInstaller 6.0 and later.
(`691
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/691>`_)

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.