* (macOS) Fix regression in macOS app bundle signing caused by a typo made
in :issue:`7180`. (:issue:`7184`)
5.6 (2022-10-23)
Features
Add official support for Python 3.11. (Note that PyInstaller v5.5 is also
expected to work but has only been tested with a pre-release of Python 3.11.)
(:issue:6783)
Implement a new hook utility function,
:func:~PyInstaller.utils.hooks.collect_delvewheel_libs_directory,
intended for dealing with external shared library in delvewheel-enabled
PyPI
wheels for Windows. (:issue:7170)
Bugfix
* (macOS) Fix OpenCV (``cv2``) loader error in generated macOS .app
bundles, caused by the relocation of package's source .py files.
(:issue:`7180`)
* (Windows) Improve compatibility with ``scipy`` 1.9.2, whose Windows wheels
switched to ``delvewheel``, and therefore have shared libraries located in
external .libs directory. (:issue:`7168`)
(Windows) Limit the DLL parent path preservation behavior from :issue:7028
to files collected from site-packages directories (as returned by
:func:site.getsitepackages and :func:site.getusersitepackages) instead of all
paths in :data:sys.path, to avoid unintended behavior in corner cases, such as
:data:sys.path containing the drive root or user's home directory.
(:issue:7155)
Fix compatibility with PySide6 6.4.0, where the deprecated
Qml2ImportsPath location key is not available anymore; use the
new QmlImportsPath key when it is available. (:issue:7164)
Prevent PyInstaller runtime hook for setuptools from attempting to
override distutils with setuptools-provided version when
setuptools is collected and its version is lower than 60.0. This
both mimics the unfrozen behavior and prevents errors on versions
</tr></table>
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 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 5.2 to 5.6.1.
Release notes
Sourced from pyinstaller's releases.
Changelog
Sourced from pyinstaller's changelog.
... (truncated)
Commits
780c08d
Release v5.6.1. [skip ci]3b07670
tests: add basic macOS bundle signing tests39467f3
building: BUNDLE: add an option for codesign error to be fatal9a6820c
Fix symlinking of data files from Resources to MacOS87578de
Release v5.6. [skip ci]7b39785
Tests: Requirements: Scheduled weekly dependency update for week 43 (#7182)af2cd69
depend: DLL parent path preservation: work around for pywin3269b94c0
depend: limit DLL parent path preservation to site-packages46a5950
building: BUNDLE: exempt collected .py/.pyc files from relocation64f6f8b
README; Add ".. code:: bash" to code-blocks to enable GItHub's copy to clipbo...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 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)