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 2021-03-30 21:06:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Nuitka (Old) and /work/SRC/openSUSE:Factory/.python-Nuitka.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Nuitka" Tue Mar 30 21:06:02 2021 rev:4 rq:875677 version:0.6.12.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Nuitka/python-Nuitka.changes 2021-01-29 14:57:51.421576477 +0100 +++ /work/SRC/openSUSE:Factory/.python-Nuitka.new.2401/python-Nuitka.changes 2021-03-30 21:06:42.985134278 +0200 @@ -1,0 +2,16 @@ +Sat Feb 20 21:46:12 UTC 2021 - John Vandenberg <[email protected]> + +- Use python-sip4 for build dependency to re-enable Leap builds + +------------------------------------------------------------------- +Sat Feb 20 01:27:35 UTC 2021 - John Vandenberg <[email protected]> + +- Do not build for Python 3.6 on Tumbleweed +- Add testing using gcc, in addition to clang +- Remove merged i811.patch +- De-vendor ordered set using boltons +- Add workaround for issue 995 +- Update to v0.6.12.2 + * See https://github.com/Nuitka/Nuitka/blob/develop/Changelog.rst + +------------------------------------------------------------------- Old: ---- Nuitka-0.6.11.3.tar.gz i811.patch New: ---- Nuitka-0.6.12.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Nuitka.spec ++++++ --- /var/tmp/diff_new_pack.crPEbw/_old 2021-03-30 21:06:43.701135064 +0200 +++ /var/tmp/diff_new_pack.crPEbw/_new 2021-03-30 21:06:43.705135069 +0200 @@ -17,15 +17,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python36 1 Name: python-Nuitka -Version: 0.6.11.3 +Version: 0.6.12.2 Release: 0 Summary: Python compiler with full language support and CPython compatibility License: Apache-2.0 Group: Development/Languages/Python URL: http://nuitka.net Source: https://files.pythonhosted.org/packages/source/N/Nuitka/Nuitka-%{version}.tar.gz -Patch0: i811.patch Source1: nuitka-rpmlintrc BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} @@ -35,6 +35,7 @@ Requires: gcc-c++ Requires: python-appdirs Requires: python-atomicwrites +Requires: python-boltons Requires: python-devel Requires: scons Requires(post): update-alternatives @@ -45,19 +46,29 @@ Recommends: strace Suggests: execstack Suggests: gdb +Suggests: libfuse2 BuildArch: noarch # SECTION Testing requirements BuildRequires: %{python_module Brotli} BuildRequires: %{python_module Flask} BuildRequires: %{python_module appdirs} BuildRequires: %{python_module atomicwrites} +BuildRequires: %{python_module boltons} +BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module idna} BuildRequires: %{python_module lxml} +BuildRequires: %{python_module numpy} +BuildRequires: %{python_module opengl-accelerate} BuildRequires: %{python_module opengl} +BuildRequires: %{python_module pandas} BuildRequires: %{python_module passlib} +BuildRequires: %{python_module pendulum} +BuildRequires: %{python_module pycairo} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module pmw} BuildRequires: %{python_module qt5} BuildRequires: %{python_module rsa} +BuildRequires: %{python_module sip4} BuildRequires: %{python_module tk} BuildRequires: %{python_module urllib3} BuildRequires: %{python_module xml} @@ -67,11 +78,14 @@ BuildRequires: gdb BuildRequires: strace BuildRequires: tk -# boto3 tests are disabled -#BuildRequires: %%{python_module moto} -#BuildRequires: %%{python_module boto3} +BuildRequires: (python2-gtk if python2-base) # pyside2 has working tests, however it exists on few arch #BuildRequires: python3-pyside2 +# AppImageKit not available in Factory yet +# https://github.com/Nuitka/Nuitka/issues/992 +#BuildRequires: appimagetool +#BuildRequires: pkgconfig(fuse) +BuildRequires: libfuse2 # /SECTION Testing requirements %python_subpackages @@ -84,7 +98,6 @@ %prep %setup -q -n Nuitka-%{version} -%patch0 -p1 # De-vendor rm -r nuitka/build/inline_copy/appdirs/ rm -r nuitka/build/inline_copy/atomicwrites/ @@ -97,8 +110,23 @@ rmdir nuitka/build/inline_copy/lib/ rmdir nuitka/build/inline_copy/ +# De-vendor 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 + sed -i '1{/^#!/d}' nuitka/tools/testing/*/__main__.py nuitka/tools/general/dll_report/__main__.py +# https://github.com/Nuitka/Nuitka/issues/965 +# - Boto3Using needs BR boto3, and moto which +# is not available on many arch +# - NumpyUsing fails +sed -Ei 's/(PySideUsing)/IgnoreThisConditional/' tests/standalone/run_all.py +rm tests/standalone/Boto3Using.py +rm tests/standalone/NumpyUsing.py + +# https://github.com/Nuitka/Nuitka/issues/995 +sed -i 's/assert python_version <= 390/pass/' nuitka/tree/TreeHelpers.py + %build %python_build @@ -107,10 +135,13 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} mv %{buildroot}%{_bindir}/nuitka3 %{buildroot}%{_bindir}/nuitka -%python_clone -a %{buildroot}%{_bindir}/nuitka mv %{buildroot}%{_bindir}/nuitka3-run %{buildroot}%{_bindir}/nuitka-run + +%python_clone -a %{buildroot}%{_bindir}/nuitka %python_clone -a %{buildroot}%{_bindir}/nuitka-run +%fdupes %{buildroot}%{_bindir} + # Allow building from source repo tarball if [ -f doc/nuitka.1 ]; then mkdir -p %{buildroot}%{_mandir}/man1 @@ -124,21 +155,50 @@ %check export TCL_LIBRARY=%{_libdir}/tcl/tcl8.6 export TK_LIBRARY=%{_libdir}/tcl/tk8.6 -# Force using clang https://github.com/Nuitka/Nuitka/issues/809 -export CC=clang + +# Use `export CC=clang` to force using clang +# which has known failures +# https://github.com/Nuitka/Nuitka/issues/960 # Reflection tests are very time consuming and not helpful for smoke tests -export NUITKA_EXTRA_OPTIONS="--debug" %{python_expand # -# FlaskUsing OOM in LLVM on Python 3.6 and 3.8 +# FlaskUsing OOM in LLVM on Python 3.6 and 3.8 with clang # https://github.com/Nuitka/Nuitka/issues/960 +# Also numpy causes the opengl tests to OOM mv tests/standalone/FlaskUsing.py /tmp +mv tests/standalone/OpenGLUsing.py /tmp +mv tests/standalone/PandasUsing.py /tmp +mv tests/standalone/PyQt5SSLSupport.py /tmp +# Pendulum fails only on most arch, except for s390x +mv tests/standalone/PendulumUsing.py /tmp + +# clang with debug + +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 --skip-reflection-test --no-other-python + +mv /tmp/*Using.py /tmp/*Support.py tests/standalone/ + +# clang without debug +mv tests/standalone/PandasUsing.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 --skip-reflection-test --no-other-python + +mv /tmp/*Using.py tests/standalone/ + +# gcc with debug +mv tests/standalone/PandasUsing.py /tmp + +export NUITKA_EXTRA_OPTIONS="--debug" -$python ./tests/run-tests --skip-reflection-test --no-other-python +CC=gcc $python ./tests/run-tests --skip-reflection-test --no-other-python -mv /tmp/FlaskUsing.py tests/standalone/ +mv /tmp/*Using.py tests/standalone/ } %post ++++++ Nuitka-0.6.11.3.tar.gz -> Nuitka-0.6.12.2.tar.gz ++++++ ++++ 60349 lines of diff (skipped)
