]> code.ossystems Code Review - openembedded-core.git/commit
python3: upgrade to 3.7.2
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 6 Feb 2019 16:26:34 +0000 (17:26 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Feb 2019 10:54:16 +0000 (10:54 +0000)
commit02714c105426b0d687620913c1a7401b386428b6
tree4d42476c2708f71216ee5455b33447fe8485fb69
parent59986a8c678cc7b5eb840323986bdc3513f76b55
python3: upgrade to 3.7.2

I took the same approach as the recent perl upgrade: write recipe from scratch,
taking the pieces from the old recipe only when they were proven to be necessary.

The pgo, manifest and ptest features are all preserved.

New features:

- native and target recipes are now unified into one recipe

- check_build_completeness.py runs right after do_compile() and verifies that
all optional modules have been built (a notorious source of regressions)

- a new approach to sysconfig.py and distutils/sysconfig.py returning values
appropriate for native or target builds: we copy the configuration file to a
separate folder, add that folder to sys.path (through environment variable
that differs between native and target builds), and point python to the file
through another environment variable.

There were a few other patches where it was difficult to decide if the patch
is still relevant, and how to test that it works correctly; please add those
as-needed by testing the new python.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
51 files changed:
meta/classes/python3-dir.bbclass
meta/classes/python3native.bbclass
meta/recipes-devtools/python/python3-native_3.5.6.bb [deleted file]
meta/recipes-devtools/python/python3.inc [deleted file]
meta/recipes-devtools/python/python3/0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3/0001-Do-not-hardcode-lib-as-location-for-site-packages-an.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3/0001-Do-not-use-the-shell-version-of-python-config-that-w.patch
meta/recipes-devtools/python/python3/0001-Issue-21272-Use-_sysconfigdata.py-to-initialize-dist.patch [deleted file]
meta/recipes-devtools/python/python3/0001-Issue-28043-SSLContext-has-improved-default-settings.patch [deleted file]
meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3/0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3/0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch [deleted file]
meta/recipes-devtools/python/python3/0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch
meta/recipes-devtools/python/python3/0002-Don-t-do-runtime-test-to-get-float-byte-order.patch [moved from meta/recipes-devtools/python/python3/float-endian.patch with 92% similarity]
meta/recipes-devtools/python/python3/0002-Makefile-add-target-to-split-profile-generation.patch [deleted file]
meta/recipes-devtools/python/python3/0002-bpo-29136-Add-TLS-1.3-cipher-suites-and-OP_NO_TLSv1_.patch [deleted file]
meta/recipes-devtools/python/python3/0003-bpo-32947-Fixes-for-TLS-1.3-and-OpenSSL-1.1.1-GH-876.patch [deleted file]
meta/recipes-devtools/python/python3/0003-setup.py-pass-missing-libraries-to-Extension-for-mul.patch [moved from meta/recipes-devtools/python/python3/pass-missing-libraries-to-Extension-for-mul.patch with 78% similarity]
meta/recipes-devtools/python/python3/0004-bpo-33570-TLS-1.3-ciphers-for-OpenSSL-1.1.1-GH-6976.patch [deleted file]
meta/recipes-devtools/python/python3/0005-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-2305.patch [deleted file]
meta/recipes-devtools/python/python3/03-fix-tkinter-detection.patch [deleted file]
meta/recipes-devtools/python/python3/030-fixup-include-dirs.patch [deleted file]
meta/recipes-devtools/python/python3/080-distutils-dont_adjust_files.patch [deleted file]
meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch
meta/recipes-devtools/python/python3/130-readline-setup.patch [deleted file]
meta/recipes-devtools/python/python3/150-fix-setupterm.patch [deleted file]
meta/recipes-devtools/python/python3/Use-correct-CFLAGS-for-extensions-when-cross-compili.patch [deleted file]
meta/recipes-devtools/python/python3/avoid-ncursesw-include-path.patch [deleted file]
meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch
meta/recipes-devtools/python/python3/cgi_py.patch
meta/recipes-devtools/python/python3/check_build_completeness.py [new file with mode: 0755]
meta/recipes-devtools/python/python3/configure.ac-fix-LIBPL.patch [deleted file]
meta/recipes-devtools/python/python3/fix_for_using_different_libdir.patch [deleted file]
meta/recipes-devtools/python/python3/ftplib.patch [deleted file]
meta/recipes-devtools/python/python3/host_include_contamination.patch [deleted file]
meta/recipes-devtools/python/python3/python-3.3-multilib.patch [deleted file]
meta/recipes-devtools/python/python3/python3-manifest.json
meta/recipes-devtools/python/python3/python3-use-CROSSPYTHONPATH-for-PYTHON_FOR_BUILD.patch [deleted file]
meta/recipes-devtools/python/python3/regen-all.patch [deleted file]
meta/recipes-devtools/python/python3/setup.py-check-cross_compiling-when-get-FLAGS.patch [deleted file]
meta/recipes-devtools/python/python3/setuptweaks.patch [deleted file]
meta/recipes-devtools/python/python3/signal.patch [deleted file]
meta/recipes-devtools/python/python3/sitecustomize.py [deleted file]
meta/recipes-devtools/python/python3/support_SOURCE_DATE_EPOCH_in_py_compile.patch [deleted file]
meta/recipes-devtools/python/python3/sysconfig.py-add-_PYTHON_PROJECT_SRC.patch [deleted file]
meta/recipes-devtools/python/python3/sysroot-include-headers.patch [deleted file]
meta/recipes-devtools/python/python3/tweak-MULTIARCH-for-powerpc-linux-gnuspe.patch [deleted file]
meta/recipes-devtools/python/python3/tweak-MULTIARCH-for-powerpc-linux-musl.patch [deleted file]
meta/recipes-devtools/python/python3/unixccompiler.patch [deleted file]
meta/recipes-devtools/python/python3_3.5.6.bb [deleted file]
meta/recipes-devtools/python/python3_3.7.2.bb [new file with mode: 0644]