From 105e4342dc9298ac50024a4ac7bb92184853f24ce345f19b368d680b6d91d159 Mon Sep 17 00:00:00 2001
From: Dirk Mueller <dmueller@suse.com>
Date: Tue, 30 Jan 2024 18:01:11 +0000
Subject: [PATCH] - update to 2024.0:   * Add hook for ``cel-python``.   * Add
 hook for ``eth_keys`` that collects package metadata for     ``eth-keys >=
 0.5.0``.   * Add hook for ``fairscale`` to collect its source .py files for  
   TorchScript/JIT.   * Add hook for ``pygwalker`` that collects data files
 from the package.   * Add hook for ``PyTaskbar``   * Add hook for
 ``detectron2`` to collect its source .py files for     TorchScript/JIT.   *
 Add hook for ``fastai`` to collect its source .py files for    
 TorchScript/JIT.   * 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.   * Add hook for ``lightning``
 (PyTorch Lightning) to ensure that     its ``version.info`` data file is
 collected.   * Add hook for ``linear_operator`` to collect its source .py    
 files for TorchScript/JIT.   * Add hook for ``seedir`` that collects the
 ``words.txt`` data     file from the package.   * Add hook for ``timm``
 (Hugging Face PyTorch Image Models) to     collect its source .py files for
 TorchScript/JIT.   * Add hook for ``torchaudio`` that collects
 dynamically-loaded     extensions, as well as source .py files for
 TorchScript/JIT.   * Add hook for ``torchtext`` that collects
 dynamically-loaded     extensions, as well as source .py files for
 TorchScript/JIT.   * Add hook for ``torchvision.io.image`` to ensure that    
 dynamically-loaded extension, required by this module, is

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyinstaller-hooks-contrib?expand=0&rev=15
---
 pyinstaller-hooks-contrib-2023.5.tar.gz  |  3 --
 pyinstaller-hooks-contrib-2024.0.tar.gz  |  3 ++
 python-pyinstaller-hooks-contrib.changes | 66 ++++++++++++++++++++++--
 python-pyinstaller-hooks-contrib.spec    |  6 +--
 4 files changed, 67 insertions(+), 11 deletions(-)
 delete mode 100644 pyinstaller-hooks-contrib-2023.5.tar.gz
 create mode 100644 pyinstaller-hooks-contrib-2024.0.tar.gz

diff --git a/pyinstaller-hooks-contrib-2023.5.tar.gz b/pyinstaller-hooks-contrib-2023.5.tar.gz
deleted file mode 100644
index d8690e6..0000000
--- a/pyinstaller-hooks-contrib-2023.5.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:cca6cdc31e739954b5bbbf05ef3f71fe448e9cdacad3a2197243bcf99bea2c00
-size 101202
diff --git a/pyinstaller-hooks-contrib-2024.0.tar.gz b/pyinstaller-hooks-contrib-2024.0.tar.gz
new file mode 100644
index 0000000..f9a27c5
--- /dev/null
+++ b/pyinstaller-hooks-contrib-2024.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a7118c1a5c9788595e5c43ad058a7a5b7b6d59e1eceb42362f6ec1f0b61986b0
+size 121144
diff --git a/python-pyinstaller-hooks-contrib.changes b/python-pyinstaller-hooks-contrib.changes
index eafbc80..d7de764 100644
--- a/python-pyinstaller-hooks-contrib.changes
+++ b/python-pyinstaller-hooks-contrib.changes
@@ -1,10 +1,65 @@
+-------------------------------------------------------------------
+Tue Jan 30 17:57:19 UTC 2024 - Dirk Müller <dmueller@suse.com>
+
+- update to 2024.0:
+  * Add hook for ``cel-python``.
+  * Add hook for ``eth_keys`` that collects package metadata for
+    ``eth-keys >= 0.5.0``.
+  * Add hook for ``fairscale`` to collect its source .py files for
+    TorchScript/JIT.
+  * Add hook for ``pygwalker`` that collects data files from the package.
+  * Add hook for ``PyTaskbar``
+  * Add hook for ``detectron2`` to collect its source .py files for
+    TorchScript/JIT.
+  * Add hook for ``fastai`` to collect its source .py files for
+    TorchScript/JIT.
+  * 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.
+  * Add hook for ``lightning`` (PyTorch Lightning) to ensure that
+    its ``version.info`` data file is collected.
+  * Add hook for ``linear_operator`` to collect its source .py
+    files for TorchScript/JIT.
+  * Add hook for ``seedir`` that collects the ``words.txt`` data
+    file from the package.
+  * Add hook for ``timm`` (Hugging Face PyTorch Image Models) to
+    collect its source .py files for TorchScript/JIT.
+  * Add hook for ``torchaudio`` that collects dynamically-loaded
+    extensions, as well as source .py files for TorchScript/JIT.
+  * Add hook for ``torchtext`` that collects dynamically-loaded
+    extensions, as well as source .py files for TorchScript/JIT.
+  * Add hook for ``torchvision.io.image`` to ensure that
+    dynamically-loaded extension, required by this module, is
+    collected.
+  * Add hook for ``VADER``.
+  * Add hook for Hugging Face ``datasets`` to collect its source
+    .py files for TorchScript/JIT.
+  * 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.
+  * 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.
+  * Add hooks for ``nvidia.*`` packages, which provide a way of
+    installing CUDA via PyPI wheels
+
 -------------------------------------------------------------------
 Tue Jul 11 12:57:59 UTC 2023 - Markéta Machová <mmachova@suse.com>
 
 - Update to 2023.5
   * Update sklearn hooks for compatibility with scikit-learn 1.2.0 and 1.2.1.
-  * Extend cv2 hook with support for OpenCV built manually from source and 
-    for OpenCV installed using the official Windows installer. This support 
+  * 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.
   * Many new hooks and hook updates, see upstream changelog
 
@@ -35,10 +90,11 @@ Wed Feb 15 11:35:07 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
   * Added hooks-config.rst document which documents hook options. It is
     referred to from README.md. (#530)
 
+
 -------------------------------------------------------------------
 Tue Dec 13 16:33:02 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
 
-- Update to version 2022.14 
+- Update to version 2022.14
   Add hook for cf_units. (#521)
   Add hook for cftime. (#521)
   Add hook for compliance_checker. (#521)
@@ -49,13 +105,13 @@ Tue Dec 13 16:33:02 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
 -------------------------------------------------------------------
 Fri Dec  2 22:48:58 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
 
-- Update to version 2022.13 
+- Update to version 2022.13
   * Update pyproj hook for compatibility with pyproj v3.4.0. (#505)
 
 -------------------------------------------------------------------
 Wed Nov  9 18:30:17 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
 
-- Update to version 2022.12 
+- Update to version 2022.12
   New hooks
   * Add hook for discid. (#506)
   * Add hook for exchangelib. (#508)
diff --git a/python-pyinstaller-hooks-contrib.spec b/python-pyinstaller-hooks-contrib.spec
index 80da704..11c4877 100644
--- a/python-pyinstaller-hooks-contrib.spec
+++ b/python-pyinstaller-hooks-contrib.spec
@@ -1,7 +1,7 @@
 #
-# spec file
+# spec file for package python-pyinstaller-hooks-contrib
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:           python-pyinstaller-hooks-contrib%{psuffix}
-Version:        2023.5
+Version:        2024.0
 Release:        0
 Summary:        Community maintained hooks for PyInstaller
 License:        Apache-2.0 OR GPL-2.0-only