Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyinstaller-hooks-contrib for 
openSUSE:Factory checked in at 2026-11-23 12:26:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyinstaller-hooks-contrib (Old)
 and      
/work/SRC/openSUSE:Factory/.python-pyinstaller-hooks-contrib.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyinstaller-hooks-contrib"

Mon Nov 23 12:26:16 2026 rev:15 rq:1399801 version:2026.10

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pyinstaller-hooks-contrib/python-pyinstaller-hooks-contrib.changes
        2026-07-07 21:06:00.436085503 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyinstaller-hooks-contrib.new.1340718/python-pyinstaller-hooks-contrib.changes
   2026-11-23 12:31:09.486288901 +0100
@@ -1,0 +2,17 @@
+Sun Nov 22 21:56:43 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 2026.10:
+  * Add hook for pymupdf to collect data files that were added in
+    pymupdf v2.0. (#1055)
+  * Fix webrtcvad metadata collection when the module is provided
+    by the webrtcvad-wheels distribution. (#1057)
+  * Update vtkmodules hooks for compatibility with vtk 9.7.1 and later. (#1060)
+  * Add a hook for dogpile.cache to collect its dynamically loaded
+    cache backends. (#1053)
+  * Update chardet hook for compatibility with chardet v7.7.0. (#1054)
+  * Update netCDF4 hook for compatibility with netCDF4 v1.7.5. (#1054)
+  * Update the imageio hook to collect distribution metadata,
+    fixing import failures in frozen applications with ImageIO
+    2.37.2 and newer. (#1050)
+
+-------------------------------------------------------------------

Old:
----
  pyinstaller_hooks_contrib-2026.6.tar.gz

New:
----
  pyinstaller_hooks_contrib-2026.10.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyinstaller-hooks-contrib.spec ++++++
--- /var/tmp/diff_new_pack.bv5ldF/_old  2026-11-23 12:31:10.839345862 +0100
+++ /var/tmp/diff_new_pack.bv5ldF/_new  2026-11-23 12:31:10.847346199 +0100
@@ -26,7 +26,7 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:           python-pyinstaller-hooks-contrib%{psuffix}
-Version:        2026.6
+Version:        2026.10
 Release:        0
 Summary:        Community maintained hooks for PyInstaller
 License:        Apache-2.0 OR GPL-2.0-only
@@ -39,7 +39,7 @@
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-packaging
+Requires:       python-packaging >= 22.0
 Requires:       python-setuptools
 BuildArch:      noarch
 %if %{with test}

++++++ pyinstaller_hooks_contrib-2026.6.tar.gz -> 
pyinstaller_hooks_contrib-2026.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyinstaller_hooks_contrib-2026.6/PKG-INFO 
new/pyinstaller_hooks_contrib-2026.10/PKG-INFO
--- old/pyinstaller_hooks_contrib-2026.6/PKG-INFO       2026-06-09 
00:37:12.324273300 +0200
+++ new/pyinstaller_hooks_contrib-2026.10/PKG-INFO      2026-11-10 
01:19:58.523720300 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: pyinstaller-hooks-contrib
-Version: 2026.6
+Version: 2026.10
 Summary: Community maintained hooks for PyInstaller
 Home-page: https://github.com/pyinstaller/pyinstaller-hooks-contrib
 Download-URL: https://pypi.org/project/pyinstaller-hooks-contrib
@@ -77,7 +77,7 @@
 Clone and `cd` inside your fork by running the following (replacing 
`bob-the-barnacle` with your github username):
 
 ```
-git clone https://github.com/bob-the-barnacle/pyinstaller-hoooks-contrib.git
+git clone https://github.com/bob-the-barnacle/pyinstaller-hooks-contrib.git
 cd pyinstaller-hooks-contrib
 ```
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyinstaller_hooks_contrib-2026.6/README.md 
new/pyinstaller_hooks_contrib-2026.10/README.md
--- old/pyinstaller_hooks_contrib-2026.6/README.md      2026-06-09 
00:37:02.000000000 +0200
+++ new/pyinstaller_hooks_contrib-2026.10/README.md     2026-11-10 
01:19:42.948240300 +0100
@@ -51,7 +51,7 @@
 Clone and `cd` inside your fork by running the following (replacing 
`bob-the-barnacle` with your github username):
 
 ```
-git clone https://github.com/bob-the-barnacle/pyinstaller-hoooks-contrib.git
+git clone https://github.com/bob-the-barnacle/pyinstaller-hooks-contrib.git
 cd pyinstaller-hooks-contrib
 ```
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/__init__.py 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/__init__.py
--- old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/__init__.py 
2026-06-09 00:37:11.000000000 +0200
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/__init__.py    
    2026-11-10 01:19:57.892974600 +0100
@@ -12,7 +12,7 @@
 
 import sys
 
-__version__ = '2026.6'
+__version__ = '2026.10'
 __maintainer__ = 'Legorooj, bwoodsend'
 __uri__ = 'https://github.com/pyinstaller/pyinstaller-hooks-contrib'
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pygraphviz.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pygraphviz.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pygraphviz.py
       2026-06-09 00:37:02.000000000 +0200
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/rthooks/pyi_rth_pygraphviz.py
      2026-11-10 01:19:42.949380400 +0100
@@ -9,24 +9,36 @@
 # SPDX-License-Identifier: Apache-2.0
 #-----------------------------------------------------------------------------
 
-import pygraphviz
+def _pyi_rthook():
+    import pygraphviz
 
-# Override pygraphviz.AGraph._which method to search for graphviz executables 
inside sys._MEIPASS
-if hasattr(pygraphviz.AGraph, '_which'):
+    # Override pygraphviz.AGraph._which method to search for graphviz 
executables inside sys._MEIPASS
+    if hasattr(pygraphviz.AGraph, '_which'):
 
-    def _pygraphviz_override_which(self, name):
-        import os
-        import sys
-        import platform
-
-        program_name = name
-        if platform.system() == "Windows":
-            program_name += ".exe"
+        def _pygraphviz_override_which(self, name):
+            import os
+            import sys
+            import platform
+
+            program_name = name
+            if platform.system() == "Windows":
+                program_name += ".exe"
+
+            # First, check pygraphviz/bin directory (used by pygraphviz >= 2.0 
PyPI wheels to bundle executables).
+            program_path = os.path.join(sys._MEIPASS, 'pygraphviz', 'bin', 
program_name)
+            if os.path.isfile(program_path):
+                return program_path
+
+            # Try top-level application directory
+            program_path = os.path.join(sys._MEIPASS, program_name)
+            if os.path.isfile(program_path):
+                return program_path
 
-        program_path = os.path.join(sys._MEIPASS, program_name)
-        if not os.path.isfile(program_path):
+            # Not found - instead of falling back to system copy, raise an 
error
             raise ValueError(f"Prog {name} not found in the PyInstaller-frozen 
application bundle!")
 
-        return program_path
+        pygraphviz.AGraph._which = _pygraphviz_override_which
 
-    pygraphviz.AGraph._which = _pygraphviz_override_which
+
+_pyi_rthook()
+del _pyi_rthook
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-chardet.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-chardet.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-chardet.py
    2026-06-09 00:37:02.000000000 +0200
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-chardet.py
   2026-11-10 01:19:42.951240300 +0100
@@ -10,7 +10,7 @@
 # SPDX-License-Identifier: GPL-2.0-or-later
 # ------------------------------------------------------------------
 
-from PyInstaller.utils.hooks import is_module_satisfies
+from PyInstaller.utils.hooks import collect_submodules, is_module_satisfies
 
 hiddenimports = []
 datas = []
@@ -27,5 +27,8 @@
 # `__mypyc` counterparts (for example the `chardet.pipeline.orchestrator` 
extension references a corresponding
 # `chardet.pipeline.orchestrator__mypyc` extension). Ensure all these are 
collected by collecting submodules.
 if is_module_satisfies("chardet >= 7.4.0"):
-    from PyInstaller.utils.hooks import collect_submodules
     hiddenimports += collect_submodules('chardet.pipeline')
+
+# Starting with v7.7.0, the same applies to chardet.models...
+if is_module_satisfies("chardet >= 7.7.0"):
+    hiddenimports += collect_submodules('chardet.models')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-dogpile.cache.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-dogpile.cache.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-dogpile.cache.py
      1970-01-01 01:00:00.000000000 +0100
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-dogpile.cache.py
     2026-11-10 01:19:42.953240200 +0100
@@ -0,0 +1,18 @@
+# ------------------------------------------------------------------
+# Copyright (c) 2026 PyInstaller Development Team.
+#
+# This file is distributed under the terms of the GNU General Public
+# License (version 2.0 or later).
+#
+# The full license is available in LICENSE, distributed with
+# this software.
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# ------------------------------------------------------------------
+
+from PyInstaller.utils.hooks import collect_submodules
+
+# Backends are registered as dotted module paths and loaded by dogpile's
+# PluginLoader, so static analysis cannot discover them. Ignore import failures
+# for backends whose optional dependencies are not installed.
+hiddenimports = collect_submodules('dogpile.cache.backends', on_error='ignore')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-duckdb.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-duckdb.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-duckdb.py
     2026-06-09 00:37:02.000000000 +0200
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-duckdb.py
    2026-11-10 01:19:42.953240200 +0100
@@ -10,12 +10,16 @@
 # SPDX-License-Identifier: GPL-2.0-or-later
 # ------------------------------------------------------------------
 
-from PyInstaller.utils.hooks import copy_metadata, is_module_satisfies
+from PyInstaller.utils.hooks import collect_submodules, copy_metadata, 
is_module_satisfies
+
+# Some submodules might be referenced only from binary extensions; for 
example, `duckdb.filesystem` (see
+# pyinstaller/pyinstaller#9538).
+hiddenimports = collect_submodules('duckdb')
 
 # duckdb requires stdlib `inspect` module. On newer python versions (>= 3.10), 
it is collected as a dependency of other
 # stdlib modules, while on older python versions this is not the case. 
Therefore, we add it to hidden imports regardless
 # of python version.
-hiddenimports = ['inspect']
+hiddenimports += ['inspect']
 
 # Starting with v1.4.0, `duckdb` uses `importlib.metadata.version()` to 
determine its version.
 if is_module_satisfies("duckdb >= 1.4.0"):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-fastmcp.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-fastmcp.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-fastmcp.py
    1970-01-01 01:00:00.000000000 +0100
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-fastmcp.py
   2026-11-10 01:19:42.954240300 +0100
@@ -0,0 +1,23 @@
+# ------------------------------------------------------------------
+# Copyright (c) 2026 PyInstaller Development Team.
+#
+# This file is distributed under the terms of the GNU General Public
+# License (version 2.0 or later).
+#
+# The full license is available in LICENSE, distributed with
+# this software.
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# ------------------------------------------------------------------
+
+# Hook for the fastmcp module: https://github.com/PrefectHQ/fastmcp
+
+from PyInstaller.utils.hooks import copy_metadata
+
+# See 
https://github.com/PrefectHQ/fastmcp/blob/v4.0.4/fastmcp_slim/fastmcp/__init__.py#L35-L38
+datas = []
+for dist_name in ['fastmcp-slim', 'fastmcp']:
+    try:
+        datas += copy_metadata(dist_name)
+    except Exception:  # support both PyInstaller 6.x and 5.x
+        pass
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-imageio.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-imageio.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-imageio.py
    2026-06-09 00:37:02.000000000 +0200
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-imageio.py
   2026-11-10 01:19:42.956240200 +0100
@@ -12,10 +12,14 @@
 
 # Hook for imageio: http://imageio.github.io/
 
-from PyInstaller.utils.hooks import collect_data_files, collect_submodules
+from PyInstaller.utils.hooks import collect_data_files, collect_submodules, 
copy_metadata, is_module_satisfies
 
 datas = collect_data_files('imageio', subdir="resources")
 
+# ImageIO >= 2.37.2 reads its version from the distribution metadata at import 
time.
+if is_module_satisfies('imageio >= 2.37.2'):
+    datas += copy_metadata('imageio')
+
 # imageio plugins are imported lazily since ImageIO version 2.11.0.
 # They are very light-weight, so we can safely include all of them.
 hiddenimports = collect_submodules('imageio.plugins')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-netCDF4.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-netCDF4.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-netCDF4.py
    2026-06-09 00:37:02.000000000 +0200
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-netCDF4.py
   2026-11-10 01:19:42.958240300 +0100
@@ -22,11 +22,14 @@
 else:
     hiddenimports += ['cftime']
 
-# Starting with netCDF 1.6.4, certifi is a hidden import made in
-# netCDF4/_netCDF4.pyx.
+# Starting with netCDF 1.6.4, certifi is a hidden import made in 
netCDF4/_netCDF4.pyx.
 if is_module_satisfies("netCDF4 >= 1.6.4"):
     hiddenimports += ['certifi']
 
+# Starting with netCDF 1.7.5, packaging.version is a hidden import made in 
netCDF4/_netCDF4.pyx.
+if is_module_satisfies("netCDF4 >= 1.7.5"):
+    hiddenimports += ['packaging.version']
+
 # netCDF 1.6.2 is the first version that uses `delvewheel` for bundling DLLs 
in Windows PyPI wheels. While contemporary
 # PyInstaller versions automatically pick up DLLs from external `netCDF4.libs` 
directory, this does not work on Anaconda
 # python 3.8 and 3.9 due to defunct `os.add_dll_directory`, which forces 
`delvewheel` to use the old load-order file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-numcodecs.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-numcodecs.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-numcodecs.py
  2026-06-09 00:37:02.000000000 +0200
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-numcodecs.py
 2026-11-10 01:19:42.959240200 +0100
@@ -10,7 +10,7 @@
 # SPDX-License-Identifier: GPL-2.0-or-later
 # ------------------------------------------------------------------
 
-from PyInstaller.utils.hooks import is_module_satisfies
+from PyInstaller.utils.hooks import copy_metadata, is_module_satisfies
 
 # compat_ext is only imported from pyx files, so it is missed
 hiddenimports = ['numcodecs.compat_ext']
@@ -18,3 +18,7 @@
 # numcodecs v0.15.0 added an import of `deprecated` (from `Deprecated` dist) 
in one of its cythonized extension.
 if is_module_satisfies('numcodecs >= 0.15.0'):
     hiddenimports += ['deprecated']
+
+# Starting with v0.17.0, numcodecs queries its version from metadata
+if is_module_satisfies('numcodecs >= 0.17.0'):
+    datas = copy_metadata('numcodecs')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-procrastinate.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-procrastinate.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-procrastinate.py
      1970-01-01 01:00:00.000000000 +0100
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-procrastinate.py
     2026-11-10 01:19:42.960240400 +0100
@@ -0,0 +1,21 @@
+# ------------------------------------------------------------------
+# Copyright (c) 2026 PyInstaller Development Team.
+#
+# This file is distributed under the terms of the GNU General Public
+# License (version 2.0 or later).
+#
+# The full license is available in LICENSE, distributed with
+# this software.
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# ------------------------------------------------------------------
+
+from PyInstaller.utils.hooks import collect_data_files, copy_metadata
+
+# `procrastinate` reads its SQL files (`sql/queries.sql`, `sql/schema.sql`, 
and the migrations in
+# `sql/migrations`) via `importlib.resources`.
+datas = collect_data_files('procrastinate')
+
+# `procrastinate.metadata` reads the distribution metadata via 
`importlib.metadata` when the top-level
+# `procrastinate` package is imported.
+datas += copy_metadata('procrastinate')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-py_ecc.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-py_ecc.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-py_ecc.py
     1970-01-01 01:00:00.000000000 +0100
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-py_ecc.py
    2026-11-10 01:19:42.961240300 +0100
@@ -0,0 +1,17 @@
+# ------------------------------------------------------------------
+# Copyright (c) 2026 PyInstaller Development Team.
+#
+# This file is distributed under the terms of the GNU General Public
+# License (version 2.0 or later).
+#
+# The full license is available in LICENSE, distributed with
+# this software.
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# ------------------------------------------------------------------
+
+from PyInstaller.utils.hooks import copy_metadata, is_module_satisfies
+
+# Starting with py-ecc 7.0.0, version information is obtained from metadata.
+if is_module_satisfies('py-ecc >= 7.0.0'):
+    datas = copy_metadata('py-ecc')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-pygraphviz.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-pygraphviz.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-pygraphviz.py
 2026-06-09 00:37:02.000000000 +0200
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-pygraphviz.py
        2026-11-10 01:19:42.962240200 +0100
@@ -11,135 +11,236 @@
 # ------------------------------------------------------------------
 import os
 import pathlib
-import shutil
 
-from PyInstaller import compat
+from PyInstaller import compat, isolated
 from PyInstaller.depend import bindepend
-from PyInstaller.utils.hooks import logger
+from PyInstaller.utils.hooks import get_module_file_attribute, 
is_module_satisfies, logger
 
 
-def _collect_graphviz_files():
-    binaries = []
-    datas = []
-
-    # A working `pygraphviz` installation requires graphviz programs in PATH. 
Attempt to resolve the `dot` executable to
-    # see if this is the case.
-    dot_binary = shutil.which('dot')
-    if not dot_binary:
-        logger.warning(
-            "hook-pygraphviz: 'dot' program not found in PATH!"
+def _find_graphviz_programs(is_pygraphviz2):
+    # Collect graphviz programs that might be called from 
`pygaphviz.agraph.AGraph`
+    # In system installations on macOS and Linux, several of these are 
commonly symbolic links to a single executable.
+    if is_pygraphviz2:
+        # 
https://github.com/pygraphviz/pygraphviz/blob/pygraphviz-2.0/pygraphviz/agraph.py#L1334-L1343
+        program_names = (
+            "gc",
+            "acyclic",
+            "gvpr",
+            "gvcolor",
+            "ccomps",
+            "sccmap",
+            "tred",
+            "unflatten",
         )
-        return binaries, datas
-    logger.info("hook-pygraphviz: found 'dot' program: %r", dot_binary)
-    bin_dir = pathlib.Path(dot_binary).parent
-
-    # Collect graphviz programs that might be called from 
`pygaphviz.agraph.AGraph`:
-    # 
https://github.com/pygraphviz/pygraphviz/blob/pygraphviz-1.14/pygraphviz/agraph.py#L1330-L1348
-    # On macOS and on Linux, several of these are symbolic links to a single 
executable.
-    progs = (
-        "neato",
-        "dot",
-        "twopi",
-        "circo",
-        "fdp",
-        "nop",
-        "osage",
-        "patchwork",
-        "gc",
-        "acyclic",
-        "gvpr",
-        "gvcolor",
-        "ccomps",
-        "sccmap",
-        "tred",
-        "sfdp",
-        "unflatten",
-    )
+        logger.info("hook-pygraphviz: collecting graphviz executables for 
pygraphviz >= 2.0...")
+    else:
+        # 
https://github.com/pygraphviz/pygraphviz/blob/pygraphviz-1.14/pygraphviz/agraph.py#L1330-L1348
+        program_names = (
+            "neato",
+            "dot",
+            "twopi",
+            "circo",
+            "fdp",
+            "nop",
+            "osage",
+            "patchwork",
+            "gc",
+            "acyclic",
+            "gvpr",
+            "gvcolor",
+            "ccomps",
+            "sccmap",
+            "tred",
+            "sfdp",
+            "unflatten",
+        )
+        logger.info("hook-pygraphviz: collecting graphviz executables for 
pygraphviz < 2.0...")
 
-    logger.debug("hook-pygraphviz: collecting graphviz program executables...")
-    for program_name in progs:
-        program_binary = shutil.which(program_name)
-        if not program_binary:
-            logger.debug("hook-pygaphviz: graphviz program %r not found!", 
program_name)
-            continue
-
-        # Ensure that the program executable was found in the same directory 
as the `dot` executable. This should
-        # prevent us from falling back to other graphviz installations that 
happen to be in PATH.
-        if pathlib.Path(program_binary).parent != bin_dir:
+    @isolated.decorate
+    def _get_executables_info(program_names):
+        import pathlib
+
+        import pygraphviz
+
+        # Check if pygraphviz/bin directory exists
+        try:
+            import pygraphviz.bin
+            bin_dir = pygraphviz.bin.__path__[0]
+            bin_dir = pathlib.Path(bin_dir).resolve()
+        except ImportError:
+            bin_dir = None
+
+        # Resolve every program using pygraphviz's own resolver, and determine 
if executable is bundled with package
+        # (PyPI wheel) or taken from system.
+        program_info = {}
+        g = pygraphviz.agraph.AGraph()
+        for program_name in program_names:
+            try:
+                program_executable = g._get_prog(program_name)
+            except Exception:
+                continue
+
+            program_path = pathlib.Path(program_executable).resolve()
+            is_bundled = bin_dir and bin_dir in program_path.parents
+
+            program_info[program_name] = program_executable, is_bundled
+
+        return program_info
+
+    executables_info = _get_executables_info(program_names)
+    if not executables_info:
+        logger.warning("hook-pygraphviz: no graphviz program executable was 
discovered!")
+        return []
+
+    # Display info
+    for program_name in program_names:
+        info = executables_info.get(program_name, None)
+        if info is None:
+            logger.debug("hook-pygraphviz: %r: not found!", program_name)
+        else:
+            program_path, is_bundled = info
             logger.debug(
-                "hook-pygraphviz: found program %r (%r) outside of directory 
%r - ignoring!",
-                program_name, program_binary, str(bin_dir)
+                "hook-pygraphviz: %r [%s]: %r", program_name, 'bundled' if 
is_bundled else 'system', program_path
             )
-            continue
 
-        logger.debug("hook-pygraphviz: collecting graphviz program %r: %r", 
program_name, program_binary)
-        binaries += [(program_binary, '.')]
+    # Construct binaries list and check that all programs are collected from 
the same location
+    binaries = []
 
-    # Graphviz shared libraries should be automatically collected when 
PyInstaller performs binary dependency
-    # analysis of the collected program executables as part of the main build 
process. However, we need to manually
-    # collect plugins and their accompanying config file.
-    logger.debug("hook-pygraphviz: looking for graphviz plugin directory...")
-    if compat.is_win:
-        # Under Windows, we have several installation variants:
-        #  - official installers and builds from 
https://gitlab.com/graphviz/graphviz/-/releases
-        #  - chocolatey
-        #  - msys2
-        #  - Anaconda
-        # In all variants, the plugins and the config file are located in the 
`bin` directory, next to the program
-        # executables.
-        plugin_dir = bin_dir
-        plugin_dest_dir = '.'  # Collect into top-level application directory.
-        # Official builds and Anaconda use unversioned `gvplugin-{name}.dll` 
plugin names, while msys2 uses
-        # versioned `libgvplugin-{name}-{version}.dll` plugin names (with 
"lib" prefix).
-        plugin_pattern = '*gvplugin*.dll'
-    else:
-        # Perform binary dependency analysis on the `dot` executable to obtain 
the path to graphiz shared libraries.
-        # These need to be in the library search path for the programs to 
work, or discoverable via run-paths
-        # (e.g., Anaconda on Linux and macOS, Homebrew on macOS).
-        graphviz_lib_candidates = ['cdt', 'gvc', 'cgraph']
-
-        if hasattr(bindepend, 'get_imports'):
-            # PyInstaller >= 6.0
-            dot_imports = [path for name, path in 
bindepend.get_imports(dot_binary) if path is not None]
-        else:
-            # PyInstaller < 6.0
-            dot_imports = bindepend.getImports(dot_binary)
+    program_locations = set()
+    program_bundled = []
 
-        graphviz_lib_paths = [
-            path for path in dot_imports
-            if any(candidate in os.path.basename(path) for candidate in 
graphviz_lib_candidates)
-        ]
+    for program_name, (program_path, is_bundled) in executables_info.items():
+        binaries.append((program_path, os.path.join('pygraphviz', 'bin') if 
is_bundled else '.'))
+
+        # Validation
+        program_location = pathlib.Path(program_path).parent
+        program_locations.add(program_location)
+        program_bundled.append(is_bundled)
+
+    if len(program_locations) != 1:
+        raise SystemExit(
+            "ERROR: collection of graphviz programs from multiple locations is 
not supported! "
+            f"Location: {sorted(program_locations)}"
+        )
 
-        if not graphviz_lib_paths:
-            logger.warning("hook-pygraphviz: could not determine location of 
graphviz shared libraries!")
-            return binaries, datas
-
-        graphviz_lib_dir = pathlib.Path(graphviz_lib_paths[0]).parent
-        logger.debug("hook-pygraphviz: location of graphviz shared libraries: 
%r", str(graphviz_lib_dir))
-
-        # Plugins should be located in `graphviz` directory next to shared 
libraries.
-        plugin_dir = graphviz_lib_dir / 'graphviz'
-        plugin_dest_dir = 'graphviz'  # Collect into graphviz sub-directory.
+    if all(program_bundled):
+        logger.info("hook-pygraphviz: graphviz programs were collected from 
the package/wheel.")
+    elif not all(program_bundled):
+        logger.info("hook-pygraphviz: graphviz programs were collected from 
system installation.")
+    else:
+        raise SystemExit(
+            "ERROR: a mixture of bundled and system graphviz programs is not 
supported!"
+        )
 
-        if compat.is_darwin:
-            plugin_pattern = '*gvplugin*.dylib'
-        else:
-            # Collect only versioned .so library files (for example, 
`/lib64/graphviz/libgvplugin_core.so.6` and
-            # `/lib64/graphviz/libgvplugin_core.so.6.0.0`; the former usually 
being a symbolic link to the latter).
-            # The unversioned .so library files (such as 
`lib64/graphviz/libgvplugin_core.so`), if available, are
-            # meant for linking (and are usually installed as part of 
development package).
-            plugin_pattern = '*gvplugin*.so.*'
+    return binaries
 
-    if not plugin_dir.is_dir():
-        logger.warning("hook-pygraphviz: could not determine location of 
graphviz plugins!")
-        return binaries, datas
 
-    logger.info("hook-pygraphviz: collecting graphviz plugins from directory: 
%r", str(plugin_dir))
+def _find_graphviz_shared_library():
+    # Get path to pygraphviz._graphviz extension module
+    extension_file = 
pathlib.Path(get_module_file_attribute('pygraphviz._graphviz')).resolve()
+    pacakge_directory = extension_file.parent
+
+    # Path to bundled libraries directory used by pygraphviz >= 2.0 wheels:
+    #  - Windows: package_directory/../pygraphviz.libs (delvewheel)
+    #  - macOS: package_directory/.dylibs (relocate)
+    #  - linux: package_directory/../pygraphviz.libs (auditwheel)
+    if compat.is_darwin:
+        bundled_lib_dir = pacakge_directory / ".dylibs"
+    else:
+        bundled_lib_dir = pacakge_directory.parent / "pygraphviz.libs"
 
-    binaries += [(str(file), plugin_dest_dir) for file in 
plugin_dir.glob(plugin_pattern)]
-    datas += [(str(file), plugin_dest_dir) for file in 
plugin_dir.glob("config*")]  # e.g., `config6`
+    # Perform binary dependency analysis on the extension module
+    graphviz_lib_candidates = ['cdt', 'gvc', 'cgraph']
 
-    return binaries, datas
+    search_paths = [bundled_lib_dir] if bundled_lib_dir.is_dir() else []
+    if hasattr(bindepend, 'get_imports'):
+        # PyInstaller >= 6.0
+        extension_imports = [
+            path for name, path in bindepend.get_imports(str(extension_file), 
search_paths)
+            if path is not None
+        ]
+    else:
+        # PyInstaller < 6.0
+        extension_imports = bindepend.getImports(str(extension_file))
+        # The old getImports() does not perform explicit fullpath resolution; 
so on Windows, it returns just basenames.
+        if compat.is_win:
+            extension_imports = [
+                bindepend.getfullnameof(name, search_paths) for name in 
extension_imports
+            ]  # NOTE: unresolved paths will be empty and discarded below
+
+    graphviz_lib_paths = [
+        pathlib.Path(path).resolve() for path in extension_imports
+        if any(candidate in os.path.basename(path) for candidate in 
graphviz_lib_candidates)
+    ]
+
+    if not graphviz_lib_paths:
+        return None, False
+
+    return graphviz_lib_paths[0], graphviz_lib_paths[0].parent == 
bundled_lib_dir
+
+
+binaries = []
+datas = []
+
+is_pygraphviz2 = is_module_satisfies("pygraphviz >= 2.0")
+
+# Collect graphviz programs - either from the build system, or from wheel 
(pygraphviz >= 2.0)
+binaries += _find_graphviz_programs(is_pygraphviz2)
+
+# Find the graphviz shared library against which the pygraphviz._graphviz 
extension is linked
+graphviz_library, is_bundled = _find_graphviz_shared_library()
+if not graphviz_library:
+    logger.warning("hook-pygraphviz: could not determine location of graphviz 
shared libraries!")
+else:
+    logger.info(
+        "hook-pygraphviz: graphviz shared library: %r (%s)",
+        str(graphviz_library),
+        'bundled' if is_bundled else 'system',
+    )
+
+    if is_bundled:
+        if compat.is_win:
+            # Just in case, explicitly collect delvewheel directory
+            if is_module_satisfies("PyInstaller >= 5.6"):
+                from PyInstaller.utils.hooks import 
collect_delvewheel_libs_directory
+                datas, binaries = 
collect_delvewheel_libs_directory("pygraphviz", datas=datas, binaries=binaries)
+            else:
+                graphviz_library_dir = graphviz_library.parent
+                datas += [(str(graphviz_library_dir), 
graphviz_library_dir.name)]
+        elif compat.is_linux:
+            # Suppress creation of top-level symlinks for wheel-bundled 
libraries.
+            # Requires PyInstaller >= 6.11.0; no-op in earlier versions.
+            bindepend_symlink_suppression = ['**/pygraphviz.libs/lib*.so*']
+    else:
+        # System copy; try to collect graphviz plugins
+        if compat.is_win:
+            # Under Windows, we have several installation variants:
+            #  - official installers and builds from 
https://gitlab.com/graphviz/graphviz/-/releases
+            #  - chocolatey
+            #  - msys2
+            #  - Anaconda
+            # In all variants, the plugins and the config file are located in 
the `bin` directory, next to the program
+            # executables and shared libraries.
+            plugin_dir = graphviz_library.parent
+            plugin_dest_dir = '.'  # Collect into top-level application 
directory.
+            # Official builds and Anaconda use unversioned 
`gvplugin-{name}.dll` plugin names, while msys2 uses
+            # versioned `libgvplugin-{name}-{version}.dll` plugin names (with 
"lib" prefix).
+            plugin_pattern = '*gvplugin*.dll'
+        else:
+            # Plugins should be located in `graphviz` directory next to shared 
libraries.
+            plugin_dir = graphviz_library.parent / 'graphviz'
+            plugin_dest_dir = 'graphviz'  # Collect into graphviz 
sub-directory.
+
+            if compat.is_darwin:
+                plugin_pattern = '*gvplugin*.dylib'
+            else:
+                # Collect only versioned .so library files (for example, 
`/lib64/graphviz/libgvplugin_core.so.6` and
+                # `/lib64/graphviz/libgvplugin_core.so.6.0.0`; the former 
usually being a symbolic link to the latter).
+                # The unversioned .so library files (such as 
`lib64/graphviz/libgvplugin_core.so`), if available, are
+                # meant for linking (and are usually installed as part of 
development package).
+                plugin_pattern = '*gvplugin*.so.*'
 
+        logger.info("hook-pygraphviz: collecting graphviz plugins from 
directory: %r", str(plugin_dir))
 
-binaries, datas = _collect_graphviz_files()
+        binaries += [(str(file), plugin_dest_dir) for file in 
plugin_dir.glob(plugin_pattern)]
+        datas += [(str(file), plugin_dest_dir) for file in 
plugin_dir.glob("config*")]  # e.g., `config6`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-pymupdf.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-pymupdf.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-pymupdf.py
    1970-01-01 01:00:00.000000000 +0100
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-pymupdf.py
   2026-11-10 01:19:42.962240200 +0100
@@ -0,0 +1,17 @@
+# ------------------------------------------------------------------
+# Copyright (c) 2026 PyInstaller Development Team.
+#
+# This file is distributed under the terms of the GNU General Public
+# License (version 2.0 or later).
+#
+# The full license is available in LICENSE, distributed with
+# this software.
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# ------------------------------------------------------------------
+
+from PyInstaller.utils.hooks import collect_data_files, is_module_satisfies
+
+# Starting with pymupdf v2.0, we need to collect data files from the package.
+if is_module_satisfies('pymupdf >= 2.0'):
+    datas = collect_data_files('pymupdf')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-pyvista.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-pyvista.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-pyvista.py
    1970-01-01 01:00:00.000000000 +0100
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-pyvista.py
   2026-11-10 01:19:42.963240400 +0100
@@ -0,0 +1,16 @@
+# ------------------------------------------------------------------
+# Copyright (c) 2026 PyInstaller Development Team.
+#
+# This file is distributed under the terms of the GNU General Public
+# License (version 2.0 or later).
+#
+# The full license is available in LICENSE, distributed with
+# this software.
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# ------------------------------------------------------------------
+
+from PyInstaller.utils.hooks import collect_entry_point
+
+# Entry-points are required for registration of plugins, such as trame-pyvista.
+datas, hiddenimports = collect_entry_point("pyvista.plotter_components")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-sentry_sdk.integrations.mcp.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-sentry_sdk.integrations.mcp.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-sentry_sdk.integrations.mcp.py
        1970-01-01 01:00:00.000000000 +0100
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-sentry_sdk.integrations.mcp.py
       2026-11-10 01:19:42.964240300 +0100
@@ -0,0 +1,22 @@
+# ------------------------------------------------------------------
+# Copyright (c) 2026 PyInstaller Development Team.
+#
+# This file is distributed under the terms of the GNU General Public
+# License (version 2.0 or later).
+#
+# The full license is available in LICENSE, distributed with
+# this software.
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# ------------------------------------------------------------------
+
+from PyInstaller.utils.hooks import copy_metadata
+
+# Try to collect metadata for `mcp`, if available; the version information is 
required by `sentry_sdk.integrations.mcp`
+# to decide on correct patching codepath:
+# 
https://github.com/getsentry/sentry-python/blob/2.70.0/sentry_sdk/integrations/mcp.py#L975-L982
+datas = []
+try:
+    datas += copy_metadata("mcp")
+except Exception:  # support both PyInstaller 6.x and 5.x
+    pass
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-timezonefinder_data.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-timezonefinder_data.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-timezonefinder_data.py
        1970-01-01 01:00:00.000000000 +0100
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-timezonefinder_data.py
       2026-11-10 01:19:42.967240300 +0100
@@ -0,0 +1,15 @@
+# ------------------------------------------------------------------
+# Copyright (c) 2026 PyInstaller Development Team.
+#
+# This file is distributed under the terms of the GNU General Public
+# License (version 2.0 or later).
+#
+# The full license is available in LICENSE, distributed with
+# this software.
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+# ------------------------------------------------------------------
+
+from PyInstaller.utils.hooks import collect_data_files
+
+datas = collect_data_files('timezonefinder_data')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-tkinterdnd2.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-tkinterdnd2.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-tkinterdnd2.py
        2026-06-09 00:37:02.000000000 +0200
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-tkinterdnd2.py
       2026-11-10 01:19:42.967240300 +0100
@@ -14,24 +14,31 @@
 import pathlib
 import platform
 
+from PyInstaller import isolated
 from PyInstaller.utils.hooks import get_package_paths, logger
 
 
 # tkinterdnd2 contains a tkdnd sub-directory which contains platform-specific 
directories with shared library and .tcl
 # files. Collect only the relevant directory, by matching the decision logic 
from:
-# 
https://github.com/Eliav2/tkinterdnd2/blob/9a55907e430234bf8ab72ea614f84af9cc89598c/tkinterdnd2/TkinterDnD.py#L33-L51
+# 
https://github.com/Eliav2/tkinterdnd2/blob/0.6.2/tkinterdnd2/TkinterDnD.py#L29-L77
 def _collect_platform_subdir(system, machine):
     datas = []
     binaries = []
 
+    # Determine major version of Tcl/Tk, in order to collect version-specific 
sub-directory, if available.
+    @isolated.decorate
+    def get_tcl_version():
+        import tkinter
+        tcl = tkinter.Tcl()
+        return tcl.eval("info tclversion")
+
+    tcl_version = get_tcl_version()
+    tcl_major = int(tcl_version.split(".")[0])
+
     # Under Windows, `platform.machine()` returns the identifier of the *host* 
architecture, which does not necessarily
     # match the architecture of the running process (for example, when running 
x86 process under x64 Windows, or when
     # running either x86 or x64 process under arm64 Windows). The architecture 
of the running process can be obtained
     # from the `PROCESSOR_ARCHITECTURE` environment variable, which is 
automatically set by Windows / WOW64 subsystem.
-    #
-    # NOTE: at the time of writing (tkinterdnd2 v0.4.2), tkinterdnd2 does not 
account for this, and attempts to load
-    # the shared library from incorrect directory; as this fails due to 
architecture mismatch, there is no point in
-    # us trying to collect that (incorrect) directory.
     if system == "Windows":
         machine = os.environ.get("PROCESSOR_ARCHITECTURE", machine)
 
@@ -69,13 +76,20 @@
 
     pkg_base, pkg_dir = get_package_paths("tkinterdnd2")
 
-    dest_dir = os.path.join("tkinterdnd2", "tkdnd", dir_name)
+    if tcl_major >= 9:
+        # If directory with -tcl9 suffix exists, use it; otherwise, fall back 
to generic one.
+        tcl9_path = pathlib.Path(pkg_dir) / "tkdnd" / (dir_name + "-tcl9")
+        if tcl9_path.is_dir():
+            dir_name = dir_name + "-tcl9"
+
     src_path = pathlib.Path(pkg_dir) / "tkdnd" / dir_name
 
     if not src_path.is_dir():
         logger.warning("hook-tkinterdnd2: platform-specific sub-directory %r 
does not exist!", str(src_path))
         return datas, binaries
 
+    dest_dir = os.path.join("tkinterdnd2", "tkdnd", dir_name)
+
     # Collect the shared library.
     for entry in src_path.glob(lib_suffix):
         binaries.append((str(entry), dest_dir))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vtk.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vtk.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vtk.py
  2026-06-09 00:37:02.000000000 +0200
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-trame_vtk.py
 2026-11-10 01:19:42.968240500 +0100
@@ -10,9 +10,12 @@
 # SPDX-License-Identifier: GPL-2.0-or-later
 # ------------------------------------------------------------------
 
-from PyInstaller.utils.hooks import collect_data_files
+from PyInstaller.utils.hooks import collect_data_files, copy_metadata
 
 datas = [
     *collect_data_files("trame_vtk", subdir="modules"),
     *collect_data_files("trame_vtk", subdir="tools"),
 ]
+
+# Valid version information might be required by other modules (for example, 
`trame_pyvista.widgets`).
+datas += copy_metadata("trame-vtk")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-webrtcvad.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-webrtcvad.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/stdhooks/hook-webrtcvad.py
  2026-06-09 00:37:02.000000000 +0200
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/stdhooks/hook-webrtcvad.py
 2026-11-10 01:19:42.975240500 +0100
@@ -10,6 +10,11 @@
 # SPDX-License-Identifier: GPL-2.0-or-later
 # ------------------------------------------------------------------
 
+from _pyinstaller_hooks_contrib.compat import importlib_metadata
 from PyInstaller.utils.hooks import copy_metadata
 
-datas = copy_metadata('webrtcvad')
+# Both webrtcvad and webrtcvad-wheels install the webrtcvad module, but its
+# version lookup uses the metadata of the distribution that provided it.
+datas = []
+for distribution in 
importlib_metadata.packages_distributions().get('webrtcvad', []):
+    datas += copy_metadata(distribution)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/utils/vtkmodules.py
 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/utils/vtkmodules.py
--- 
old/pyinstaller_hooks_contrib-2026.6/_pyinstaller_hooks_contrib/utils/vtkmodules.py
 2026-06-09 00:37:02.000000000 +0200
+++ 
new/pyinstaller_hooks_contrib-2026.10/_pyinstaller_hooks_contrib/utils/vtkmodules.py
        2026-11-10 01:19:42.976719900 +0100
@@ -610,6 +610,10 @@
     # New
     _module_dependencies['vtkmodules.vtkSerializationManager'] = 
['vtkmodules.vtkCommonDataModel']
 
+# Additional hidden imports for vtk 9.7.1
+if vtk_version is not None and vtk_version >= (9, 7, 1):
+    _module_dependencies['vtkmodules.vtkFiltersTemporal'] += 
['vtkmodules.vtkCommonCache']
+
 
 def add_vtkmodules_dependencies(hook_file):
     # Find the module underlying this vtkmodules hook: change 
`/path/to/hook-vtkmodules.blah.py` to `vtkmodules.blah`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/pyinstaller_hooks_contrib.egg-info/PKG-INFO
 
new/pyinstaller_hooks_contrib-2026.10/pyinstaller_hooks_contrib.egg-info/PKG-INFO
--- 
old/pyinstaller_hooks_contrib-2026.6/pyinstaller_hooks_contrib.egg-info/PKG-INFO
    2026-06-09 00:37:12.000000000 +0200
+++ 
new/pyinstaller_hooks_contrib-2026.10/pyinstaller_hooks_contrib.egg-info/PKG-INFO
   2026-11-10 01:19:58.326237200 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: pyinstaller-hooks-contrib
-Version: 2026.6
+Version: 2026.10
 Summary: Community maintained hooks for PyInstaller
 Home-page: https://github.com/pyinstaller/pyinstaller-hooks-contrib
 Download-URL: https://pypi.org/project/pyinstaller-hooks-contrib
@@ -77,7 +77,7 @@
 Clone and `cd` inside your fork by running the following (replacing 
`bob-the-barnacle` with your github username):
 
 ```
-git clone https://github.com/bob-the-barnacle/pyinstaller-hoooks-contrib.git
+git clone https://github.com/bob-the-barnacle/pyinstaller-hooks-contrib.git
 cd pyinstaller-hooks-contrib
 ```
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/pyinstaller_hooks_contrib.egg-info/SOURCES.txt
 
new/pyinstaller_hooks_contrib-2026.10/pyinstaller_hooks_contrib.egg-info/SOURCES.txt
--- 
old/pyinstaller_hooks_contrib-2026.6/pyinstaller_hooks_contrib.egg-info/SOURCES.txt
 2026-06-09 00:37:12.000000000 +0200
+++ 
new/pyinstaller_hooks_contrib-2026.10/pyinstaller_hooks_contrib.egg-info/SOURCES.txt
        2026-11-10 01:19:58.361229700 +0100
@@ -122,6 +122,7 @@
 _pyinstaller_hooks_contrib/stdhooks/hook-docutils.py
 _pyinstaller_hooks_contrib/stdhooks/hook-docx.py
 _pyinstaller_hooks_contrib/stdhooks/hook-docx2pdf.py
+_pyinstaller_hooks_contrib/stdhooks/hook-dogpile.cache.py
 _pyinstaller_hooks_contrib/stdhooks/hook-duckdb.py
 _pyinstaller_hooks_contrib/stdhooks/hook-dynaconf.py
 _pyinstaller_hooks_contrib/stdhooks/hook-easyocr.py
@@ -149,6 +150,7 @@
 _pyinstaller_hooks_contrib/stdhooks/hook-faker.py
 _pyinstaller_hooks_contrib/stdhooks/hook-falcon.py
 _pyinstaller_hooks_contrib/stdhooks/hook-fastai.py
+_pyinstaller_hooks_contrib/stdhooks/hook-fastmcp.py
 _pyinstaller_hooks_contrib/stdhooks/hook-fastparquet.py
 _pyinstaller_hooks_contrib/stdhooks/hook-fckitlib.py
 _pyinstaller_hooks_contrib/stdhooks/hook-ffpyplayer.py
@@ -313,6 +315,7 @@
 _pyinstaller_hooks_contrib/stdhooks/hook-pointcept.py
 _pyinstaller_hooks_contrib/stdhooks/hook-pptx.py
 _pyinstaller_hooks_contrib/stdhooks/hook-prettytable.py
+_pyinstaller_hooks_contrib/stdhooks/hook-procrastinate.py
 _pyinstaller_hooks_contrib/stdhooks/hook-psutil.py
 _pyinstaller_hooks_contrib/stdhooks/hook-psychopy.py
 _pyinstaller_hooks_contrib/stdhooks/hook-psycopg2.py
@@ -322,6 +325,7 @@
 _pyinstaller_hooks_contrib/stdhooks/hook-pubsub.core.py
 _pyinstaller_hooks_contrib/stdhooks/hook-puremagic.py
 _pyinstaller_hooks_contrib/stdhooks/hook-py.py
+_pyinstaller_hooks_contrib/stdhooks/hook-py_ecc.py
 _pyinstaller_hooks_contrib/stdhooks/hook-pyarrow.py
 _pyinstaller_hooks_contrib/stdhooks/hook-pycountry.py
 _pyinstaller_hooks_contrib/stdhooks/hook-pycparser.py
@@ -355,6 +359,7 @@
 _pyinstaller_hooks_contrib/stdhooks/hook-pymeshlab.py
 _pyinstaller_hooks_contrib/stdhooks/hook-pymorphy3.py
 _pyinstaller_hooks_contrib/stdhooks/hook-pymssql.py
+_pyinstaller_hooks_contrib/stdhooks/hook-pymupdf.py
 _pyinstaller_hooks_contrib/stdhooks/hook-pynng.py
 _pyinstaller_hooks_contrib/stdhooks/hook-pynput.py
 _pyinstaller_hooks_contrib/stdhooks/hook-pyodbc.py
@@ -377,6 +382,7 @@
 _pyinstaller_hooks_contrib/stdhooks/hook-pytokens.py
 _pyinstaller_hooks_contrib/stdhooks/hook-pyttsx.py
 _pyinstaller_hooks_contrib/stdhooks/hook-pyttsx3.py
+_pyinstaller_hooks_contrib/stdhooks/hook-pyvista.py
 _pyinstaller_hooks_contrib/stdhooks/hook-pyviz_comms.py
 _pyinstaller_hooks_contrib/stdhooks/hook-pyvjoy.py
 _pyinstaller_hooks_contrib/stdhooks/hook-pywintypes.py
@@ -404,6 +410,7 @@
 _pyinstaller_hooks_contrib/stdhooks/hook-seedir.py
 _pyinstaller_hooks_contrib/stdhooks/hook-selectolax.py
 _pyinstaller_hooks_contrib/stdhooks/hook-selenium.py
+_pyinstaller_hooks_contrib/stdhooks/hook-sentry_sdk.integrations.mcp.py
 _pyinstaller_hooks_contrib/stdhooks/hook-sentry_sdk.py
 _pyinstaller_hooks_contrib/stdhooks/hook-setuptools_scm.py
 _pyinstaller_hooks_contrib/stdhooks/hook-shapely.py
@@ -467,6 +474,7 @@
 _pyinstaller_hooks_contrib/stdhooks/hook-thinc.backends.numpy_ops.py
 _pyinstaller_hooks_contrib/stdhooks/hook-thinc.py
 _pyinstaller_hooks_contrib/stdhooks/hook-timezonefinder.py
+_pyinstaller_hooks_contrib/stdhooks/hook-timezonefinder_data.py
 _pyinstaller_hooks_contrib/stdhooks/hook-timm.py
 _pyinstaller_hooks_contrib/stdhooks/hook-tinycss2.py
 _pyinstaller_hooks_contrib/stdhooks/hook-tkinterdnd2.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyinstaller_hooks_contrib-2026.6/tests/test_libraries.py 
new/pyinstaller_hooks_contrib-2026.10/tests/test_libraries.py
--- old/pyinstaller_hooks_contrib-2026.6/tests/test_libraries.py        
2026-06-09 00:37:02.000000000 +0200
+++ new/pyinstaller_hooks_contrib-2026.10/tests/test_libraries.py       
2026-11-10 01:19:42.978240500 +0100
@@ -11,6 +11,7 @@
 # ------------------------------------------------------------------
 
 import pathlib
+import sys
 
 import pytest
 from PyInstaller import isolated
@@ -23,6 +24,17 @@
 from PyInstaller.utils.tests import importorskip, importable, requires, xfail
 
 
+@importorskip('webrtcvad')
+def test_webrtcvad(pyi_builder):
+    pyi_builder.test_source(
+        '''
+        import webrtcvad
+        assert webrtcvad.__version__ != "unknown"
+        assert not webrtcvad.Vad(1).is_speech(bytes(640), 16000)
+        '''
+    )
+
+
 @importorskip('fiona')
 def test_fiona(pyi_builder):
     pyi_builder.test_source(
@@ -534,6 +546,7 @@
 @requires('google-api-python-client >= 2.0.0')
 def test_googleapiclient(pyi_builder):
     pyi_builder.test_source("""
+        import os
         from googleapiclient import discovery, discovery_cache
 
         API_NAME = "youtube"
@@ -1140,18 +1153,127 @@
 
 @importorskip("pygraphviz")
 def test_pygraphviz_bundled_programs(pyi_builder):
+    @isolated.decorate
+    def _get_programs_info():
+        import pathlib
+
+        import pygraphviz
+
+        # Check if this is pygraphviz >= 2.0
+        try:
+            pygraphviz_v2 = int(pygraphviz.__version__.split('.')[0]) >= 2
+        except Exception:
+            pygraphviz_v2 = False
+
+        # Check if pygraphviz/bin directory exists
+        try:
+            import pygraphviz.bin
+            bin_dir = pygraphviz.bin.__path__[0]
+            bin_dir = pathlib.Path(bin_dir).resolve()
+        except ImportError:
+            bin_dir = None
+
+        if pygraphviz_v2:
+            # 
https://github.com/pygraphviz/pygraphviz/blob/pygraphviz-2.0/pygraphviz/agraph.py#L1334-L1343
+            program_names = (
+                "gc",
+                "acyclic",
+                "gvpr",
+                "gvcolor",
+                "ccomps",
+                "sccmap",
+                "tred",
+                "unflatten",
+            )
+        else:
+            # 
https://github.com/pygraphviz/pygraphviz/blob/pygraphviz-1.14/pygraphviz/agraph.py#L1330-L1348
+            program_names = (
+                "neato",
+                "dot",
+                "twopi",
+                "circo",
+                "fdp",
+                "nop",
+                "osage",
+                "patchwork",
+                "gc",
+                "acyclic",
+                "gvpr",
+                "gvcolor",
+                "ccomps",
+                "sccmap",
+                "tred",
+                "sfdp",
+                "unflatten",
+            )
+
+        # Resolve every program using pygraphviz's own resolver, and determine 
if executable is bundled with package
+        # (PyPI wheel) or taken from system.
+        program_info = {}
+        g = pygraphviz.agraph.AGraph()
+        for program_name in program_names:
+            try:
+                program_executable = g._get_prog(program_name)
+            except Exception:
+                continue
+
+            program_path = pathlib.Path(program_executable).resolve()
+            is_bundled = bool(bin_dir and bin_dir in program_path.parents)
+
+            program_info[program_name] = is_bundled
+
+        return program_info
+
+    # Look up graphviz executable information, and require at least one 
executable to be successfully resolved.
+    programs_info = _get_programs_info()
+    assert programs_info
+
+    app_args = []
+    print("graphviz programs:", file=sys.stderr)
+    for name, bundled in programs_info.items():
+        print(f" - {name}, {'bundled' if bundled else 'system'}", 
file=sys.stderr)
+        app_args.append(f"{name}:{int(bundled)}")
+
     # Test that the frozen application is using collected graphviz executables 
instead of system-installed ones.
     pyi_builder.test_source("""
         import sys
-        import os
+        import pathlib
+
         import pygraphviz
 
-        bundle_dir = os.path.normpath(sys._MEIPASS)
-        dot_path = os.path.normpath(pygraphviz.AGraph()._get_prog('dot'))
+        if len(sys.argv) < 2:
+            raise SystemExit("At least one program name needs to be provided!")
 
-        assert os.path.commonprefix([dot_path, bundle_dir]) == bundle_dir, \
-            f"Invalid program path: {dot_path}!"
-        """)
+        top_level_app_dir = pathlib.Path(sys._MEIPASS).resolve()
+        package_dir = pathlib.Path(pygraphviz.__path__[0]).resolve()
+
+        print(f"Top-level application directory: {str(top_level_app_dir)!r}", 
file=sys.stderr)
+        print(f"Package directory: {str(package_dir)!r}", file=sys.stderr)
+
+        g = pygraphviz.agraph.AGraph()
+        for arg in sys.argv[1:]:
+            # Parse argument: "name:bundled", where bundled=<0|1>
+            tokens = arg.split(':')
+            assert len(tokens) == 2, "Invalid argument: should be in 
name:bundled format!"
+            name = tokens[0]
+            package_bundled = bool(int(tokens[1]))
+
+            print(f"Checking: {name!r}, package-bundled: {package_bundled}", 
file=sys.stderr)
+
+            program_path = pygraphviz.AGraph()._get_prog(name)
+            program_path = pathlib.Path(program_path).resolve()
+
+            print(f"Path: {str(program_path)!r}", file=sys.stderr)
+
+            # Ensure the program is part of frozen application bundle
+            assert top_level_app_dir in program_path.parents, \
+                f"Path for program {name!r}, {str(program_path)!r} is not 
rooted in top-level application directory!"
+
+            # If program was originally bundled with the package, ensure that 
this is still the case.
+            if package_bundled:
+                assert package_dir in program_path.parents, \
+                    f"Path for program {name!r}, {str(program_path)!r} is not 
rooted in package directory!"
+        """, app_args=app_args)
 
 
 @importorskip("pygraphviz")
@@ -1429,7 +1551,7 @@
 
         config_path = os.path.join(os.path.dirname(__file__), 'conf')
 
-        @hydra.main(config_path=config_path, config_name="config")
+        @hydra.main(version_base=None, config_path=config_path, 
config_name="config")
         def my_app(cfg):
             assert cfg.test_group.secret_string == 'secret'
             assert cfg.test_group.secret_number == 123
@@ -1466,6 +1588,9 @@
 def test_discid(pyi_builder):
     pyi_builder.test_source(
         """
+        import os
+        import sys
+
         # Basic import check
         import discid
 
@@ -1528,6 +1653,7 @@
 
     pyi_builder.test_source("""
         import os
+        import sys
         import json
 
         import compliance_checker
@@ -1571,6 +1697,18 @@
     )
 
 
+@importorskip('imageio')
+def test_imageio(pyi_builder):
+    pyi_builder.test_source("""
+        import imageio.v3 as iio
+        import numpy as np
+
+        image = np.arange(60, dtype=np.uint8).reshape(4, 5, 3)
+        encoded = iio.imwrite("<bytes>", image, extension=".png")
+        np.testing.assert_array_equal(iio.imread(encoded, extension=".png"), 
image)
+        """)
+
+
 @importorskip('moviepy')
 def test_moviepy(pyi_builder):
     # `moviepy.editor` tries to access the `moviepy.video.fx` and 
`moviepy.audio.fx` plugins/modules via the
@@ -1619,6 +1757,13 @@
     """)
 
 
+@importorskip('fastmcp')
+def test_fastmcp(pyi_builder):
+    pyi_builder.test_source("""
+        import fastmcp
+    """)
+
+
 @importorskip('fastparquet')
 def test_fastparquet(pyi_builder):
     pyi_builder.test_source("""
@@ -2754,8 +2899,11 @@
     """)
 
 
+# python-dateutil 3.0.0 deprecated dateutil.zoneinfo and removed the 
package-provided timezone info file.
 @importorskip('dateutil')
-def test_dateutil(pyi_builder):
[email protected](is_module_satisfies('python-dateutil >= 3.0.0'),
+                    reason='This test is not applicable to python-dateutil >= 
3.0.0')
+def test_dateutil_zoneinfo(pyi_builder):
     pyi_builder.test_source("""
         from dateutil.zoneinfo import getzoneinfofile_stream
 
@@ -2763,6 +2911,40 @@
     """)
 
 
+@importorskip('dateutil')
+def test_dateutil(pyi_builder):
+    pyi_builder.test_source("""
+        import sys
+
+        import dateutil.parser
+        import dateutil.rrule
+        import dateutil.relativedelta
+
+        reference_datetime = dateutil.parser.parse("Sat Oct 11 17:13:46 UTC 
2003")
+        reference_date = reference_datetime.date()
+
+        print(f"Reference date: {reference_date}", file=sys.stderr)
+
+        year = dateutil.rrule.rrule(
+            dateutil.rrule.YEARLY,
+            dtstart=reference_datetime,
+            bymonth=8,
+            bymonthday=13,
+            byweekday=dateutil.rrule.FR,
+        )[0].year
+
+        print(f"Year with next Aug 13th on a Friday is: {year}", 
file=sys.stderr)
+
+        rdelta = dateutil.relativedelta.relativedelta(
+            dateutil.easter.easter(year),
+            reference_date,
+        )
+
+        print(f"How far is the Easter of that year: {rdelta}", file=sys.stderr)
+        print(f"And the Easter of that year is: {reference_date + rdelta}", 
file=sys.stderr)
+    """)
+
+
 @importorskip('niquests')
 def test_niquests(pyi_builder):
     pyi_builder.test_source("""
@@ -3082,6 +3264,36 @@
     """)
 
 
+@importorskip('duckdb')
+@importorskip('fsspec')
+def test_duckdb_read_json(pyi_builder):
+    pyi_builder.test_source("""
+        import io
+
+        import duckdb
+
+        json_data = '''
+            [
+              {
+                "id": 1,
+                "title": "Entry #1",
+              },
+              {
+                "id": 2,
+                "title": "Entry #2",
+              },
+              {
+                "id": 3,
+                "title": "Entry #3",
+              }
+            ]
+        '''
+
+        data = duckdb.read_json(io.StringIO(json_data))
+        print(f"Records: {data.fetchall()}")
+    """)
+
+
 @importorskip('dateparser')
 def test_dateparser(pyi_builder):
     pyi_builder.test_source("""
@@ -3355,3 +3567,97 @@
         s = Serializer()
         assert s.serialize(timedelta(seconds=90)) == "0:01:30"
 """)
+
+
+@importorskip("procrastinate")
+def test_procrastinate(pyi_builder):
+    pyi_builder.test_source("""
+        import procrastinate
+        from procrastinate.schema import SchemaManager
+
+        # procrastinate.metadata reads the distribution metadata when the 
top-level package is imported.
+        assert procrastinate.__version__
+
+        # procrastinate.sql parses sql/queries.sql when it is imported.
+        assert 'defer_jobs' in procrastinate.sql.queries
+
+        # sql/schema.sql is read on demand.
+        assert 'CREATE TABLE' in SchemaManager.get_schema()
+""")
+
+
+@importorskip("py_ecc")
+def test_py_ecc(pyi_builder):
+    pyi_builder.test_source("""
+        from py_ecc.bls import G2ProofOfPossession as bls_pop
+
+        private_key = 5566
+        public_key = bls_pop.SkToPk(private_key)
+
+        message = b'Message to be signed'
+
+        # Signing
+        signature = bls_pop.Sign(private_key, message)
+
+        # Verifying
+        assert bls_pop.Verify(public_key, message, signature)
+""")
+
+
+@importorskip("dogpile.cache")
+def test_dogpile_cache(pyi_builder):
+    pyi_builder.test_source("""
+        from dogpile.cache import make_region
+        from dogpile.cache.api import NO_VALUE
+
+        # Resolve backends by their registered names, as applications do.
+        region = make_region().configure('dogpile.cache.null')
+        region.set('key', 'value')
+        assert region.get('key') is NO_VALUE
+
+        for backend in ('dogpile.cache.memory', 'dogpile.cache.memory_pickle'):
+            region = make_region().configure(backend)
+            region.set('key', {'value': 42})
+            assert region.get('key') == {'value': 42}
+""")
+
+
+@importorskip("pymupdf")
+def test_pymupdf(pyi_builder, tmp_path):
+    pdf_filename = tmp_path / 'output.pdf'
+    txt_filename = tmp_path / 'output.txt'
+
+    pyi_builder.test_source("""
+        # Based on examples at 
https://pymupdf.readthedocs.io/en/latest/the-basics.html
+        import sys
+
+        import pymupdf
+
+        pdf_filename = sys.argv[1]
+        txt_filename = sys.argv[2]
+
+        # Create new document and add a page with text
+        doc = pymupdf.open()
+        n = doc.insert_page(
+            -1,  # default insertion point
+            text="The quick brown fox jumped over the lazy dog",
+            fontsize=11,
+            width=595,
+            height=842,
+            fontname="Helvetica",  # default font
+            fontfile=None,  # any font file name
+            color=(0, 0, 0),  # text color (RGB)
+        )
+        doc.save(pdf_filename)
+
+        # Re-open the generated document and extract the text
+        doc = pymupdf.open(pdf_filename)
+        with open(txt_filename, "w") as fp:
+            for page in doc:
+                text = page.get_text()
+                fp.write(text)
+        doc.close()
+    """, app_args=[str(pdf_filename), str(txt_filename)])
+
+    text = txt_filename.read_text(encoding='utf-8').strip()
+    assert text == 'The quick brown fox jumped over the lazy dog'

Reply via email to