* (macOS) App bundles built in ``onedir`` mode can now opt-in for :ref:`argv
emulation <macos event forwarding and argv emulation>` so that file paths
passed from the UI (`Open with...`) are reflected in :data:`sys.argv`.
(:issue:`[#5908](https://github.com/pyinstaller/pyinstaller/issues/5908)`)
* (macOS) App bundles built in ``onedir`` mode can now opt-in for :ref:`argv
emulation <macos event forwarding and argv emulation>` so that file paths
received in initial drag & drop event are reflected in :data:`sys.argv`.
(:issue:`[#5436](https://github.com/pyinstaller/pyinstaller/issues/5436)`)
* (macOS) The :ref:`argv emulation <macos event forwarding and argv emulation>`
functionality is now available as an optional feature for app bundles
built in either ``onefile`` or ``onedir`` mode. (:issue:`[#6089](https://github.com/pyinstaller/pyinstaller/issues/6089)`)
* (Windows) Embed the manifest into generated ``onedir`` executables by
default, in order to avoid potential issues when user renames the executable
(e.g., the manifest not being found anymore due to activation context
caching when user renames the executable and attempts to run it before
also renaming the manifest file). The old behavior of generating the
external manifest file in ``onedir`` mode can be re-enabled using the
:option:`--no-embed-manifest` command-line switch, or via the
``embed_manifest=False`` argument to ``EXE()`` in the .spec file.
(:issue:`[#6223](https://github.com/pyinstaller/pyinstaller/issues/6223)`)
* (Wine) Prevent collection of Wine built-in DLLs (in either PE-converted or
fake/placeholder form) when building a Windows frozen application under
Wine. Display a warning for each excluded Wine built-in DLL. (:issue:`[#6149](https://github.com/pyinstaller/pyinstaller/issues/6149)`)
* Add a :mod:`PyInstaller.isolated` submodule as a safer replacement to
:func:`PyInstaller.utils.hooks.exec_statement`. (:issue:`[#6052](https://github.com/pyinstaller/pyinstaller/issues/6052)`)
* Improve matching of UPX exclude patterns to include OS-default case
sensitivity,
the wildcard operator (``*``), and support for parent directories in the
pattern.
Enables use of patterns like ``"Qt*.dll"`` and ``"PySide2*.pyd"``.
(:issue:`[#6161](https://github.com/pyinstaller/pyinstaller/issues/6161)`)
* Make the error handing of :func:`~PyInstaller.utils.hooks.collect_submodules`
configurable. (:issue:`[#6052](https://github.com/pyinstaller/pyinstaller/issues/6052)`)
Bugfix
* (macOS) Fix potential loss of Apple Events during ``onefile`` app bundle
start-up, when the child process is not yet ready to receive events
forwarded by the parent process. (:issue:`[#6089](https://github.com/pyinstaller/pyinstaller/issues/6089)`)
* (Windows) Remove the attempt to load the manifest of a ``onefile``
frozen executable via the activation context, which fails with *An
attempt to set the process default activation context failed because
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/54eb11753e71d592da8b92b9d1796764727b1a68"><code>54eb117</code></a> Release v5.0. [skip ci]</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/1a5837e654492f59ece247c8e1e442d1219202ba"><code>1a5837e</code></a> Forward port and remove news entries for changes already in v4.x.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/086223fc58b7906ea0cb6a03e2ba2310613a1485"><code>086223f</code></a> docs: update the minimum supported macOS version</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/5990474cbd06e9663fe6515a1fb570c21e1e47af"><code>5990474</code></a> docs: assorted changes [skip ci] (<a href="https://github-redirect.dependabot.com/pyinstaller/pyinstaller/issues/6749">#6749</a>)</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/ab93426dc6bccf14f67e694f10b22f49c698040e"><code>ab93426</code></a> bootloader: bump reported bootloader version to 5.x</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/d5a6c0e522a28ee1babb2ac2e8ad3f594f507ed4"><code>d5a6c0e</code></a> Tests: Requirements: Scheduled weekly dependency update for week 15 (<a href="https://github-redirect.dependabot.com/pyinstaller/pyinstaller/issues/6738">#6738</a>)</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/3aad9af18641aa2181dd86cececc2aeb8a0dba06"><code>3aad9af</code></a> Icon translation using PIL (<a href="https://github-redirect.dependabot.com/pyinstaller/pyinstaller/issues/6697">#6697</a>)</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/7acfd674ec49504cbc0e54ffbccb0fea64a33ff7"><code>7acfd67</code></a> bootloader: remove superfluous argument to pyi_arch_status_new() call</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/b87d426187079270cf26defa9866a3407f61e123"><code>b87d426</code></a> Remove timeout on UPX subprocesses (<a href="https://github-redirect.dependabot.com/pyinstaller/pyinstaller/issues/6722">#6722</a>).</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/3940e5fc5f9e02bce9f1af53c70a42db81071381"><code>3940e5f</code></a> Cleanup: Remove unused zest release machinery.</li>
<li>Additional commits viewable in <a href="https://github.com/pyinstaller/pyinstaller/compare/v4.10...v5.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.10&new-version=5.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 4.10 to 5.0.
Release notes
Sourced from pyinstaller's releases.
Changelog
Sourced from pyinstaller's changelog.