Note that this is intended to be the last v5.x release. v6.0 will contain breaking changes from #7619, #7713 and #6999. If you want to avoid unexpected disruption, you may wish to pin pyinstaller (e.g. pip install "pyinstaller<6").
* (Linux) Collect ``.hmac`` files accompanying shared libraries, if such files
are available. This allows frozen application to run on FIPS-enabled Red Hat
Enterprise systems, where HMAC is required by self-check implemented by the
OpenSSL crypto library. Furthermore, ensure that shared libraries with
accompanying ``.hmac`` files are exempted from any additional processing (for
example, when building with :option:`--strip` option) to avoid invalidating
the HMAC. (:issue:`8273`)
* (Windows) Make bootloader codepaths involved in creation of temporary
directories for ``onefile`` builds AppContainer-aware. If the process runs
inside an AppContainer, the temporary directory's DACL needs to explicitly
include the AppContainerSID, otherwise the directory becomes inaccessible to
the process. (:issue:`8291`)
* (Windows) Make Windows implementation of PyInstaller's
``_pyi_rth_utils.tempdir.secure_mkdir`` (used by ``matplotlib`` and
``win32com`` run-time hooks to create temporary directories)
AppContainer-aware. If the process runs inside an AppContainer, the temporary
directory's DACL needs to explicitly include the AppContainerSID, otherwise
the directory becomes inaccessible to the process. (:issue:`8290`)
* Implement strict Qt dependency validation for collection of Qt plugins and QML
components/plugins. We now perform preliminary binary dependency analysis of
the plugins, and automatically exclude plugins that have at least one missing
Qt dependency. This prevents collection of plugins that cannot be used anyway
because of a missing Qt shared library (that is, for example, omitted from a
PyPI wheel). Furthermore, we disallow Qt dependencies of a plugin to be
resolved outside of the primary location of Qt shared libraries, in order to
prevent missing dependencies from pulling in Qt libraries from alternative
locations that happen to be in the search path (for example, when using
``PyQt5`` PyPI wheels while also having a system-installed Qt5 on Linux, a
Homebrew-installed Qt5 on macOS, or a custom Windows Qt5 build that happens to
be in ``PATH``). (:issue:`8226`)
Bugfix
* (Linux) Prevent collection of ``libcuda.so.1``, which is part of NVIDIA
driver and must match the rest of the driver's components. Collecting
a copy might lead to issues when build and target system use different
versions of NVIDIA driver. (:issue:`8278`)
* (macOS) When validating the macOS SDK version of collected binaries,
handle errors raised by ``osxutils.get_macos_sdk_version``; log a
warning about failed version query, and add the offending binary to
the list of potentially problematic binaries to warn the user about.
(:issue:`8220`)
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/90256f93ed943daf6de53c7dd39710a415f705cb"><code>90256f9</code></a> Release v6.4.0. [skip ci]</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/4aabd10778f288b6b952117c9679ca596c8d196d"><code>4aabd10</code></a> bootloader: update bundled zlib to 1.3.1</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/1516019dd16f04ece9a2af15f0267e7aa2773f34"><code>1516019</code></a> bootloader: make creation of temporary directories AppContainer-aware</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/14a68ab536f7f73786c17c03abd89f8afc76754f"><code>14a68ab</code></a> bootloader: refactor pyi_win32_mkdir</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/08e2ee5bcc3da0e0680accc87e556d42ed0d9f01"><code>08e2ee5</code></a> building: process_collected_binary: warn on strip/upx failures</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/890460069b2fb49bf40efbd49066d48a2781f1a8"><code>8904600</code></a> building: avoid applying upx/strip to linux binaries with .hmac files</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/473abda7715233dbc4f703e9b743670144d2cdf4"><code>473abda</code></a> building: refactor process_collected_binary</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/4f7ec5b8496211d73295742c0d91a4c2c3a9a4f5"><code>4f7ec5b</code></a> building: process_collected_binaries: remove check for .manifest file</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/3a6c742a35f8a94f8a75ee57708c4d682c25579f"><code>3a6c742</code></a> building: utils: switch bincache hashes from md5 to sha1</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/7caa3adbd24aaae51d08c10c40fcf4fec23e856d"><code>7caa3ad</code></a> building: collect .hmac files for linux shared libraries</li>
<li>Additional commits viewable in <a href="https://github.com/pyinstaller/pyinstaller/compare/v4.3...v6.4.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=4.3&new-version=6.4.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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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 4.3 to 6.4.0.
Release notes
Sourced from pyinstaller's releases.
... (truncated)
Changelog
Sourced from pyinstaller's changelog.