* (macOS) When running ``codesign`` utility on macOS, use hard-coded absolute
path (``/usr/bin/codesign``) to avoid errors when user has the ``codesign``
from `sigtool <https://github.com/thefloweringash/sigtool>`_ in their
``PATH``. (:issue:`8581`)
* (Windows) When setting up DLL search paths for binary dependency analysis,
consider the directory where python executable is located (i.e.,
``os.path.dirname(sys._base_executable)``) in addition to directory pointed to
by ``sys.base_prefix``, in case the two differ. This fixes discovery of
``python3.dll`` when using python that was locally built from source (i.e.,
using ``PCbuild\build.bat`` script that comes with python's source code).
(:issue:`8569`)
Incompatible Changes
Attempting to do a build whilst inside C:\Windows is now blocked.
(:issue:8570)
Invalid hiddenimports (e.g. filenames instead of module names) are now a build
error. (:issue:8570)
Deprecations
* Adding a Python environment's ``site-packages`` directory to
``pathex``/``--paths`` will be blocked in v7.0 (:issue:`8570`)
* Running PyInstaller with escalated privileges (e.g. using sudo or in a *run as
admin* terminal) will be blocked in v7.0. True admin users will be unaffected.
(:issue:`8570`)
Bootloader
* (POSIX) Bootloader now attempts to create the run-time temporary directory
given via :option:`--runtime-tmpdir` option (instead of requiring the
directory to already exist), in order to match the behavior on Windows. A
relative run-time temporary directory is now resolved to an absolute full path
before being used to construct the application's temporary directory path.
(:issue:`8557`)
* (Windows) Bootloader now verifies the run-time temporary directory given via
:option:`--runtime-tmpdir` option, and raises an error if either the drive is
invalid or if the directory cannot be created (instead of creating the
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/df1507f9c423eaf6794eee6723d6d09b86da1f3e"><code>df1507f</code></a> Release v6.8.0. [skip ci]</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/83a1499b9588b8d530cc5b0d1d462e6fa6abb67f"><code>83a1499</code></a> macOS: hard-code path to the codesign utility</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/3aa87b04648e5d9f957aec629fd2c0b283cb2bec"><code>3aa87b0</code></a> tests: skip QtMultimedia test with PyQt6 6.7.0 and PyQt6-Qt6 6.7.1</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/1e2259806302030dfa638df7128c5009222bb6c7"><code>1e22598</code></a> Tests: Requirements: Scheduled weekly dependency update for week 22 (<a href="https://redirect.github.com/pyinstaller/pyinstaller/issues/8577">#8577</a>)</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/3fa81817d8bdd1e84f77139d8d878a85831b9173"><code>3fa8181</code></a> test: Disable unwanted tracebacks on pytest xfails</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/8b5d76d2e5c368d58821c96eefc975f22a0902f7"><code>8b5d76d</code></a> Deprecate mixing Python environments using --paths=.../site-packages</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/a34370fb395dc629cddc162c985953aa0a0435ba"><code>a34370f</code></a> Make --hiddenimport=.../site-packages/foo/bar.py a build error</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/1d29b15e099739d4be2876d82940a646a2ff72d5"><code>1d29b15</code></a> Block running PyInstaller from inside C:\Windows</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/94037335e431f2b6aa4c7da3ab8be95a39202db1"><code>9403733</code></a> Dispel the myth that PyInstaller should be ran as an admin</li>
<li><a href="https://github.com/pyinstaller/pyinstaller/commit/16d3f973a0b3d44cf58d34085ccfae5427ccfc51"><code>16d3f97</code></a> bootloader: splash: move mutex variables into SPLASH_CONTEXT</li>
<li>Additional commits viewable in <a href="https://github.com/pyinstaller/pyinstaller/compare/v6.7.0...v6.8.0">compare view</a></li>
</ul>
</details>
<br />
Updates `pyinstaller-hooks-contrib` from 2024.6 to 2024.7
Release notes
* Add hook for ``dbus_fast`` in order to collect submodules that are imported
from cythonized extensions. (`[#600](https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/600)
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/600>`_)
* Add hook for ``gribapi`` package from ``eccodes`` dist, in order to
collect bundled headers and ensure that the eccodes shared library is
collected from the build environment. (`[#744](https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/744)
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/744>`_)
* Add hook for ``patoolib`` to collect dynamically-imported modules from
the ``patoolib.programs`` sub-package. (`[#748](https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/748)
<https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/748>`_)
Updated hooks
Extend the xarray hook to collect additional backend plugins that are
registered via the xarray.backends entry-point (e.g., cfgrib). ([#744](https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/744) <https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/744>_)
#12355: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.
#12367: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.
#12381: Fix possible "Directory not empty" crashes arising from concurent cache dir (.pytest_cache) creation. Regressed in pytest 8.2.0.
Improved Documentation
#12290: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.
#12356: Added a subsection to the documentation for debugging flaky tests to mention
lack of thread safety in pytest as a possible source of flakyness.
#12363: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.
Linter performance has been improved by around 10% on some microbenchmarks by refactoring the lexer and parser to maintain synchronicity between them (#11457)
Linter performance has been improved by around 10% on some microbenchmarks by refactoring the lexer and parser to maintain synchronicity between them (#11457)
Fixed a bug where if a class has an attribute and a constructor argument with the same name, the constructor argument
type would be rendered incorrectly (issue 308)
Fixed napoleon handling of numpy docstrings with no specified return type.
1.21.6
Fix a Field list ends without a blank line warning (issue 305).
1.21.5
More robust determination of rtype location / fix issue 302
1.21.4
Improvements to the location of the return type
1.21.3
Use format_annotation to render class attribute type annotations
1.21.2
Fix overloads support
1.21.1
Fix spacing between :rtype: and directives
1.21
Handle types from types module
If module is _io, use io instead
Put rtype before examples or usage section
Remove redundant return type for attributes
Handle collections.abc.Callable as well as typing.Callable
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the development-dependencies group with 6 updates:
24.0
24.1
6.7.0
6.8.0
2024.6
2024.7
8.2.1
8.2.2
0.4.7
0.4.8
2.1.0
2.1.1
Updates
packaging
from 24.0 to 24.1Release notes
Sourced from packaging's releases.
Changelog
Sourced from packaging's changelog.
Commits
85442b8
Bump for release3e67fc7
Work aroundplatform.python_version()
returning non PEP 440 compliant versi...32deafe
Bump the github-actions group with 3 updates (#789)e0dda88
Documentmarkers.default_environment()
(#753)cc938f9
Modernise type annotations using FA rules from ruff (#785)757f559
Fix typo in_parser
docstring (#784)ec9f203
Bump the github-actions group with 4 updates (#782)5cbe1e4
Add support for Python 3.13 and drop EOL 3.7 (#783)cb8fd38
pyupgrade/black/isort/flake8 → ruff (#769)e8002b1
Bump for developmentUpdates
pyinstaller
from 6.7.0 to 6.8.0Release notes
Sourced from pyinstaller's releases.
Changelog
Sourced from pyinstaller's changelog.