Skip to content

Commit

Permalink
Release v6.6.0. [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoodsend committed Apr 13, 2024
1 parent edf1694 commit 5d7a044
Show file tree
Hide file tree
Showing 32 changed files with 109 additions and 55 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__ = '6.5.0'
__version__ = '6.6.0'

# 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-intel/run.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-32bit-intel/run_d.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-32bit-intel/runw.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-32bit-intel/runw_d.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-64bit-intel/run.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-64bit-intel/run_d.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-64bit-intel/runw.exe
Binary file not shown.
Binary file modified PyInstaller/bootloader/Windows-64bit-intel/runw_d.exe
Binary file not shown.
6 changes: 3 additions & 3 deletions README.rst
Expand Up @@ -134,7 +134,7 @@ either ``gcc`` or ``clang``) and zlib's development headers already installed.
Support
-------

- Official debugging guide: https://pyinstaller.org/en/v6.5.0/when-things-go-wrong.html
- Official debugging guide: https://pyinstaller.org/en/v6.6.0/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 @@ -146,5 +146,5 @@ Changes in this Release
You can find a detailed list of changes in this release
in the `Changelog`_ section of the manual.

.. _`manual`: https://pyinstaller.org/en/v6.5.0/
.. _`Changelog`: https://pyinstaller.org/en/v6.5.0/CHANGES.html
.. _`manual`: https://pyinstaller.org/en/v6.6.0/
.. _`Changelog`: https://pyinstaller.org/en/v6.6.0/CHANGES.html
73 changes: 73 additions & 0 deletions doc/CHANGES.rst
Expand Up @@ -15,6 +15,79 @@ Changelog for PyInstaller

.. towncrier release notes start
6.6.0 (2024-04-13)
------------------

Features
~~~~~~~~

* (Windows) Implement support for resolving executable's true location
when launched via a symbolic link. (:issue:`8300`)
* Implement an option to explicitly specify the bytecode optimization level
for collected python code, independent of the optimization level in the
python process under which PyInstaller is running. At the .spec file level,
this is controlled by optional ``optimize`` argument in the ``Analysis``
constructor. At the CLI level, this is controlled by new
:option:`--optimize` command-line option, which sets the ``optimize``
argument for ``Analysis`` as well as :ref:`interpreter run-time options
<specifying python interpreter options>` in the generated spec file.
See :ref:`bytecode optimization level` for details. (:issue:`8252`)


Bugfix
~~~~~~

* (macOS) Explicitly convert the value of ``version`` argument to ``BUNDLE``
into a string, in order to mitigate cases when user accidentally enters
an integer or a float. The version value ends up being written to
``Info.plist`` as the ``CFBundleShortVersionString`` entry, and if this
entry is not of a string type (for example, is an integer), the
generated .app bundle crashes at start. (:issue:`4466`)
* (Windows) Avoid trying to import ``PySimpleGUI`` in the subprocess that
analyzes dynamic library search modifications made by packages prior to
the binary dependency analysis. When imported for the first time,
``PySimpleGUI`` 5.x displays a "first-run" dialog, which poses a problem
for unattended PyInstaller builds running in a clean environment, for
example, in a CI pipeline. (:issue:`8396`)
* (Windows) Implement a work-around for running PyInstaller under python
process with ``-OO`` (or ``PYTHONOPTIMIZE=2``) with ``cffi`` installed.
We now temporarily disable import of ``cffi`` while importing
``pywin32-ctypes`` in ``PyInstaller.compat`` to ensure that ``ctypes``
backend is always used, as the ``cffi`` backend uses ``pycparser`` and
requires docstrings, which makes it incompatible with the ``-OO`` mode.
(:issue:`6345`)


Hooks
~~~~~

* Update ``PySide6.Qt3DRender`` hook for compatibility with ``PySide6``
6.7.0 (add hidden import for ``PySide6.QtOpenGL`` module). (:issue:`8404`)
* Update ``scipy.special._ufuncs`` hook for compatibility with SciPy 1.13.0
(add ``scipy.special._cdflib`` to hidden imports). (:issue:`8394`)


Bootloader
~~~~~~~~~~

* (Windows) Attempt to shorten the duration of spinning-wheel cursor when
launching applications built in ``windowed`` / ``noconsole`` mode.
(:issue:`8359`)


Documentation
~~~~~~~~~~~~~

* Add a new documentation section, :ref:`bytecode optimization level`,
which the describes the new canonical way to control bytecode
optimization level of the collected python code. (:issue:`8252`)
* Add a note to :ref:`specifying python interpreter options` to inform
user that setting the optimization level to the application's embedded
python interpreter by itself does not result in bytecode optimization of
modules that have been collected in byte-compiled form (i.e., the majority
of them). (:issue:`8252`)


6.5.0 (2024-03-09)
------------------

Expand Down
8 changes: 8 additions & 0 deletions doc/CREDITS.rst
Expand Up @@ -5,6 +5,14 @@ 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 6.6.0
----------------------------------

* Rok Mandeljc
* Brénainn Woodsend
* Olliver Aikenhead
* RoboSchmied

Contributions to PyInstaller 6.5.0
----------------------------------

Expand Down
16 changes: 12 additions & 4 deletions doc/pyi-makespec.1
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH "PYI-MAKESPEC" "1" "2024-03-09" "6.5.0" "PyInstaller"
.TH "PYI-MAKESPEC" "1" "2024-04-13" "6.6.0" "PyInstaller"
.SH NAME
pyi-makespec \- Create a spec file for your PyInstaller project
.
Expand Down Expand Up @@ -196,6 +196,11 @@ directory.
.UNINDENT
.INDENT 0.0
.TP
.BI \-\-optimize \ LEVEL
Bytecode optimization level used for collected python modules and scripts.
For details, see the section “Bytecode Optimization Level” in PyInstaller
manual.
.TP
.BI \-\-python\-option \ PYTHON_OPTION
Specify a command\-line option to pass to the Python interpreter at runtime.
Currently supports "v" (equivalent to "\-\-debug imports"), "u", "W <warning
Expand Down Expand Up @@ -230,7 +235,7 @@ option is automatically set if the first script is a \(aq.pyw\(aq file. This
option is ignored on *NIX systems.
.UNINDENT
.sp
\-\-hide\-console {hide\-late,minimize\-early,hide\-early,minimize\-late}
\-\-hide\-console {minimize\-late,minimize\-early,hide\-late,hide\-early}
.INDENT 0.0
.INDENT 3.5
Windows only: in console\-enabled executable, have bootloader automatically
Expand Down Expand Up @@ -315,10 +320,13 @@ only).
.INDENT 0.0
.TP
.BI \-\-runtime\-tmpdir \ PATH
Where to extract libraries and support files in \fIonefile\fP\-mode. If this
Where to extract libraries and support files in \fIonefile\fP mode. If this
option is given, the bootloader will ignore any temp\-folder location
defined by the run\-time OS. The \fB_MEIxxxxxx\fP\-folder will be created here.
Please use this option only if you know what you are doing.
Please use this option only if you know what you are doing. Note that on
POSIX systems, PyInstaller\(aqs bootloader does NOT perform shell\-style
environment variable expansion on the given path string. Therefore, using
environment variables (e.g., \fB~\fP or \fB$HOME\fP) in path will NOT work.
.TP
.B \-\-bootloader\-ignore\-signals
Tell the bootloader to ignore signals rather than forwarding them to the
Expand Down
16 changes: 12 additions & 4 deletions doc/pyinstaller.1
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH "PYINSTALLER" "1" "2024-03-09" "6.5.0" "PyInstaller"
.TH "PYINSTALLER" "1" "2024-04-13" "6.6.0" "PyInstaller"
.SH NAME
pyinstaller \- Configure and build a PyInstaller project in one run
.
Expand Down Expand Up @@ -216,6 +216,11 @@ resulting output directory.
.UNINDENT
.INDENT 0.0
.TP
.BI \-\-optimize \ LEVEL
Bytecode optimization level used for collected python modules and scripts.
For details, see the section “Bytecode Optimization Level” in PyInstaller
manual.
.TP
.BI \-\-python\-option \ PYTHON_OPTION
Specify a command\-line option to pass to the Python interpreter at runtime.
Currently supports "v" (equivalent to "\-\-debug imports"), "u", "W <warning
Expand Down Expand Up @@ -250,7 +255,7 @@ option is automatically set if the first script is a \(aq.pyw\(aq file. This
option is ignored on *NIX systems.
.UNINDENT
.sp
\-\-hide\-console {hide\-late,minimize\-early,hide\-early,minimize\-late}
\-\-hide\-console {minimize\-late,minimize\-early,hide\-late,hide\-early}
.INDENT 0.0
.INDENT 3.5
Windows only: in console\-enabled executable, have bootloader automatically
Expand Down Expand Up @@ -335,10 +340,13 @@ only).
.INDENT 0.0
.TP
.BI \-\-runtime\-tmpdir \ PATH
Where to extract libraries and support files in \fIonefile\fP\-mode. If this
Where to extract libraries and support files in \fIonefile\fP mode. If this
option is given, the bootloader will ignore any temp\-folder location
defined by the run\-time OS. The \fB_MEIxxxxxx\fP\-folder will be created here.
Please use this option only if you know what you are doing.
Please use this option only if you know what you are doing. Note that on
POSIX systems, PyInstaller\(aqs bootloader does NOT perform shell\-style
environment variable expansion on the given path string. Therefore, using
environment variables (e.g., \fB~\fP or \fB$HOME\fP) in path will NOT work.
.TP
.B \-\-bootloader\-ignore\-signals
Tell the bootloader to ignore signals rather than forwarding them to the
Expand Down
6 changes: 0 additions & 6 deletions news/4466.bugfix.rst

This file was deleted.

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

This file was deleted.

3 changes: 0 additions & 3 deletions news/8252.doc.1.rst

This file was deleted.

5 changes: 0 additions & 5 deletions news/8252.doc.rst

This file was deleted.

9 changes: 0 additions & 9 deletions news/8252.feature.rst

This file was deleted.

2 changes: 0 additions & 2 deletions news/8300.feature.rst

This file was deleted.

2 changes: 0 additions & 2 deletions news/8359.bootloader.rst

This file was deleted.

2 changes: 0 additions & 2 deletions news/8394.hooks.rst

This file was deleted.

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

This file was deleted.

2 changes: 0 additions & 2 deletions news/8404.hooks.rst

This file was deleted.

0 comments on commit 5d7a044

Please sign in to comment.