14
0

- update to 6.13.0:

* Extend analysis code so that when extension module is
    encountered, it checks for the presence of an adjacent .py or
    .pyi file, and if present, attempt to perform import analysis
    on such accompanying source/interface file. (:issue:`9084`)
  * Fix detection of setuptools-vendored modules (i.e., not
    packages) in the
    PyInstaller.utils.hooks.setuptools.SetuptoolsInfo hook
    utility class; for example, the
    setuptools/_vendor/typing_extensions.py module.
    (:issue:`9102`)
  * Add hook for PyQt6.QtStateMachine that was introduced in
    PyQt6 v6.8.1. (:issue:`9019`)
  * Fix ModuleNotFoundError for scipy when provided by Debian's
    python3-scipy package. (:issue:`9069`)
  * Update hook for PyGObject (gi) and associated helper code to
    support changes made in PyGObject v3.52 (switch from
    girepository-1.0 to girepository-2.0). (:issue:`9055`)
  * On POSIX systems other than macOS, use POSIX semaphore API
    instead of SysV semaphore API to synchronize onefile parent
    and child process. This restores the ability to compile
    bootloader under Termux, where sys/sem.h (and the SysV
    semaphore API) is unavailable due to deliberate lack of
    support for it in the underlying Android base.
    (:issue:`9089`)
  * Extend the :ref:`module_collection_mode <package collection
    mode>` setting from :issue:`6945` to also apply to modules
    collected into base_library.zip archive. Implement discovery
    of source .py files for modules in base_library.zip at run-
    time. This allows collection and discovery of source .py

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=30
This commit is contained in:
2025-04-28 16:41:34 +00:00
committed by Git OBS Bridge
parent 8bbc86b3f2
commit 73daf3e27c
4 changed files with 146 additions and 61 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e0a46e918325b65349beaec43a760f9b0b6270a838fb24cd585d5ddbd4232f58
size 3473485

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f4c6af17535813e24285120c787f4c9dab312d857db0983ea6ca0f2fe348b50a
size 3495847

View File

@@ -1,3 +1,88 @@
-------------------------------------------------------------------
Mon Apr 28 16:40:42 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 6.13.0:
* Extend analysis code so that when extension module is
encountered, it checks for the presence of an adjacent .py or
.pyi file, and if present, attempt to perform import analysis
on such accompanying source/interface file. (:issue:`9084`)
* Fix detection of setuptools-vendored modules (i.e., not
packages) in the
PyInstaller.utils.hooks.setuptools.SetuptoolsInfo hook
utility class; for example, the
setuptools/_vendor/typing_extensions.py module.
(:issue:`9102`)
* Add hook for PyQt6.QtStateMachine that was introduced in
PyQt6 v6.8.1. (:issue:`9019`)
* Fix ModuleNotFoundError for scipy when provided by Debian's
python3-scipy package. (:issue:`9069`)
* Update hook for PyGObject (gi) and associated helper code to
support changes made in PyGObject v3.52 (switch from
girepository-1.0 to girepository-2.0). (:issue:`9055`)
* On POSIX systems other than macOS, use POSIX semaphore API
instead of SysV semaphore API to synchronize onefile parent
and child process. This restores the ability to compile
bootloader under Termux, where sys/sem.h (and the SysV
semaphore API) is unavailable due to deliberate lack of
support for it in the underlying Android base.
(:issue:`9089`)
* Extend the :ref:`module_collection_mode <package collection
mode>` setting from :issue:`6945` to also apply to modules
collected into base_library.zip archive. Implement discovery
of source .py files for modules in base_library.zip at run-
time. This allows collection and discovery of source .py
files for modules in base_library.zip, which might be
required by frameworks that perform aggressive recursive
introspection all way down to standard library modules (for
example, torch JIT in combination with certain model
implementations). (:issue:`8971`)
* Add exclude for libwayland*.so to prevent mismatches with
system drivers. (:issue:`8963`)
* Fix errors raised by setuptools hook utility class and
various related hooks when building with completely de-
vendored setuptools (for example, as packaged by Arch Linux).
(:issue:`8947`)
* Gracefully handle cases when _tkinter is a built-in instead
of an extension module, and thus does not have a __file__
attribute. Most notable example of this are indygreg's
python-build-standalone CPython builds for macOS and Linux.
This fixes collection of tkinter and associated Tcl/Tk
resources when using such python builds. When trying to
enable splash screen, a descriptive error is now raised,
because splash screen requires shared Tcl/Tk libraries, while
a built-in _tkinter seems to indicate that python was
statically linked against Tcl/Tk libraries. (:issue:`9012`)
* Rework the localpycs cache in the build directory to avoid
relying on the source .py file timestamps. Some package
managers (e.g., Anaconda) (re)set the file
creation/modification time of installed files to the time of
packaging rather than having them reflect the time of
installation; therefore, the PyInstaller bootstrap script and
modules would fail to be properly recompiled when switching
between different versions of PyInstaller packaged by
Anaconda. (:issue:`8909`)
* When constructing PyiFrozenFinder for the given path and
trying to compute the path that is relative to the top-level
application directory, do not fully resolve the given path.
Instead, try computing relative path using both the original
and the fully resolved top-level application directory path.
This change prevents us from potentially resolving symbolic
links in parts of the given path that do not belong to the
top-level application directory. (:issue:`8994`)
* Add hook for gi.repository.Rsvg. (:issue:`8940`)
* Add hooks for PyQt6.QtGraphs and PyQt6.QtGraphsWidgets that
were introduced in PyQt6 v6.8.1 (via PyQt6-Graphs add-on
package). (:issue:`8924`)
* Split the PyiFrozenImporter (fused path based finder and
loader) into separate finder (PyiFrozenFinder) and loader
(PyiFrozenLoader). This better matches the separation between
python's built-in finders and loaders, and thus accommodates
3rd-party code that naively expects to encounter only
python's built-in finders and loaders. (:issue:`8934`)
* The stock Linux bootloaders are now built using generic
Ubuntu 18.04 and Alpine 3.12 Docker images rather than
manylinux/musllinux/dockcross. (:issue:`8881`)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 6 12:46:11 UTC 2024 - Markéta Machová <mmachova@suse.com> Fri Dec 6 12:46:11 UTC 2024 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-PyInstaller # spec file for package python-PyInstaller
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
%bcond_without test %bcond_without test
%define modname PyInstaller %define modname PyInstaller
Name: python-PyInstaller Name: python-PyInstaller
Version: 6.11.1 Version: 6.13.0
Release: 0 Release: 0
Summary: Bundle a Python application and all its dependencies into a single package Summary: Bundle a Python application and all its dependencies into a single package
License: GPL-2.0-only License: GPL-2.0-only