14
0
Commit Graph

15 Commits

Author SHA256 Message Date
d9d2cf74cc Accepting request 1031633 from home:yarunachalam:branches:devel:languages:python
- Update to 5.6
  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.) (#6783)
  Implement a new hook utility function, collect_delvewheel_libs_directory(), intended for dealing with external shared
  library in delvewheel-enabled PyPI wheels for Windows. (#7170)
  Bugfix
  - (macOS) Fix OpenCV (cv2) loader error in generated macOS .app bundles, caused by the relocation of package’s source .py files. (#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. (#7168)
  - (Windows) Limit the DLL parent path preservation behavior from #7028 to files collected from site-packages directories
    (as returned by site.getsitepackages() and site.getusersitepackages()) instead of all paths in sys.path, to avoid unintended
    behavior in corner cases, such as sys.path containing the drive root or user’s home directory. (#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. (#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. (#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. (#7180)
  Bootloader
  - (Windows) Update the bundled zlib sources to v1.2.13. (#7166)
- Update to 5.5  
  Features
  - (Windows) Support embedding multiple icons in the executable. (#7103)
  Bugfix
  - (Windows) Fix a regression introduced in PyInstaller 5.4 (#6925), where incorrect copy of python3.dll
    (and consequently an additional, incorrect copy of python3X.dll from the same directory) is collected when additional python

OBS-URL: https://build.opensuse.org/request/show/1031633
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=20
2022-10-29 07:59:43 +00:00
b262bd96c1 Accepting request 1007199 from home:mcalabkova:branches:devel:languages:python
- Update to 5.4.1
  * Many changes, see upstream changelog
  * Issue an error report if a .spec file will not be generated, but 
    command-line options specific to that functionality are given
  * The `PyInstaller.utils.hooks.get_module_attribute` function now 
    returns the actual attribute value instead of its string representation.
  * The matplotlib.backends hook no longer collects all available matplotlib 
    backends, but rather tries to auto-detect the used backend(s) by default.
  * Drop support for Python 3.6.
  * Make the error handing of `~PyInstaller.utils.hooks.collect_submodules` 
    configurable.
  * Detect if an icon file (.ico or .icns) is of another image type but has 
    been mislabelled as a native icon type via its file suffix then either 
    normalise to a genuinely native image type if pillow is installed or 
    raise an error.
  * Implement a mechanism for controlling the collection mode of modules and 
    packages, with granularity ranging from top-level packages to individual 
    sub-modules.
  * Add support for setuptools-provided distutils, available since 
    setuptools >= 60.0.

OBS-URL: https://build.opensuse.org/request/show/1007199
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=18
2022-09-30 08:59:05 +00:00
d88c76fa9e - Update to 4.7:
- Fix a bug since v4.6 where certain Unix system directories
    were incorrectly assumed to exist and resulted in a
    FileNotFoundError.
  - Update sphinx hook for compatibility with latest version
    (4.2.0).
  - Replace use of PyRun_SimpleString with
    PyRun_SimpleStringFlags.
  - Add support for Python 3.10.
  - Implement basic resource reader for accessing on-filesystem
    resources (data files) via importlib.resources (python >=
    3.9) or importlib_resources (python <= 3.8).
  - Ship precompiled wheels for musl-based Linux distributions
    (such as Alpine or OpenWRT) on x86_64 and aarch64.
  - Fix sys.executable pointing to the external package file
    instead of the executable when in package side-load mode
    (pkg_append=False).
  - Fix a runaway glob which caused
    ctypes.util.find_library("libfoo") to non-deterministically
    pick any library matching libfoo* to bundle instead of
    libfoo.so.
  - Fix compatibility with with MIPS and loongarch64
    architectures.
  - Fix the FrozenImporter.get_source() to correctly handle the
    packages’ __init__.py source files. This in turn fixes
    missing-source-file errors for packages that use pytorch JIT
    when the source .py files are collected and available (for
    example, kornia).
  - Fix the location of the generated stand-alone pkg file when
    using the side-load mode (pkg_append=False) in combination

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=17
2021-11-18 15:32:17 +00:00
99c3b68e65 - Remove glibc233.patch (included upstream)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=16
2021-09-18 09:20:39 +00:00
f6edfefb9d Fix SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=15
2021-09-18 09:17:16 +00:00
a7e5629815 Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=14
2021-09-18 09:16:13 +00:00
bbe3b9bd03 - Update to 4.5.1: large number of changes, see packaged CHANGES.rst for
the complete list.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=13
2021-09-16 11:26:21 +00:00
6f82ae126d - Skip TestDeeplyNested.testRegr for gh#pyinstaller/pyinstaller#4406
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=12
2021-09-16 10:22:15 +00:00
daa19307f0 Accepting request 882584 from home:mcalabkova:branches:devel:languages:python
- Automagically skip matplotlib tests because matplotlib dropped python36
- Add glibc233.patch to fix recent test failure

OBS-URL: https://build.opensuse.org/request/show/882584
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=10
2021-04-01 13:59:47 +00:00
Tomáš Chvátal
6904e726ca - Disable functional tests as it takes ages and basic checks
are okay with unittests

- Use xdist for test execution as otherwise it takes ages

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=8
2020-03-18 07:33:23 +00:00
Tomáš Chvátal
3024efca4e Accepting request 765290 from home:aplanas:branches:devel:languages:python
- Requires python-devel, as `pyinstaller` cannot be used without it

- Update to version 3.6

OBS-URL: https://build.opensuse.org/request/show/765290
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=6
2020-01-17 18:10:19 +00:00
Tomáš Chvátal
82a9d7727c OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=5 2020-01-17 12:49:58 +00:00
Tomáš Chvátal
26c6afde9a Accepting request 765242 from home:aplanas:branches:devel:languages:python
- Temporary disabled of tests test_egg* and test_nspkg1*

- Update to version 3.4
  * See changelog at https://github.com/pyinstaller/pyinstaller/blob/v3.6/doc/CHANGES.rst
- Add %bcond_with python2

OBS-URL: https://build.opensuse.org/request/show/765242
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=4
2020-01-17 12:48:43 +00:00
Tomáš Chvátal
6e6695c386 - Format with spec-cleaner, fix license
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=2
2019-09-23 07:20:01 +00:00
Tomáš Chvátal
9de8031f34 Accepting request 732148 from home:jayvdb:py-new
- Delete upstream bootloaders from the source distribution, forcing re-compilation of bootloader for all platforms, removing 'noarch'
- Lightly update spec, year and https
- Update to v3.5
  * See changelog at https://github.com/pyinstaller/pyinstaller/blob/v3.5/doc/CHANGES.rst

OBS-URL: https://build.opensuse.org/request/show/732148
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=1
2019-09-20 12:04:18 +00:00