* Add support for Python 3.10. (:issue:`[#5693](https://github.com/pyinstaller/pyinstaller/issues/5693)`)
(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:[#6248](https://github.com/pyinstaller/pyinstaller/issues/6248))
(Windows) Respect :pep:239 encoding specifiers in Window's VSVersionInfo
files. (:issue:[#6259](https://github.com/pyinstaller/pyinstaller/issues/6259))
Implement basic resource reader for accessing on-filesystem resources (data
files)
via importlib.resources (python >= 3.9) or importlib_resources
(python <= 3.8). (:issue:[#5616](https://github.com/pyinstaller/pyinstaller/issues/5616))
Ship precompiled wheels for musl-based Linux distributions (such as Alpine or
OpenWRT) on x86_64 and aarch64. (:issue:[#6245](https://github.com/pyinstaller/pyinstaller/issues/6245))
Bugfix
* (macOS) Ensure that executable pre-processing and post-processing steps
(target arch selection, SDK version adjustment, (re)signing) are applied in
the stand-alone PKG mode. (:issue:`[#6251](https://github.com/pyinstaller/pyinstaller/issues/6251)`)
* (macOS) Robustify the macOS assembly pipeline to work around the issues with
the ``codesign`` utility on macOS 10.13 High Sierra. (:issue:`[#6167](https://github.com/pyinstaller/pyinstaller/issues/6167)`)
* (Windows) Fix collection of ``sysconfig`` platform-specific data module when
using MSYS2/MINGW python. (:issue:`[#6118](https://github.com/pyinstaller/pyinstaller/issues/6118)`)
* (Windows) Fix displayed script name and exception message in the
unhandled exception dialog (windowed mode) when bootloader is compiled
using the ``MinGW-w64`` toolchain. (:issue:`[#6199](https://github.com/pyinstaller/pyinstaller/issues/6199)`)
* (Windows) Fix issues in ``onedir`` frozen applications when the bootloader
is compiled using a toolchain that forcibly embeds a default manifest
(e.g., the ``MinGW-w64`` toolchain from ``msys2``). The issues range from
manifest-related options (e.g., ``uac-admin``) not working to windowed frozen
application not starting at all (with the ``The procedure entry point
LoadIconMetric could not be located...`` error message). (:issue:`[#6196](https://github.com/pyinstaller/pyinstaller/issues/6196)`)
* (Windows) Fix the declared length of strings in the optional embedded
product version information resource structure. The declared lengths
were twice too long, and resulted in trailing garbage characters when
the version information was read using `ctypes` and winver API.
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/6eae2c7cf93a968ddc054339e0cb3063f90d0e64"><code>6eae2c7</code></a> release v4.6</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/c45a1d9b26daa28a3fed7b8c463311233a94b683"><code>c45a1d9</code></a> Change README version for release</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/7f370f03d0911e636c0294a1d017ac0907cee9bb"><code>7f370f0</code></a> rebuild man pages</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/0540bcb697cee33725d55c08c40165762497f38f"><code>0540bcb</code></a> Prepare for release 4.6</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/ad5c802113974599eac4a5c5e90492f6a9e99414"><code>ad5c802</code></a> Setup: Block installation on too new Python versions. [skip ci]</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/6feeff2826b1761cad8c22247aa66e2167d1661b"><code>6feeff2</code></a> Fix compatibility with MIPS and loongarch64 architectures. (<a href="https://github-redirect.dependabot.com/pyinstaller/pyinstaller/issues/6306">#6306</a>)</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/e8f25f78974096a40dd50684bc831ff01b5e0b0b"><code>e8f25f7</code></a> Add hooks for PyQt6/PySide6 QtOpenGLWidgets and add a dynamic dependency (<a href="https://github-redirect.dependabot.com/pyinstaller/pyinstaller/issues/6310">#6310</a>)</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/1f9a2890dfa99525549bbbfdb985352154bff492"><code>1f9a289</code></a> Rebuild the bootloaders</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/9ddea56950ac81e31ff206ce52147bd7c6243a59"><code>9ddea56</code></a> bootloader: add Dockerfile.osxcross</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/6f1d54c05ddbfb80bd8dc06547c79775bf9240bd"><code>6f1d54c</code></a> Doc: Declare support for Python 3.10.</li>
<li>Additional commits viewable in <a href="https://github.com/pyinstaller/pyinstaller/compare/v4.3...v4.6">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=4.6)](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.3 to 4.6.
Release notes
Sourced from pyinstaller's releases.
Changelog
Sourced from pyinstaller's changelog.