* Choose :ref:`hooks provided by packages <provide hooks with package>` over
hooks from
`pyinstaller-hooks-contrib <https://github.com/pyinstaller/pyinstaller-hooks-contrib/>`_
if both provide the same hook. (:issue:`7456`)
Bugfix
* Fix changes to :data:`sys.path` made in the spec file being ignored by hook
utility functions (e.g. :func:`~PyInstaller.utils.hooks.collect_submodules`).
(:issue:`7456`)
5.8.0 (2023-02-11)
------------------
Features
</code></pre>
<ul>
<li>Compile the collected GLib schema files using <code>glib-schema-compiler</code>
instead of collecting the pre-compiled <code>gschemas.compiled</code> file, in
order to properly support collection of schema files from multiple
locations. Do not collect the source schema files anymore, as only
<code>gschemas.compiled</code> file should be required at run time. (:issue:<code>7394</code>)</li>
</ul>
<p>Bugfix</p>
<pre><code>
* (Cygwin) Avoid using Windows-specific codepaths that require
``pywin32-ctypes`` functionality that is not available in Cygwin
environment. (:issue:`7382`)
* (non-Windows) Fix race condition in environment modification done by
``multiprocessing`` runtime hook when multiple threads concurrently
spawn processes using the ``spawn`` method. (:issue:`7410`)
* (Windows) Changes in the version info file now trigger rebuild of the
executable file. (:issue:`7338`)
* Disallow empty source path in the ``binaries`` and ``datas`` tuples
that are returned from the hooks and sanitized in the
``PyInstaller.building.utils.format_binaries_and_datas``. The empty
source path is usually result of an error in the hook's path retrieval
code, and causes implicit collection of the whole current working
directory. This is never the intended behavior, so raise a ``SystemExit``.
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/77022483b440448c62efd264ab5c5d5dd26b2e03"><code>7702248</code></a> Release v5.9.0. [skip ci]</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/89a1f69beaf03d47531573d538580717927c94d6"><code>89a1f69</code></a> Replace deprecated error with BadZipFile</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/8bcf75fad851fc6597d678800e8ec6d5675a139d"><code>8bcf75f</code></a> Replace deprecated BadZipfile with BadZipFile</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/df992f17040a76fac5ac21d1edbfd72bb751c217"><code>df992f1</code></a> Tests: Requirements: Scheduled weekly dependency update for week 11 (<a href="https://redirect.github.com/pyinstaller/pyinstaller/issues/7486">#7486</a>)</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/960a5d3ea39701a64793b7d6d5b336d225e1fd8d"><code>960a5d3</code></a> Remove hook-numpy._pytesttester.py.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/0f0147e55cdd65272f555ebc0e708c3e162a2a48"><code>0f0147e</code></a> Remove <em>Several hooks defined for</em> warning. (<a href="https://redirect.github.com/pyinstaller/pyinstaller/issues/7477">#7477</a>)</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/a0085221fd6b514028bdc3103ef591d30096d4c0"><code>a008522</code></a> Tests: Requirements: Scheduled weekly dependency update for week 10 (<a href="https://redirect.github.com/pyinstaller/pyinstaller/issues/7475">#7475</a>)</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/330339781b275ad843837ba91cecf88e1caeaacc"><code>3303397</code></a> Tests: Requirements: Scheduled weekly dependency update for week 09 (<a href="https://redirect.github.com/pyinstaller/pyinstaller/issues/7465">#7465</a>).</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/a9b8d35c6d354fde9bef6fc95563262ea045e032"><code>a9b8d35</code></a> Propagate sys.path to PyInstaller.isolated subprocesses.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/556cd59e66a8b034d8061267ef9b5dea05526821"><code>556cd59</code></a> Prevent pyinstaller-hooks-contrib <em>randomly</em> shadowing hooks from packages.</li>
<li>Additional commits viewable in <a href="https://github.com/pyinstaller/pyinstaller/compare/v5.7.0...v5.9.0">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyinstaller&package-manager=pip&previous-version=5.7.0&new-version=5.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pyinstaller from 5.7.0 to 5.9.0.
Release notes
Sourced from pyinstaller's releases.
Changelog
Sourced from pyinstaller's changelog.