Skip to content

Commit

Permalink
Release v5.6. [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoodsend committed Oct 24, 2022
1 parent 7b39785 commit 87578de
Show file tree
Hide file tree
Showing 31 changed files with 75 additions and 38 deletions.
2 changes: 1 addition & 1 deletion PyInstaller/__init__.py
Expand Up @@ -18,7 +18,7 @@
from PyInstaller.utils.git import get_repo_revision

# Note: Keep this variable as plain string so it could be updated automatically when doing a release.
__version__ = '5.5'
__version__ = '5.6'

# Absolute path of this package's directory. Save this early so all submodules can use the absolute path. This is
# required for example if the current directory changes prior to loading the hooks.
Expand Down
Binary file modified PyInstaller/bootloader/Darwin-64bit/run
Binary file not shown.
Binary file modified PyInstaller/bootloader/Darwin-64bit/run_d
Binary file not shown.
Binary file modified PyInstaller/bootloader/Darwin-64bit/runw
Binary file not shown.
Binary file modified PyInstaller/bootloader/Darwin-64bit/runw_d
Binary file not shown.
Binary file modified PyInstaller/bootloader/Linux-32bit-intel/run
Binary file not shown.
Binary file modified PyInstaller/bootloader/Linux-32bit-intel/run_d
Binary file not shown.
Binary file modified PyInstaller/bootloader/Linux-64bit-intel/run
Binary file not shown.
Binary file modified PyInstaller/bootloader/Linux-64bit-intel/run_d
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-32bit/run.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-32bit/run_d.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-32bit/runw.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-32bit/runw_d.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-64bit/run.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-64bit/run_d.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-64bit/runw.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-64bit/runw_d.exe
Binary file not shown.
6 changes: 3 additions & 3 deletions README.rst
Expand Up @@ -139,7 +139,7 @@ either ``gcc`` or ``clang``) and zlib's development headers already installed.
Support
-------

- Official debugging guide: https://pyinstaller.org/en/v5.5/when-things-go-wrong.html
- Official debugging guide: https://pyinstaller.org/en/v5.6/when-things-go-wrong.html
- Assorted user contributed help topics: https://github.com/pyinstaller/pyinstaller/wiki
- Web based Q&A forums: https://github.com/pyinstaller/pyinstaller/discussions
- Email based Q&A forums: https://groups.google.com/g/pyinstaller
Expand All @@ -153,5 +153,5 @@ in the `Changelog`_ section of the manual.


.. _tinyaes: https://github.com/naufraghi/tinyaes-py
.. _`manual`: https://pyinstaller.org/en/v5.5/
.. _`Changelog`: https://pyinstaller.org/en/v5.5/CHANGES.html
.. _`manual`: https://pyinstaller.org/en/v5.6/
.. _`Changelog`: https://pyinstaller.org/en/v5.6/CHANGES.html
61 changes: 61 additions & 0 deletions doc/CHANGES.rst
Expand Up @@ -15,6 +15,67 @@ Changelog for PyInstaller

.. towncrier release notes start
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
between 50.0 and 60.0, where we do not explicitly collect
``setuptools._distutils``. (:issue:`7172`)


Incompatible Changes
~~~~~~~~~~~~~~~~~~~~

* (macOS) In generated macOS .app bundles, the collected source .py files
are not relocated from ``Contents/MacOS`` to ``Contents/Resources``
anymore, to avoid issues when the path to a .py file is supposed to
resolve to the same directory as adjacent binary extensions. On the
other hand, this change might result in regressions w.r.t. bundle
signing and/or notarization. (:issue:`7180`)


Bootloader
~~~~~~~~~~

* (Windows) Update the bundled ``zlib`` sources to v1.2.13. (:issue:`7166`)


5.5 (2022-10-08)
-----------------

Expand Down
7 changes: 7 additions & 0 deletions doc/CREDITS.rst
Expand Up @@ -5,6 +5,13 @@ Thanks goes to all the kind PyInstaller contributors who have contributed
new code, bug reports, fixes, comments and ideas. A brief list follows,
please let us know if your name is omitted by accident:

Contributions to PyInstaller 5.6
--------------------------------

* Rok Mandeljc
* Brénainn Woodsend
* Padsala Tushal

Contributions to PyInstaller 5.5
--------------------------------

Expand Down
2 changes: 1 addition & 1 deletion doc/pyi-makespec.1
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH "PYI-MAKESPEC" "1" "2022-10-08" "5.5" "PyInstaller"
.TH "PYI-MAKESPEC" "1" "2022-10-23" "5.6" "PyInstaller"
.SH NAME
pyi-makespec \- Create a spec file for your PyInstaller project
.
Expand Down
4 changes: 2 additions & 2 deletions doc/pyinstaller.1
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH "PYINSTALLER" "1" "2022-10-08" "5.5" "PyInstaller"
.TH "PYINSTALLER" "1" "2022-10-23" "5.6" "PyInstaller"
.SH NAME
pyinstaller \- Configure and build a PyInstaller project in one run
.
Expand Down Expand Up @@ -43,7 +43,7 @@ PyInstaller is a program that freezes (packages) Python programs into
stand\-alone executables, under Windows, GNU/Linux, macOS,
FreeBSD, OpenBSD, Solaris and AIX.
Its main advantages over similar tools are that PyInstaller works with
Python 3.7\-3.10, it builds smaller executables thanks to transparent
Python 3.7\-3.11, it builds smaller executables thanks to transparent
compression, it is fully multi\-platform, and use the OS support to load the
dynamic libraries, thus ensuring full compatibility.
.sp
Expand Down
2 changes: 0 additions & 2 deletions news/6783.feature.rst

This file was deleted.

5 changes: 0 additions & 5 deletions news/7155.bugfix.rst

This file was deleted.

3 changes: 0 additions & 3 deletions news/7164.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/7166.bootloader.rst

This file was deleted.

3 changes: 0 additions & 3 deletions news/7168.bugfix.rst

This file was deleted.

3 changes: 0 additions & 3 deletions news/7170.feature.rst

This file was deleted.

6 changes: 0 additions & 6 deletions news/7172.bugfix.rst

This file was deleted.

6 changes: 0 additions & 6 deletions news/7180.breaking.rst

This file was deleted.

2 changes: 0 additions & 2 deletions news/7180.bugfix.rst

This file was deleted.

0 comments on commit 87578de

Please sign in to comment.