* Add hooks utilities to find binary dependencies of Anaconda distributions.
(:issue:`[#5213](https://github.com/pyinstaller/pyinstaller/issues/5213)`)
* (OSX) Automatically remove the signature from the collected copy of the
``Python`` shared library, using ``codesign --remove-signature``. This
accommodates both ``onedir`` and ``onefile`` builds with recent python
versions for macOS, where invalidated signature on PyInstaller-collected
copy of the ``Python`` library prevents the latter from being loaded.
(:issue:`[#5451](https://github.com/pyinstaller/pyinstaller/issues/5451)`)
* (Windows) PyInstaller's console or windowed icon is now added at freeze-time
and
no longer built into the bootloader. Also, using ``--icon=NONE`` allows to
not
apply any icon, thereby making the OS to show some default icon.
(:issue:`[#4700](https://github.com/pyinstaller/pyinstaller/issues/4700)`)
* (Windows) Enable ``longPathAware`` option in built application's manifest in
order to support long file paths on Windows 10 v.1607 and later.
(:issue:`[#5424](https://github.com/pyinstaller/pyinstaller/issues/5424)`)
Bugfix
* Fix loading of plugin-type modules at run-time of the frozen application:
If the plugin path is one character longer than sys._MEIPATH
(e.g. "$PWD/p/plugin_1" and "$PWD/dist/main"),
the plugin relative-imports a sub-module (of the plugin)
and the frozen application contains a module of the same name,
the frozen application module was imported. (:issue:`[#4141](https://github.com/pyinstaller/pyinstaller/issues/4141)`, :issue:`[#4299](https://github.com/pyinstaller/pyinstaller/issues/4299)`)
* Ensure that spec for frozen packages has ``submodule_search_locations`` set
in order to fix compatibility with ``importlib_resources`` 3.2.0 and later.
(:issue:`[#5396](https://github.com/pyinstaller/pyinstaller/issues/5396)`)
* Fix: No rebuild if "noarchive" build-option changes. (:issue:`[#5404](https://github.com/pyinstaller/pyinstaller/issues/5404)`)
* (OSX) Fix the problem with ``Python`` shared library collected from
recent python versions not being loaded due to invalidated signature.
(:issue:`[#5062](https://github.com/pyinstaller/pyinstaller/issues/5062)`, :issue:`[#5272](https://github.com/pyinstaller/pyinstaller/issues/5272)`, :issue:`[#5434](https://github.com/pyinstaller/pyinstaller/issues/5434)`)
* (Windows) PyInstaller's default icon is no longer built into the bootloader,
but
added at freeze-time. Thus, when specifiying an icon, only that icon is
contained in the executable and displayed for a shortcut. (:issue:`[#870](https://github.com/pyinstaller/pyinstaller/issues/870)`,
:issue:`[#2995](https://github.com/pyinstaller/pyinstaller/issues/2995)`)
* (Windows) Fix "toc is bad" error messages
when passing a ``VSVersionInfo``
as the ``version`` parameter to ``EXE()``
in a ``.spec`` file. (:issue:`[#5445](https://github.com/pyinstaller/pyinstaller/issues/5445)`)
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/40c9abce2d8de879e414fd377c933dccaab1e156"><code>40c9abc</code></a> Release 4.2.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/84ed923b2977b3469a6dc679d8a0701b05467e13"><code>84ed923</code></a> doc: Rebuild man-pages for release 4.2.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/66e8334168b13c20731f2b2ac53c7631e65a9e99"><code>66e8334</code></a> Update versions in README.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/fad0737520fab5b18e926ad26dfc2e24fbb00c97"><code>fad0737</code></a> Update CREDITS for release 4.2</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/3606b85aab5a17a4805c5361564364d0850851a6"><code>3606b85</code></a> Preparing release 4.2.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/b5351a801be105c0cceb73889c09d2d6646b80b1"><code>b5351a8</code></a> Recompile Bootloaders for Windows, Darwin and Linux.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/a8459b53531dd85323aa22601b94babae4cfd5b2"><code>a8459b5</code></a> bootloader: Retrieve failed script error details before cleared.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/faee2a99deae6c9f8e1e67606a5f43af974e3fd4"><code>faee2a9</code></a> Hooks: Conda: Use Conda's metadata to identify binary dependencies.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/bc92b271bc975a3f758418eb10e86c9f4592dac3"><code>bc92b27</code></a> Doc: Add autodoc sphinx extension.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/de511a1c602d0eaf534e0a8e941108891003bac8"><code>de511a1</code></a> building: macOS: strip the signature off the collected Python shared library</li>
<li>Additional commits viewable in <a href="https://github.com/pyinstaller/pyinstaller/compare/v4.1...v4.2">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.1&new-version=4.2)](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.1 to 4.2.
Release notes
Sourced from pyinstaller's releases.
Changelog
Sourced from pyinstaller's changelog.