* Fix a bug since v4.6 where certain Unix system directories were incorrectly
assumed to exist and resulted in
a :class:`FileNotFoundError`. (:issue:`[#6331](https://github.com/pyinstaller/pyinstaller/issues/6331)`)
Hooks
* Update ``sphinx`` hook for compatibility with latest version (4.2.0).
(:issue:`[#6330](https://github.com/pyinstaller/pyinstaller/issues/6330)`)
Bootloader
</code></pre>
<ul>
<li>(Windows) Explicitly set <code>NTDDI_VERSION=0x06010000</code> and
<code>_WIN32_WINNT=0x0601</code> when compiling Windows bootloaders to request
Windows 7 feature level for Windows headers. The windowed bootloader
requires at least Windows Vista feature level, and some toolchains
(e.g., mingw cross-compiler on linux) set too low level by default.
(:issue:<code>[#6338](https://github.com/pyinstaller/pyinstaller/issues/6338)</code>)</li>
<li>(Windows) Remove the check for the unused <code>windres</code> utility when compiling
with MinGW toolchain. (:issue:<code>[#6339](https://github.com/pyinstaller/pyinstaller/issues/6339)</code>)</li>
<li>Replace use of <code>PyRun_SimpleString</code> with <code>PyRun_SimpleStringFlags</code>.
(:issue:<code>[#6332](https://github.com/pyinstaller/pyinstaller/issues/6332)</code>)</li>
</ul>
<h2>4.6 (2021-10-29)</h2>
<p>Features</p>
<pre><code>
* 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)`)
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/41842f5ad31dd33d7ba4ae03daace2287c80dcb7"><code>41842f5</code></a> release v4.7</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/b4cd8e7e11fdd614e4cf7cc510b40c950adca023"><code>b4cd8e7</code></a> Update README version for release</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/5c72041b47fcf12915b1228f8bf9255a4b5e168d"><code>5c72041</code></a> rebuild man pages</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/ec02dad83177461a26e5a35fb0050750c192bc5d"><code>ec02dad</code></a> Prepare for release 4.7</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/b9ea730974b4f1b93aeab5fd18b08f647c25f747"><code>b9ea730</code></a> Rebuild bootloaders</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/6248924faae4b50c0bac6e3b80767c7e05271c79"><code>6248924</code></a> Assorted environment checks. (<a href="https://github-redirect.dependabot.com/pyinstaller/pyinstaller/issues/6361">#6361</a>)</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/a10ff6ffa26df1662f8baf8a1eb46d15518ce506"><code>a10ff6f</code></a> bootloader: remove the check for unused windres utility</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/1ca7f65499ff2f8e1990e2fdf1f7ac046804dce4"><code>1ca7f65</code></a> bootloader: set NTDDI_VERSION & _WIN32_WINNT when compiling for Windows</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/4d1c98cd6070c521b2b85ab7e6390dae616f9b60"><code>4d1c98c</code></a> bootloader: replace PyRun_SimpleString with PyRun_SimpleStringFlags</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/d8c434a9100f00ac5ac6a773afa8cdce6f78cbb5"><code>d8c434a</code></a> Bindepend: Fix FileNotFoundErrors in _which_library().</li>
<li>Additional commits viewable in <a href="https://github.com/pyinstaller/pyinstaller/compare/v4.3...v4.7">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.7)](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.7.
Release notes
Sourced from pyinstaller's releases.
Changelog
Sourced from pyinstaller's changelog.