14
0

Accepting request 1007201 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1007201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyInstaller?expand=0&rev=7
This commit is contained in:
2022-09-30 15:58:36 +00:00
committed by Git OBS Bridge
4 changed files with 34 additions and 8 deletions

View File

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

3
pyinstaller-5.4.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Fri Sep 30 08:41:35 UTC 2022 - Markéta Machová <mmachova@suse.com>
- 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.
-------------------------------------------------------------------
Thu Nov 18 15:23:35 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-PyInstaller
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
%bcond_without test
%define modname PyInstaller
Name: python-PyInstaller
Version: 4.7
Version: 5.4.1
Release: 0
Summary: Bundle a Python application and all its dependencies into a single package
License: GPL-2.0-only
@@ -43,6 +43,7 @@ Recommends: upx
%if %{with test}
BuildRequires: %{python_module Babel}
BuildRequires: %{python_module Django}
BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module QtAwesome}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module cryptography}
@@ -52,6 +53,7 @@ BuildRequires: %{python_module opengl}
BuildRequires: %{python_module pefile >= 2017.8.1}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pycountry}
BuildRequires: %{python_module pyinstaller-hooks-contrib}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module qt5}
@@ -106,9 +108,9 @@ fi
%if %{with test}
%check
export LANG=en_US.UTF-8
# test_get_co_using_ctypes, test_get_co_using_ctypes_from_extension, test_replace_paths_in_code broken with python 3.8 on PyInstall 3.6
# gh#pyinstaller/pyinstaller#4406 skip TestDeeplyNested.testRegr (it is just the only method in the class)
%pytest_arch -n auto tests/unit -k 'not (test_find_module or test_egg and not test_nspkg1 or test_get_co_using_ctypes or test_get_co_using_ctypes_from_extension or test_replace_paths_in_code or TestDeeplyNested)'
# https://github.com/pyinstaller/pyinstaller/commit/2df8314ffaedd95ddc9e2871237e2f2188d3735e
# the test is broken since 5.2
%pytest_arch -n auto tests/unit -k "not test_normalize_icon"
%endif
%post