* (Windows) Fix the regression causing the (relative) spec path ending up
prepended to relative icon path twice, resulting in icon not being found.
(:issue:`6788`)
* Prevent collection of an entire Python site when using
:func:`~PyInstaller.utils.hooks.collect_data_files` or
:func:`~PyInstaller.utils.hooks.collect_dynamic_libs` for single-file modules
(:issue:`6789`)
* Prevent the hook utility functions, such as
:func:`~PyInstaller.utils.hooks.collect_submodules`,
:func:`~PyInstaller.utils.hooks.collect_data_files`, and
:func:`~PyInstaller.utils.hooks.collect_dynamic_libs`, from failing to
identify a package when its PEP451-compliant loader does not implement
the optional ``is_package`` method. (:issue:`6790`)
* The :func:`~PyInstaller.utils.hooks.get_package_paths` function now
supports PEP420 namespace packages - although for backwards-compatibility
reasons, it returns only the first path when multiple paths are
present. (:issue:`6790`)
* The hook utility functions
:func:`~PyInstaller.utils.hooks.collect_submodules`,
:func:`~PyInstaller.utils.hooks.collect_data_files`, and
:func:`~PyInstaller.utils.hooks.collect_dynamic_libs`) now support
collection from PEP420 namespace packages. (:issue:`6790`)
* The user-provided spec file path and paths provided via :option:`--workpath`
and :option:`--distpath` are now resolved to absolute full paths before being
passed to PyInstaller's internals. (:issue:`6788`)
Hooks
* Exclude ``doctest`` in the ``pickle`` hook. Update ``PySide2``, ``PySide6``,
``PyQt5``, and ``PyQt6`` hooks with hidden imports that were previously
pulled in by ``doctest`` (that was in turn pulled in by ``pickle``).
(:issue:`6797`)
Bootloader
</code></pre>
<ul>
<li>(Windows) Update the bundled <code>zlib</code> sources to v1.2.12. (:issue:<code>6804</code>)</li>
</ul>
<p>Bootloader build</p>
<pre><code></tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/4b9fd01d7dc5a0aae3ba7c100437547915464f0e"><code>4b9fd01</code></a> Release 5.1.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/3ef83b74e3ba8a3d4749aabafae2d7b3f9edbad5"><code>3ef83b7</code></a> Fix towncrier template (again 😡).</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/3dded2226c81b957ff4faf95690c68ebe8a485f1"><code>3dded22</code></a> add FUNDING.yml</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/722b128657a1a42192db773e2a20682b3dc73296"><code>722b128</code></a> compat: remove incorrect type hint</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/0d9a1d3db898db2090499668cb69b74ace008634"><code>0d9a1d3</code></a> Bump required pyinstaller-hooks-contrib version</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/29c63dd2f957dc145dceddf529891c4c1c77babd"><code>29c63dd</code></a> Tests: Requirements: Scheduled weekly dependency update for week 19 (<a href="https://github-redirect.dependabot.com/pyinstaller/pyinstaller/issues/6814">#6814</a>)</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/04efaa12c470cc6f236f5c627768976df2659d62"><code>04efaa1</code></a> CI/CD: Unbutcher sdist test.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/c76087c9d3b89140cb3f91c998bea5a521536fa0"><code>c76087c</code></a> Fix syntax error in CI workflow.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/8765748ecf43c72ff573208d5236e67e8c9d7f30"><code>8765748</code></a> Setup: Exclude non-native icons from wheels.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/50193fd48159ca42e80ac2ce413edb1474cf93bf"><code>50193fd</code></a> Bootloader: Building: Cherry pick waf+MSVC long path fix.</li>
<li>Additional commits viewable in <a href="https://github.com/pyinstaller/pyinstaller/compare/v4.3...v5.1">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=5.1)](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 5.1.
Release notes
Sourced from pyinstaller's releases.
Changelog
Sourced from pyinstaller's changelog.