Pyinstaller-hooks-contrib

Latest version: v2024.10

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

Scan your dependencies

Page 1 of 9

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>`_)

2024.7

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

New hooks
~~~~~~~~~

* Add hook for ``dbus_fast`` in order to collect submodules that are imported
from cythonized extensions. (`600
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/744>`_)
* Add hook for ``patoolib`` to collect dynamically-imported modules from
the ``patoolib.programs`` sub-package. (`748
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/744>`_)

2024.6

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

New hooks
~~~~~~~~~

* Add hook for ``schwifty``. Requires ``schwifty >= 2024.5.1`` due to
issues with data search path in earlier versions. (`742
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/742>`_)

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>`_)

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.