* Add support for Python 3.9. (:issue:`[#5289](https://github.com/pyinstaller/pyinstaller/issues/5289)`)
* Add support for Python 3.8. (:issue:`[#4311](https://github.com/pyinstaller/pyinstaller/issues/4311)`)
Bugfix
* Fix endless recursion if a package's ``__init__`` module is an extension
module. (:issue:`[#5157](https://github.com/pyinstaller/pyinstaller/issues/5157)`)
* Remove duplicate logging messages (:issue:`[#5277](https://github.com/pyinstaller/pyinstaller/issues/5277)`)
* Fix sw_64 architecture support (:issue:`[#5296](https://github.com/pyinstaller/pyinstaller/issues/5296)`)
* (AIX) Include python-malloc labeled libraries in search for libpython.
(:issue:`[#4210](https://github.com/pyinstaller/pyinstaller/issues/4210)`)
Hooks
~~~~~
* Add ``exclude_datas``, ``include_datas``, and ``filter_submodules`` to
``collect_all()``. These arguments map to the ``excludes`` and ``includes``
arguments of ``collect_data_files``, and to the `filter` argument of
``collect_submodules``. (:issue:`[#5113](https://github.com/pyinstaller/pyinstaller/issues/5113)`)
* Add hook for difflib to not pull in doctests, which is only
required when run as main programm.
* Add hook for distutils.util to not pull in lib2to3 unittests, which will be
rearly used in frozen packages.
* Add hook for heapq to not pull in doctests, which is only
required when run as main programm.
* Add hook for multiprocessing.util to not pull in python test-suite and thus
e.g. tkinter.
* Add hook for numpy._pytesttester to not pull in pytest.
* Add hook for pickle to not pull in doctests and argpargs, which are only
required when run as main programm.
* Add hook for PIL.ImageFilter to not pull
numpy, which is an optional component.
* Add hook for setuptools to not pull in numpy, which is only imported if
installed, not mean to be a dependency
* Add hook for zope.interface to not pull in pytest unittests, which will be
rearly used in frozen packages.
* Add hook-gi.repository.HarfBuzz to fix Typelib error with Gtk apps.
(:issue:`[#5133](https://github.com/pyinstaller/pyinstaller/issues/5133)`)
* Enable overriding Django settings path by `DJANGO_SETTINGS_MODULE`
environment variable. (:issue:`[#5267](https://github.com/pyinstaller/pyinstaller/issues/5267)`)
* Fix `collect_system_data_files` to scan the given input path instead of its
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/f9eeaaf9c09ce72cab20165a21dd454be2178c50"><code>f9eeaaf</code></a> Release 4.1.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/96f082ac2f5966daa3067294a0033bfdb451de59"><code>96f082a</code></a> doc: Rebuild man-pages for release 4.1.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/1c2ff303f81abb542307fc7877dab0d41ea185a0"><code>1c2ff30</code></a> Update versions in README.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/9e0a3c814ae9a3c89746e074764d35be8b7fa909"><code>9e0a3c8</code></a> Update CREDITS for release 4.1</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/27f1dd4d662a0915ffcdc32c60d22afea0cb4db8"><code>27f1dd4</code></a> license: Remove old PyInstaller development team listing,</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/3873f0492b71cd7c04ed5e831a49f6331921957a"><code>3873f04</code></a> Recompile Bootloaders for Windows, Darwin and Linux.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/6325cefa093a69b7a93bb7b6ccac61a84d49900b"><code>6325cef</code></a> Bootloader build: Vagrantfile: Fix building for OSX.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/26d2b07c5457db9e092498c60c4a981b681f6960"><code>26d2b07</code></a> Bootloader build: Vagrantfile: Fix building Linux-32bit.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/aeb8749df3eb8cbf86d89a70287d693ea9871033"><code>aeb8749</code></a> Bootloader build: Vagrantfile: Fix package install for cygwin.</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/f09b81db4c19357726c8d3df4fac2db332c1c500"><code>f09b81d</code></a> Bootloader build: Vagrantfile: Update GNU/Linux box to Debian 10.</li>
<li>Additional commits viewable in <a href="https://github.com/pyinstaller/pyinstaller/compare/v4.0...v4.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.0&new-version=4.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)
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.0 to 4.1.
Release notes
Sourced from pyinstaller's releases.
Changelog
Sourced from pyinstaller's changelog.