From d88c76fa9e1a8afc205e81b0bb96842a8cf4350ab934344a574fd30413727f84 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 18 Nov 2021 15:32:17 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=204.7:=20=20=20-=20Fix=20a=20bu?= =?UTF-8?q?g=20since=20v4.6=20where=20certain=20Unix=20system=20directorie?= =?UTF-8?q?s=20=20=20=20=20were=20incorrectly=20assumed=20to=20exist=20and?= =?UTF-8?q?=20resulted=20in=20a=20=20=20=20=20FileNotFoundError.=20=20=20-?= =?UTF-8?q?=20Update=20sphinx=20hook=20for=20compatibility=20with=20latest?= =?UTF-8?q?=20version=20=20=20=20=20(4.2.0).=20=20=20-=20Replace=20use=20o?= =?UTF-8?q?f=20PyRun=5FSimpleString=20with=20=20=20=20=20PyRun=5FSimpleStr?= =?UTF-8?q?ingFlags.=20=20=20-=20Add=20support=20for=20Python=203.10.=20?= =?UTF-8?q?=20=20-=20Implement=20basic=20resource=20reader=20for=20accessi?= =?UTF-8?q?ng=20on-filesystem=20=20=20=20=20resources=20(data=20files)=20v?= =?UTF-8?q?ia=20importlib.resources=20(python=20>=3D=20=20=20=20=203.9)=20?= =?UTF-8?q?or=20importlib=5Fresources=20(python=20<=3D=203.8).=20=20=20-?= =?UTF-8?q?=20Ship=20precompiled=20wheels=20for=20musl-based=20Linux=20dis?= =?UTF-8?q?tributions=20=20=20=20=20(such=20as=20Alpine=20or=20OpenWRT)=20?= =?UTF-8?q?on=20x86=5F64=20and=20aarch64.=20=20=20-=20Fix=20sys.executable?= =?UTF-8?q?=20pointing=20to=20the=20external=20package=20file=20=20=20=20?= =?UTF-8?q?=20instead=20of=20the=20executable=20when=20in=20package=20side?= =?UTF-8?q?-load=20mode=20=20=20=20=20(pkg=5Fappend=3DFalse).=20=20=20-=20?= =?UTF-8?q?Fix=20a=20runaway=20glob=20which=20caused=20=20=20=20=20ctypes.?= =?UTF-8?q?util.find=5Flibrary("libfoo")=20to=20non-deterministically=20?= =?UTF-8?q?=20=20=20=20pick=20any=20library=20matching=20libfoo*=20to=20bu?= =?UTF-8?q?ndle=20instead=20of=20=20=20=20=20libfoo.so.=20=20=20-=20Fix=20?= =?UTF-8?q?compatibility=20with=20with=20MIPS=20and=20loongarch64=20=20=20?= =?UTF-8?q?=20=20architectures.=20=20=20-=20Fix=20the=20FrozenImporter.get?= =?UTF-8?q?=5Fsource()=20to=20correctly=20handle=20the=20=20=20=20=20packa?= =?UTF-8?q?ges=E2=80=99=20=5F=5Finit=5F=5F.py=20source=20files.=20This=20i?= =?UTF-8?q?n=20turn=20fixes=20=20=20=20=20missing-source-file=20errors=20f?= =?UTF-8?q?or=20packages=20that=20use=20pytorch=20JIT=20=20=20=20=20when?= =?UTF-8?q?=20the=20source=20.py=20files=20are=20collected=20and=20availab?= =?UTF-8?q?le=20(for=20=20=20=20=20example,=20kornia).=20=20=20-=20Fix=20t?= =?UTF-8?q?he=20location=20of=20the=20generated=20stand-alone=20pkg=20file?= =?UTF-8?q?=20when=20=20=20=20=20using=20the=20side-load=20mode=20(pkg=5Fa?= =?UTF-8?q?ppend=3DFalse)=20in=20combination?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=17 --- PyInstaller-4.5.1.tar.gz | 3 --- pyinstaller-4.7.tar.gz | 3 +++ python-PyInstaller.changes | 55 ++++++++++++++++++++++++++++++++++++++ python-PyInstaller.spec | 4 +-- 4 files changed, 60 insertions(+), 5 deletions(-) delete mode 100644 PyInstaller-4.5.1.tar.gz create mode 100644 pyinstaller-4.7.tar.gz diff --git a/PyInstaller-4.5.1.tar.gz b/PyInstaller-4.5.1.tar.gz deleted file mode 100644 index 421f8bd..0000000 --- a/PyInstaller-4.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:96fd6668c15a1dc4d0d53c96b2360fcc76d9e5ab3a3ad9328f2d39fec1557d51 -size 3436845 diff --git a/pyinstaller-4.7.tar.gz b/pyinstaller-4.7.tar.gz new file mode 100644 index 0000000..4017a39 --- /dev/null +++ b/pyinstaller-4.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91165635f6f47fcb3318c4c7b606863106855863db77b9ded2879ce664474111 +size 3497401 diff --git a/python-PyInstaller.changes b/python-PyInstaller.changes index 5435142..c4bfbd5 100644 --- a/python-PyInstaller.changes +++ b/python-PyInstaller.changes @@ -1,3 +1,58 @@ +------------------------------------------------------------------- +Thu Nov 18 15:23:35 UTC 2021 - Matej Cepl + +- 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 + with onefile mode. The package file is now placed next to the + executable instead of next to the .spec file. + - When generating spec files, avoid hard-coding the spec + file’s location as the pathex argument to the Analysis. + - Add a hook for pandas.plotting to restore compatibility with pandas 1.3.0 and later. + - Add a hook for QtOpenGLWidgets for PyQt6 and PySide6 to + collect the new QtOpenGLWidgets module introduced in Qt6 + - Add hooks for QtPositioning and QtLocation modules of the + Qt5-based packages (PySide2 and PyQt5) to ensure that + corresponding plugins are collected. + - Fix compatibility with PyQt5 5.9.2 from conda’s main channel. + - Prevent potential error in hooks for Qt-based packages that + could be triggered by a partial PyQt6 installation. + - Update QtNetwork hook for PyQt6 and PySide6 to collect the + new tls plugins that were introduced in Qt 6.2. + - Update the gi.repository.GtkSource hook to accept a + module-versions hooksconfig dict in order to allow the hook + to be used with GtkSource versions greater than 3.0. + - Update the Linux bootloader cross compiler Dockerfile to + allow using the official PyPA base images in place of the + dockcross ones. + ------------------------------------------------------------------- Thu Sep 16 11:25:16 UTC 2021 - Matej Cepl diff --git a/python-PyInstaller.spec b/python-PyInstaller.spec index 8d1edd5..ab824c3 100644 --- a/python-PyInstaller.spec +++ b/python-PyInstaller.spec @@ -21,12 +21,12 @@ %bcond_without test %define modname PyInstaller Name: python-PyInstaller -Version: 4.5.1 +Version: 4.7 Release: 0 Summary: Bundle a Python application and all its dependencies into a single package License: GPL-2.0-only URL: https://www.pyinstaller.org -Source: https://github.com/pyinstaller/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz +Source: https://github.com/pyinstaller/pyinstaller/archive/refs/tags/v%{version}.tar.gz#/pyinstaller-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes