Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Nuitka for openSUSE:Factory checked in at 2022-08-23 14:26:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Nuitka (Old) and /work/SRC/openSUSE:Factory/.python-Nuitka.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Nuitka" Tue Aug 23 14:26:04 2022 rev:13 rq:998569 version:1.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Nuitka/python-Nuitka.changes 2022-01-11 21:24:21.073173282 +0100 +++ /work/SRC/openSUSE:Factory/.python-Nuitka.new.2083/python-Nuitka.changes 2022-08-23 14:26:57.235266690 +0200 @@ -1,0 +2,31 @@ +Thu Aug 18 13:53:06 UTC 2022 - John Vandenberg <jay...@gmail.com> + +- Re-add --skip-reflection-test removed during v0.6.17.4 update +- Increase memory constraint to 24Gb to fix clang tests + +------------------------------------------------------------------- +Sat Aug 6 06:57:11 UTC 2022 - John Vandenberg <jay...@gmail.com> + +- Add Python 3.10 to test matrix +- Disable de-vendoring of nuitka/containers +- Fix Leap 15.4 builds (some tests still failing) +- Skip testing of PkgResourcesRequiresUsing on clang due to OOM +- Update to v1.0.1 + * See https://github.com/Nuitka/Nuitka/blob/develop/Changelog.rst + +------------------------------------------------------------------- +Thu Jul 28 20:39:35 UTC 2022 - Matej Cepl <mc...@suse.com> + +- Instead of doing strange moving of installation trees, + fix setup.py by adding no-binary-distribution.patch + (gh#Nuitka/Nuitka#1702). +- Add _constraints. + +------------------------------------------------------------------- +Tue Jul 26 16:20:18 UTC 2022 - Matej Cepl <mc...@suse.com> + +- Update to 0.9: + List of the changes is extremely long and it is better to read + it in Changelog included in the package. + +------------------------------------------------------------------- Old: ---- Nuitka-0.6.18.5.tar.gz New: ---- Nuitka-1.0.1.tar.gz _constraints no-binary-distribution.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Nuitka.spec ++++++ --- /var/tmp/diff_new_pack.a83t0S/_old 2022-08-23 14:26:57.731267782 +0200 +++ /var/tmp/diff_new_pack.a83t0S/_new 2022-08-23 14:26:57.735267790 +0200 @@ -1,5 +1,5 @@ # -# spec file +# spec file for package python-Nuitka # # Copyright (c) 2022 SUSE LLC # @@ -52,6 +52,9 @@ %if "%{flavor}" == "clang-test-py39" ExclusiveArch: do-not-build %endif +%if "%{flavor}" == "clang-test-py310" +ExclusiveArch: do-not-build +%endif %if "%{flavor}" == "gcc-test-py2" %bcond_with test_clang %bcond_without test_gcc @@ -68,6 +71,9 @@ %if "%{flavor}" == "gcc-test-py39" ExclusiveArch: do-not-build %endif +%if "%{flavor}" == "gcc-test-py310" +ExclusiveArch: do-not-build +%endif %else @@ -90,6 +96,11 @@ %bcond_with test_gcc %define pythons python39 %endif +%if "%{flavor}" == "clang-test-py310" +%bcond_without test_clang +%bcond_with test_gcc +%define pythons python310 +%endif %if "%{flavor}" == "gcc-test-py2" ExclusiveArch: do-not-build %endif @@ -109,12 +120,17 @@ %bcond_without test_gcc %define pythons python39 %endif +%if "%{flavor}" == "gcc-test-py310" +%bcond_with test_clang +%bcond_without test_gcc +%define pythons python310 +%endif %endif %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Nuitka%{?psuffix} -Version: 0.6.18.5 +Version: 1.0.1 Release: 0 Summary: Python compiler with full language support and CPython compatibility License: Apache-2.0 @@ -122,8 +138,14 @@ URL: https://nuitka.net Source: https://files.pythonhosted.org/packages/source/N/Nuitka/Nuitka-%{version}.tar.gz Source1: nuitka-rpmlintrc +# PATCH-FIX-UPSTREAM no-binary-distribution.patch gh#Nuitka/Nuitka#1702 mc...@suse.com +# Do not pretend this is binary distribution +Patch0: no-binary-distribution.patch +BuildRequires: %{python_module boltons} BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: scons @@ -163,15 +185,11 @@ BuildRequires: %{python_module boltons} BuildRequires: %{python_module glfw} BuildRequires: %{python_module glob2} -BuildRequires: %{python_module gtk if (%python-base with python-base)} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module idna} BuildRequires: %{python_module lxml} -BuildRequires: %{python_module matplotlib if (%python-base without python36-base)} -BuildRequires: %{python_module numpy if (%python-base without python36-base)} BuildRequires: %{python_module opengl-accelerate} BuildRequires: %{python_module opengl} -BuildRequires: %{python_module pandas if (%python-base without python36-base)} BuildRequires: %{python_module passlib} BuildRequires: %{python_module pendulum} BuildRequires: %{python_module pmw} @@ -192,6 +210,10 @@ BuildRequires: patchelf BuildRequires: strace BuildRequires: tk +BuildRequires: %{python_module gtk if (%python-base with python-base)} +BuildRequires: %{python_module matplotlib if (%python-base without python36-base)} +BuildRequires: %{python_module numpy if (%python-base without python36-base)} +BuildRequires: %{python_module pandas if (%python-base without python36-base)} %if %{with test_qt6} %if 0%{?suse_version} > 1500 # Leap doesnt have PySide6, and it has old naming on Tumbleweed @@ -215,7 +237,8 @@ used in the same way as pure Python objects. %prep -%setup -q -n Nuitka-%{version} +%autosetup -p1 -n Nuitka-%{version} + # De-vendor rm -r nuitka/build/inline_copy/appdirs/ rm -r nuitka/build/inline_copy/atomicwrites/ @@ -239,14 +262,17 @@ # Ensure there are no other inline copies rm -r nuitka/build/inline_copy/clcache/ # Only needed for Windows rm -r nuitka/build/inline_copy/colorama/ # Only needed for Windows +rm -r nuitka/build/inline_copy/pkg_resources/ # For ancient Pythons rmdir nuitka/build/inline_copy/bin/ rmdir nuitka/build/inline_copy/lib/ + rmdir nuitka/build/inline_copy/ || (ls nuitka/build/inline_copy/ && exit 1) # De-vendor backwards compatibility https://github.com/Nuitka/Nuitka/issues/967 -echo 'from collections import OrderedDict' > nuitka/containers/odict.py -echo 'from boltons.setutils import IndexedSet as OrderedSet' > nuitka/containers/oset.py +# Not working; causes AttributeError: 'str' object has no attribute 'get' +# echo 'from collections import OrderedDict' > nuitka/containers/OrderedDicts.py +# echo 'from boltons.setutils import IndexedSet as OrderedSet' > nuitka/containers/OrderedSetsFallback.py sed -i '1{/^#!/d}' nuitka/tools/testing/*/__main__.py nuitka/tools/general/dll_report/__main__.py @@ -261,15 +287,19 @@ find nuitka -name __init__.py -exec touch -m -r nuitka/__init__.py {} ';' %build -%python_build +%pyproject_wheel %if ! %{with test_gcc} && ! %{with test_clang} %install -%python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} +%pyproject_install --ignore-installed +%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -mnuitka --version +%fdupes %{buildroot}%{$python_sitelib} +} -mv %{buildroot}%{_bindir}/nuitka3 %{buildroot}%{_bindir}/nuitka -mv %{buildroot}%{_bindir}/nuitka3-run %{buildroot}%{_bindir}/nuitka-run +if [ -f %{buildroot}%{_bindir}/nuitka3 ]; then + mv %{buildroot}%{_bindir}/nuitka3 %{buildroot}%{_bindir}/nuitka + mv %{buildroot}%{_bindir}/nuitka3-run %{buildroot}%{_bindir}/nuitka-run +fi rm -f %{buildroot}%{_bindir}/nuitka2 rm -f %{buildroot}%{_bindir}/nuitka2-run @@ -335,9 +365,12 @@ mv tests/standalone/NumpyUsing.py /tmp fi +# OOM +mv tests/standalone/PkgResourcesRequiresUsing.py /tmp + export NUITKA_EXTRA_OPTIONS="--debug" -CC=clang $python ./tests/run-tests --skip-basic-tests --skip-syntax-tests --skip-program-tests --skip-package-tests --skip-plugins-tests --no-other-python +CC=clang $python ./tests/run-tests --skip-basic-tests --skip-syntax-tests --skip-program-tests --skip-package-tests --skip-plugins-tests --skip-reflection-test --no-other-python mv /tmp/*Using.py tests/standalone/ ||: %if 0%{?suse_version} >= 1550 @@ -361,9 +394,12 @@ mv tests/standalone/OpenGLUsing.py /tmp fi +# OOM +mv tests/standalone/PkgResourcesRequiresUsing.py /tmp + export NUITKA_EXTRA_OPTIONS="" -CC=clang $python ./tests/run-tests --skip-basic-tests --skip-syntax-tests --skip-program-tests --skip-package-tests --skip-plugins-tests --no-other-python +CC=clang $python ./tests/run-tests --skip-basic-tests --skip-syntax-tests --skip-program-tests --skip-package-tests --skip-plugins-tests --skip-reflection-test --no-other-python mv /tmp/*Using.py tests/standalone/ ||: %if 0%{?suse_version} >= 1550 @@ -383,19 +419,13 @@ # Please add/remove --debug periodically as many bugs # have been found with/without this flag. -# https://github.com/Nuitka/Nuitka/issues/1338 is a current failure with `--debug` -export NUITKA_EXTRA_OPTIONS="" - -# A patchelf failure in Pandasusing on gcc Leap 15.2 py36 has occurred once -# It may be the same problem as https://github.com/Nuitka/Nuitka/issues/1298 -# which will be fixed in the next patch release +# https://github.com/Nuitka/Nuitka/issues/1338 is a current failure with `` +export NUITKA_EXTRA_OPTIONS="--debug" -# https://github.com/Nuitka/Nuitka/issues/1338 -if [[ "$python" == "python2" ]]; then - mv tests/standalone/MatplotlibUsing.py /tmp -fi +# OOM +mv tests/standalone/MatplotlibUsing.py /tmp -CC=gcc $python ./tests/run-tests --no-other-python +CC=gcc $python ./tests/run-tests --no-other-python --skip-reflection-test mv /tmp/*Using.py tests/standalone/ ||: %if 0%{?suse_version} >= 1550 @@ -422,7 +452,8 @@ %files %{python_files} %doc Changelog.rst README.rst Developer_Manual.rst %license LICENSE.txt -%{python_sitelib}/* +%{python_sitelib}/nuitka +%{python_sitelib}/Nuitka-%{version}*-info %python_alternative %{_bindir}/nuitka-run %python_alternative %{_bindir}/nuitka %python_alternative %{_mandir}/man1/nuitka.1 ++++++ Nuitka-0.6.18.5.tar.gz -> Nuitka-1.0.1.tar.gz ++++++ ++++ 402286 lines of diff (skipped) ++++++ _constraints ++++++ <constraints> <hardware> <physicalmemory> <size unit="G">10</size> </physicalmemory> <disk> <size unit="G">24</size> </disk> </hardware> </constraints> ++++++ _multibuild ++++++ --- /var/tmp/diff_new_pack.a83t0S/_old 2022-08-23 14:27:00.959274886 +0200 +++ /var/tmp/diff_new_pack.a83t0S/_new 2022-08-23 14:27:00.963274895 +0200 @@ -3,9 +3,11 @@ <package>clang-test-py36</package> <package>clang-test-py38</package> <package>clang-test-py39</package> + <package>clang-test-py310</package> <package>gcc-test-py2</package> <package>gcc-test-py36</package> <package>gcc-test-py38</package> <package>gcc-test-py39</package> + <package>gcc-test-py310</package> </multibuild> ++++++ no-binary-distribution.patch ++++++ --- setup.py | 3 --- 1 file changed, 3 deletions(-) --- a/setup.py +++ b/setup.py @@ -382,7 +382,4 @@ Python compiler with full language suppo ], "console_scripts": console_scripts, }, - # As we do version specific hacks for installed inline copies, make the - # wheel version and platform specific. - distclass=BinaryDistribution, )