Pyinstaller-hooks-contrib

Latest version: v2024.7

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

Scan your dependencies

Page 2 of 9

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

2023.12

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

New hooks
~~~~~~~~~

* Add hook for ``detectron2`` to collect its source .py files for
TorchScript/JIT. (`676
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/676>`_)
* Add hook for ``fastai`` to collect its source .py files for TorchScript/JIT.
(`676
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/676>`_)
* Add hook for ``fvcore.nn`` to collect its source .py files for
TorchScript/JIT. (`676
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/676>`_)
* Add hook for ``langchain`` that collects data files from the package. (`681
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/681>`_)
* Add hook for ``lightning`` (PyTorch Lightning) to ensure that its
``version.info`` data file is collected. (`676
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/676>`_)
* Add hook for ``linear_operator`` to collect its source .py files for
TorchScript/JIT. (`676
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/676>`_)
* Add hook for ``seedir`` that collects the ``words.txt`` data file from
the package. (`681
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/681>`_)
* Add hook for ``timm`` (Hugging Face PyTorch Image Models) to collect its
source .py files for TorchScript/JIT. (`676
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/676>`_)
* Add hook for ``torchaudio`` that collects dynamically-loaded extensions,
as well as source .py files for TorchScript/JIT. (`676
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/676>`_)
* Add hook for ``torchtext`` that collects dynamically-loaded extensions,
as well as source .py files for TorchScript/JIT. (`676
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/676>`_)
* Add hook for ``torchvision.io.image`` to ensure that dynamically-loaded
extension, required by this module, is collected. (`676
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/676>`_)
* Add hook for ``VADER``. (`679
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/679>`_)
* Add hook for Hugging Face ``datasets`` to collect its source .py files for
TorchScript/JIT. (`676
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/676>`_)
* Add hooks for ``nvidia.*`` packages, which provide a way of installing
CUDA via PyPI wheels (e.g., ``nvidia-cuda-runtime-cu12``). (`676
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/676>`_)
* (Linux) Update ``torch`` hook to explicitly collect versioned .so files
in the new PyInstaller >= 6.0 codepath. (`676
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/676>`_)
* Update ``torchvision`` hook to collect source .py files for TorchScript/JIT
(requires PyInstaller >= 5.3 to take effect). (`676
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/682>`_)

2023.11

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

New hooks
~~~~~~~~~

* Add a hook for ``freetype`` that collects the shared library that is
bundled with ``freetype-py`` PyPI wheels. (`674
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/674>`_)
* Add a hook for ``z3c.rml`` that collects the required subset of Bitstream
Vera TTF fonts from the ``reportlab`` package. (`674
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/674>`_)
* Add hook for ``eth_rlp``. (`672
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/672>`_)
* Add hook for ``eth_typing`` which requires its package metadata. (`656
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/656>`_)
* Add hook for ``eth_utils`` to collect its embedded JSON files. (`656
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/656>`_)
* Add hook for ``rlp``. (`672
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/672>`_)
* Add hook for ``sspilib`` that collects submodules of ``sspilib.raw``,
most of which are cythonized extensions. (`669
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/666>`_)
* Update pyarrow hook to collect all of the package's submodules. (`662
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/662>`_)
* Update ``rtree`` hook for compatibility with ``Rtree >= 1.1.0``. (`657
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/657>`_)
* Update ``sudachipy`` hook for ``sudachipy`` 0.6.8. (`673
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/673>`_)

2023.10

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

New hooks
~~~~~~~~~

* Add hook for ``gmsh``. (`650
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/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
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/646>`_)
* Update ``skimage`` hooks for compatibility with ``scikit-image`` 0.22.0.
(`652
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/652>`_)
* Update ``tensorflow`` hook for compatibility with ``tensorflow`` 2.14.0.
(`647
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/647>`_)

2023.9

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

New hooks
~~~~~~~~~

* Add hook for ``LaoNLP``. (`644
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/644>`_)
* Add hook for ``PyThaiNLP``. (`644
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/644>`_)

Page 2 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.