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-01-29 14:57:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Nuitka (Old) and /work/SRC/openSUSE:Factory/.python-Nuitka.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Nuitka" Fri Jan 29 14:57:37 2021 rev:3 rq:867680 version:0.6.11.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Nuitka/python-Nuitka.changes 2020-10-13 16:17:09.242275787 +0200 +++ /work/SRC/openSUSE:Factory/.python-Nuitka.new.28504/python-Nuitka.changes 2021-01-29 14:57:51.421576477 +0100 @@ -1,0 +2,9 @@ +Mon Jan 25 10:53:01 UTC 2021 - John Vandenberg <jay...@gmail.com> + +- Fix multi Python builds +- Add i811.patch to enable SocketUsing & TkInterUsing tests +- Disable FlaskUsing tests due to OOM +- Update to v0.6.11.3 + * See https://github.com/Nuitka/Nuitka/blob/develop/Changelog.rst + +------------------------------------------------------------------- Old: ---- Nuitka-0.6.9.1.tar.gz New: ---- Nuitka-0.6.11.3.tar.gz i811.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Nuitka.spec ++++++ --- /var/tmp/diff_new_pack.HprVB2/_old 2021-01-29 14:57:52.217577648 +0100 +++ /var/tmp/diff_new_pack.HprVB2/_new 2021-01-29 14:57:52.217577648 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-Nuitka # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Nuitka -Version: 0.6.9.1 +Version: 0.6.11.3 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} @@ -33,6 +34,7 @@ BuildRequires: scons Requires: gcc-c++ Requires: python-appdirs +Requires: python-atomicwrites Requires: python-devel Requires: scons Requires(post): update-alternatives @@ -45,9 +47,10 @@ Suggests: gdb BuildArch: noarch # SECTION Testing requirements -BuildRequires: %{python_module appdirs} BuildRequires: %{python_module Brotli} BuildRequires: %{python_module Flask} +BuildRequires: %{python_module appdirs} +BuildRequires: %{python_module atomicwrites} BuildRequires: %{python_module idna} BuildRequires: %{python_module lxml} BuildRequires: %{python_module opengl} @@ -64,7 +67,7 @@ BuildRequires: gdb BuildRequires: strace BuildRequires: tk -# moto currently failing to build +# boto3 tests are disabled #BuildRequires: %%{python_module moto} #BuildRequires: %%{python_module boto3} # pyside2 has working tests, however it exists on few arch @@ -81,8 +84,11 @@ %prep %setup -q -n Nuitka-%{version} +%patch0 -p1 # De-vendor rm -r nuitka/build/inline_copy/appdirs/ +rm -r nuitka/build/inline_copy/atomicwrites/ +rm -r nuitka/build/inline_copy/clcache/ rm -r nuitka/build/inline_copy/pefile/ # SCons has copies here that are automatically excluded, but remove them to be sure rm -r nuitka/build/inline_copy/lib/scons*/ @@ -100,16 +106,20 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -mkdir -p %{buildroot}%{_mandir}/man1 -gzip -c doc/nuitka.1 > %{buildroot}%{_mandir}/man1/nuitka.1.gz -gzip -c doc/nuitka-run.1 > %{buildroot}%{_mandir}/man1/nuitka-run.1.gz - mv %{buildroot}%{_bindir}/nuitka3 %{buildroot}%{_bindir}/nuitka %python_clone -a %{buildroot}%{_bindir}/nuitka -%python_clone -a %{buildroot}%{_mandir}/man1/nuitka.1.gz mv %{buildroot}%{_bindir}/nuitka3-run %{buildroot}%{_bindir}/nuitka-run %python_clone -a %{buildroot}%{_bindir}/nuitka-run -%python_clone -a %{buildroot}%{_mandir}/man1/nuitka-run.1.gz + +# Allow building from source repo tarball +if [ -f doc/nuitka.1 ]; then + mkdir -p %{buildroot}%{_mandir}/man1 + gzip -c doc/nuitka.1 > %{buildroot}%{_mandir}/man1/nuitka.1.gz + gzip -c doc/nuitka-run.1 > %{buildroot}%{_mandir}/man1/nuitka-run.1.gz + + %python_clone -a %{buildroot}%{_mandir}/man1/nuitka.1.gz + %python_clone -a %{buildroot}%{_mandir}/man1/nuitka-run.1.gz +fi %check export TCL_LIBRARY=%{_libdir}/tcl/tcl8.6 @@ -117,18 +127,22 @@ # Force using clang https://github.com/Nuitka/Nuitka/issues/809 export CC=clang -# https://github.com/Nuitka/Nuitka/issues/811 -mv tests/standalone/SocketUsing.py tests/standalone/TkInterUsing.py /tmp - # Reflection tests are very time consuming and not helpful for smoke tests export NUITKA_EXTRA_OPTIONS="--debug" -%python_exec ./tests/run-tests --skip-reflection-test --no-other-python +%{python_expand # + +# FlaskUsing OOM in LLVM on Python 3.6 and 3.8 +# https://github.com/Nuitka/Nuitka/issues/960 +mv tests/standalone/FlaskUsing.py /tmp + +$python ./tests/run-tests --skip-reflection-test --no-other-python -mv /tmp/SocketUsing.py /tmp/TkInterUsing.py tests/standalone/ +mv /tmp/FlaskUsing.py tests/standalone/ +} %post -%python_install_alternative nuitka nuitka.1 nuitka-run nuitka-run.1 +%python_install_alternative nuitka nuitka-run nuitka.1 nuitka-run.1 %postun %python_uninstall_alternative nuitka ++++++ Nuitka-0.6.9.1.tar.gz -> Nuitka-0.6.11.3.tar.gz ++++++ ++++ 202065 lines of diff (skipped) ++++++ i811.patch ++++++ diff --git a/tests/standalone/run_all.py b/tests/standalone/run_all.py index 371ba8a6a..f3c63c6fa 100755 --- a/tests/standalone/run_all.py +++ b/tests/standalone/run_all.py @@ -311,6 +311,9 @@ def main(): if loaded_filename.startswith("/etc/"): continue + if loaded_filename.startswith("/usr/etc/"): + continue + if loaded_filename.startswith("/proc/") or loaded_filename == "/proc": continue