* Provide basic implementation for ``FrozenImporter.get_source()`` that
allows reading source from ``.py`` files that are collected by hooks as
data files. (:issue:`[#5697](https://github.com/pyinstaller/pyinstaller/issues/5697)`)
* Raise the maximum allowed size of ``CArchive`` (and consequently ``onefile``
executables) from 2 GiB to 4 GiB. (:issue:`[#3939](https://github.com/pyinstaller/pyinstaller/issues/3939)`)
* The `unbuffered stdio` mode (the ``u`` option) now sets the
``Py_UnbufferedStdioFlag``
flag to enable unbuffered stdio mode in Python library. (:issue:`[#1441](https://github.com/pyinstaller/pyinstaller/issues/1441)`)
* Windows: Set EXE checksums. Reduces false-positive detection from antiviral
software. (:issue:`[#5579](https://github.com/pyinstaller/pyinstaller/issues/5579)`)
* Add new command-line options that map to collect functions from hookutils:
``--collect-submodules``, ``--collect-data``, ``--collect-binaries``,
``--collect-all``, and ``--copy-metadata``. (:issue:`[#5391](https://github.com/pyinstaller/pyinstaller/issues/5391)`)
* Add new hook utility :func:`~PyInstaller.utils.hooks.collect_entry_point` for
collecting plugins defined through setuptools entry points. (:issue:`[#5734](https://github.com/pyinstaller/pyinstaller/issues/5734)`)
Bugfix
* (macOS) Fix ``Bad CPU type in executable`` error in helper-spawned python
processes when running under ``arm64``-only flavor of Python on Apple M1.
(:issue:`[#5640](https://github.com/pyinstaller/pyinstaller/issues/5640)`)
* (OSX) Suppress missing library error messages for system libraries as
those are never collected by PyInstaller and starting with Big Sur,
they are hidden by the OS. (:issue:`[#5107](https://github.com/pyinstaller/pyinstaller/issues/5107)`)
* (Windows) Change default cache directory to ``LOCALAPPDATA``
(from the original ``APPDATA``).
This is to make sure that cached data
doesn't get synced with the roaming profile.
For this and future versions ``AppData\Roaming\pyinstaller``
might be safely deleted. (:issue:`[#5537](https://github.com/pyinstaller/pyinstaller/issues/5537)`)
* (Windows) Fix ``onefile`` builds not having manifest embedded when icon is
disabled via ``--icon NONE``. (:issue:`[#5625](https://github.com/pyinstaller/pyinstaller/issues/5625)`)
* (Windows) Fix the frozen program crashing immediately with
``Failed to execute script pyiboot01_bootstrap`` message when built in
``noconsole`` mode and with import logging enabled (either via
``--debug imports`` or ``--debug all`` command-line switch). (:issue:`[#4213](https://github.com/pyinstaller/pyinstaller/issues/4213)`)
* ``CArchiveReader`` now performs full back-to-front file search for
``MAGIC``, allowing ``pyi-archive_viewer`` to open binaries with extra
appended data after embedded package (e.g., digital signature).
(:issue:`[#2372](https://github.com/pyinstaller/pyinstaller/issues/2372)`)
* Fix ``MERGE()`` to properly set references to nested resources with their
full shared-package-relative path instead of just basename. (:issue:`[#5606](https://github.com/pyinstaller/pyinstaller/issues/5606)`)
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/e20e74c03768d432d48665b8ef1e02511b16e4be"><code>e20e74c</code></a> release 4.3</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/4a08839dfc98dc2f2e1662f608e26e3ab79cdca4"><code>4a08839</code></a> rebuild man pages</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/8090d562f92e08954950ca82dca1ad03b6bf89ca"><code>8090d56</code></a> Update readme version (for PyPI page)</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/4529c6597c951a4412530e6d199e635c25ff6328"><code>4529c65</code></a> Update credits</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/9bc8dd7c4e59139791834e92cf45de8158fb7347"><code>9bc8dd7</code></a> Prepare for release 4.3</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/aeff9cfe3916c84b8e347f74794931839ce2d9c5"><code>aeff9cf</code></a> add readthedocs config</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/419f349dad721a253b19d9c596e251818132d6ba"><code>419f349</code></a> Add hook utility for collecting setuptools entrypoints.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/5c2dda98c1103cdcea6b3c157ff419d94139ea26"><code>5c2dda9</code></a> building: collect built-in extensions into lib-dynload sub-directory (<a href="https://github-redirect.dependabot.com/pyinstaller/pyinstaller/issues/5604">#5604</a>)</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/577e755b7db5e4bd156477e0848fb63e931c253f"><code>577e755</code></a> Analysis: ctypes: Guard against errors triggered by find_library(). (<a href="https://github-redirect.dependabot.com/pyinstaller/pyinstaller/issues/5734">#5734</a>)</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/745f03c7277cc2214d2e0ca6e2a9bd81b8c906fe"><code>745f03c</code></a> Bootloader: waf: Support cross-compile for FreeBSD. [skip-ci]</li>
<li>Additional commits viewable in <a href="https://github.com/pyinstaller/pyinstaller/compare/v4.2...v4.3">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.2&new-version=4.3)](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.2 to 4.3.
Release notes
Sourced from pyinstaller's releases.
Changelog
Sourced from pyinstaller's changelog.