summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
...
* python3: support recommends in manifestRoss Burton2019-08-031-2/+8
| | | | | | | | | Add support for runtime recommends along with runtime depends to the manifest. (From OE-Core rev: 16cc9a2ca559d978c6d0e648c18c297255b69dcc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: remove empty python3-distutils-staticdevRoss Burton2019-08-031-12/+0
| | | | | | | | | | distutils doesn't ship any static libraries, and the files this should pick up do not exist. Copy/paste gone wrong maybe? (From OE-Core rev: afbca8da4ddd6c3dd01bb44af43aee9e80cae512) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: CVE-2019-9947 is same as CVE-2019-9740Anuj Mittal2019-07-311-0/+1
| | | | | | | | | | See: https://bugs.python.org/issue30458 (From OE-Core rev: fa434cf1ae621f106d823c92f7e3a16172e7479f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: fix CVE-2018-20852Anuj Mittal2019-07-312-0/+124
| | | | | | | (From OE-Core rev: 04fc80b2c77a177601584500f0f3048d80095ad7) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-git: update to 2.1.12Oleksandr Kravchuk2019-07-262-6/+5
| | | | | | | | | Got rid of python-git since there is no python2 version of the package. (From OE-Core rev: dd9d95e8394a7a318538c7cabd27c82e4bc9e029) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: update to 19.2.1Oleksandr Kravchuk2019-07-261-2/+2
| | | | | | | (From OE-Core rev: dded7fc1bc7caf22837d13dabbc66b84b15b872b) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-mako: update to 1.0.14Oleksandr Kravchuk2019-07-232-6/+3
| | | | | | | | | Got rid of python-git since there is no python2 version of the package. (From OE-Core rev: cbdb000632b6320fe9741b750a7cf3fe5b3ec640) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-docutils: update to 0.15Oleksandr Kravchuk2019-07-231-3/+2
| | | | | | | (From OE-Core rev: 74b5d8df4e26fcfa8f1bbb91c5184331185973fc) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-scons: update to 3.1.0Oleksandr Kravchuk2019-07-232-2/+2
| | | | | | | (From OE-Core rev: 03a04b197dd0d7af7050a132b4f0ad376b81821d) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pbr: update to 5.4.1Oleksandr Kravchuk2019-07-232-5/+5
| | | | | | | (From OE-Core rev: e59c6720271be8e3f1e93c301078a580ffdaafe0) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: include CVE patches for python-native as wellAnuj Mittal2019-07-192-5/+5
| | | | | | | | | Also avoids maintaining a different set of patches for both. (From OE-Core rev: b3b1c00cc46b33ddbf7e008267032220e1e298af) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: upgrade 3.7.3 -> 3.7.4Anuj Mittal2019-07-171-2/+2
| | | | | | | | | | | Also fixes CVE-2019-9740, CVE-2019-9948. For details, see: https://docs.python.org/3.7/whatsnew/changelog.html#python-3-7-4-final (From OE-Core rev: 73579c846fe02fb14464869ed382faf8fe299636) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: fix CVE-2019-9740Anuj Mittal2019-07-172-0/+216
| | | | | | | (From OE-Core rev: 8eddac3305b7b428565103cde88cba444e3f0dd0) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pbr: update to 5.4.0Oleksandr Kravchuk2019-07-102-5/+5
| | | | | | | (From OE-Core rev: d40d9573d8f7414a3fd255dbfd519185369de13c) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-mako: update to 1.0.13Oleksandr Kravchuk2019-07-032-2/+2
| | | | | | | (From OE-Core rev: 499df2b1f5cb793ecbedd0f4e28a5ae02d5e64f9) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix Upstream-Status tagsRoss Burton2019-07-021-1/+1
| | | | | | | (From OE-Core rev: ec644192c758ce1ec90c487a0fff69d6de0ca55d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Fix .pyc file reproduciblilityJoshua Watt2019-06-282-0/+36
| | | | | | | | | | Applies a patch to python that makes the pre-compiled .pyc files generated during the build reproducible. (From OE-Core rev: 148d54f91f43147f31b16a7c2cb1ade385832366) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: update to 3.32.2Oleksandr Kravchuk2019-06-281-3/+3
| | | | | | | (From OE-Core rev: 26b7298d2f34b5a20cf22b449ce362987b2b52f9) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pbr: update to 5.3.1Oleksandr Kravchuk2019-06-282-5/+5
| | | | | | | (From OE-Core rev: 9bb4c8b5b0f0bec15fa80f1d3e55a34ee13c08bb) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-mako: update to 1.0.12Oleksandr Kravchuk2019-06-282-3/+3
| | | | | | | | | License checksum changed due to madified copyright year. (From OE-Core rev: 9225797184c877dd22aa5f96503a182a548303ff) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dbus: Remove obsolete dependency on dbus-glibAdrian Bunk2019-06-271-1/+1
| | | | | | | | | Upstream stopped using it in 1.2.6. (From OE-Core rev: b9353d6fbcd36a671e02bb849553a3791270c742) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Reformat sysconfigJoshua Watt2019-06-242-0/+28
| | | | | | | | | | | | | | | | | | | | | | | Reformats the sysconfig file when packaging. This file is output by using the python pprint function. This function will wrap long lines at 80 characters by default, and will even split strings at whitespace boundaries to do so, e.g.: 'A': 'B is really' ' long' This causes a problem for reproducibility however because there might be lines of differing lengths depending on the build path. These non-reproducible paths are removed, but their effect on string wrapping from pprint remains. To correct this, reformat the entire sysconfig file by re-printing using pprint with an (effectively) unlimited line length. (From OE-Core rev: ec8a2b310d5f0b42f60898a5c6d239949842b34c) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Disable PGO for reproducible buildsJoshua Watt2019-06-211-1/+9
| | | | | | | | | | Enabling PGO for python current causes it to not be reproducible when building, so disable it for now. (From OE-Core rev: e53ebf297c86bba727e075c44c595beb061dbfc8) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: make 'python' install everything instead of just the interpretterRoss Burton2019-06-211-1/+1
| | | | | | | | | | | | | Follow the python3 behaviour, and common sense, by making 'python' install python-modules instead of python-core. This means a user installing python gets all of Python, instead of just a fraction of the library. [ YOCTO #13402 ] (From OE-Core rev: 778a6b4bf6aa9d0941d52ee05e14b061b659b3df) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: python3: Fix build error x86->x86Ricardo Ribalda Delgado2019-06-192-0/+27
| | | | | | | | | | | | | | | | | | | When building x86->x86 the system will try to execute .so and related items from the default PYTHONPATH. This will fail if the target CPU contains instructions that the host CPU does not have, add CROSSPYTHONPATH into PYTHONPATH so we can prepend the list to find correct libs. Fixes: Illegal instruction (core dumped) Makefile:625: recipe for target 'sharedmods' failed make: *** [sharedmods] Error 132 make: *** Waiting for unfinished jobs.... (From OE-Core rev: 2106a567820bad438ff78d54a49e3d87da428dcf) Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-scons: fix regex replacing python by python3Anuj Mittal2019-06-141-1/+1
| | | | | | | | | | | Match only the first line and match even if the line says python3. Otherwise we end up with multiple 3s at the end after multiple invocations of do_install on same source. (From OE-Core rev: 144c6c7183dd2b32c65edf325038eb84683a28f8) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: fix build on softfloat mipsMatthias Schoepfer via Openembedded-core2019-06-122-0/+202
| | | | | | | | | | | | | | This patch originally only meant to correct the python3 build for mips with softfloat, as the original test only checked for mips hardfloat. Replaced custom C Program for triplet detection with autotools triplet detection. (From OE-Core rev: 203336486c84528e8779db93f64cc28e4b372aab) Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-nose: python3-nose should be defaultRoss Burton2019-06-122-4/+4
| | | | | | | | | | | | We have nose recipes for both Py2 and Py3, but they both want to ship the unversioned nosetest binary. As Py2 is approaching EOL, remove the unversioned binary from python-nose (leaving nosetest-2.7) instead of renaming the binary to nosetest3 in python3-nose. (From OE-Core rev: e22111a18a0f67fefd1800f67bd5e45637deaa60) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-scons-{native}: add recipe for v3.0.5Tim Orling2019-06-082-0/+37
| | | | | | | | | | | | | | SCons has supported python 3 since v3.0.0 https://scons.org/tag/releases.html Fix shebangs in scripts [YOCTO #13381] (From OE-Core rev: 1873f777aeddfbbf3ce06e93df3fa5318decb7b7) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygments: add a recipeAlexander Kanavin2019-06-011-0/+20
| | | | | | | | | This is the new source highlighter used by gtk-doc. (From OE-Core rev: 18ac8091728ede09024385cc71acff2b59500017) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python*-setuptools: add separate packages for pkg_resources moduleLuca Boccassi2019-05-271-0/+11
| | | | | | | | | | | | | | | | | | | | | The pkg_resources Python module is useful by itself, for example for automatic loading of resources shipped in a Python package. Add separate packages for it, so that users can depend on them individually and avoid pulling in the entire setuptools, which include scripts to download other packages, which might not be desired on minimal images. Other distributions like Debian and Ubuntu already split setuptools and pkg-resources in this way. The setuptools packages now depend on the new pkg-resources packages, to avoid regressions for other packages that depend on them already. (From OE-Core rev: 4316d9afe920460e5d2236f217027cce37ed7bf5) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pbr: upgrade 5.1.3 -> 5.2.0Alexander Kanavin2019-05-222-5/+5
| | | | | | | (From OE-Core rev: 414231e9cd75e4d845997b2c5d17d350034747b3) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: upgrade 19.0.3 -> 19.1.1Alexander Kanavin2019-05-221-2/+2
| | | | | | | (From OE-Core rev: e5d6709f3d2da93dee740fd8ed6102ab80e8cbab) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-mako: upgrade 1.0.9 -> 1.0.10Alexander Kanavin2019-05-222-2/+2
| | | | | | | (From OE-Core rev: d081fd6b04788da7ed8eb46c0bc79e725a9acb2c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: add a fix for CVE-2019-9948 and CVE-2019-9636Martin Jansa2019-05-215-1/+254
| | | | | | | (From OE-Core rev: 9d23b982fa4e0290761b3d15f6959779fed72ad6) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: fix do_install fail for parallel buiildChangqing Li2019-05-082-0/+35
| | | | | | | | | | | | | When using make -j with the 'install' target, it's possible for altbininstall (which normally creates BINDIR) and libainstall (which doesn't, though it installs python-config there) to race, resulting in a failure due to attempting to install python-config into a nonexistent BINDIR. Ensure it also exists in the libainstall target. (From OE-Core rev: 07aeaa4f3f88f575e4674145a7faab3ba8e97fad) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh/systemd/python/qemu: Fix patch Upstream-StatusRichard Purdie2019-05-081-0/+2
| | | | | | | | Fix some missing or corrupted patch Upstream-Status values. (From OE-Core rev: 07bc5a5367e0dec45253fd849e0157094152fd31) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Add ntpath.py to python coreAlex Kiernan2019-05-081-0/+1
| | | | | | | | | | | | | | | | | The newer python3 recipe no longer includes ntpath.py in core, leading to failures in pkg_resources: Traceback (most recent call last): File "/usr/bin/bmaptool", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 42, in <module> import ntpath ModuleNotFoundError: No module named 'ntpath' (From OE-Core rev: 9ff61fa83a0a4f2a7b5b0376b6c48fb1173c9ac7) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycairo: update to 1.18.1Alexander Kanavin2019-05-011-9/+5
| | | | | | | | | | Switch over to meson build, as it does not attempt to install headers into /usr/share and pkg-config files into /usr/share/$libdir. (From OE-Core rev: 0e2858bd7d6f013bb31b64552a9ea5873c4f7ced) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Drop ptest hackRichard Purdie2019-04-292-61/+0
| | | | | | | | | With the kernel TCP backlog queue coalescing bug fixed in the 5.0 kernels we don't need this patch anymore and can run the tests. (From OE-Core rev: 21bfbef23e1f4c90070017e19f70e488e6ff64be) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Adding back wrapper and using OEPYTHON3HOME variable for python3Jaewon Lee2019-04-292-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding back the python wrapper and adding a patch to use OEPYTHON3HOME instead of PYTHONHOME if set, for python3. If we add back the wrapper as is, we would see the following error that we also see in Thud: ImportError: No module named site OpenEmbedded requires 'python' to be python v2 (>= 2.7.3), not python v3. Please upgrade your python v2 This is because python3 would've set PYTHONHOME to use nativesdk python3 libraries but when the oe-buildenv-internal script tries to call python2 for the py_v27_check, there will be no python2 libraries in the PYTHONHOME directory. In other words, bitbake needs host python2 and the env variable set from the wrapper contaminates the env and host python2 won't be able to find its libraries Creating another variable OEPYTHON3HOME and using this in the python3 wrapper to allow for a way to set a different paths for python3 and python2 [YOCTO #13208] (From OE-Core rev: 75d2a85e24ef9a2bf0e218521944523f0ff281e0) Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: update to 3.32.1Oleksandr Kravchuk2019-04-262-5/+9
| | | | | | | (From OE-Core rev: f3f37a0360cedc2dded3ddd34d190ea76eade5cd) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: update to 19.0.3Alexander Kanavin2019-04-251-2/+2
| | | | | | | (From OE-Core rev: dd71c3a9c8e1bf004526bb6103870399ed9528e1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pbr: update to 5.1.3Alexander Kanavin2019-04-252-5/+5
| | | | | | | (From OE-Core rev: e3f9fe611cfba8519364279c55daecc6f04a65bc) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-mako: update to 1.0.9Alexander Kanavin2019-04-252-2/+3
| | | | | | | (From OE-Core rev: ab1018987b70039b12269224038af75521566f28) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-setuptools: update to 41.0.1Alexander Kanavin2019-04-253-2/+2
| | | | | | | (From OE-Core rev: 2ec3ca096f7a6c6ac8a3bfaa71a60d5903d29b9f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-scons: update to 3.0.5Alexander Kanavin2019-04-252-4/+7
| | | | | | | | | | | Do not use the latest pypi tarball, as it lacks several files (the LICENSE, for instance). License-update: copyright years. (From OE-Core rev: dd45da1c226bc87b4be5e9f065595aed316175a2) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: update to 3.32.0Alexander Kanavin2019-04-232-3/+33
| | | | | | | | | | | | | | Switch to meson build system. Add a patch to disable tests. Add "introspection" to unknown configure option whitelist, as this recipe needs g-i unconditionally. (From OE-Core rev: 890a460d2ad9bce8f6a1df055e040f334f958673) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: add another multilib fixAlexander Kanavin2019-04-232-0/+32
| | | | | | | (From OE-Core rev: 60502aa366f860b4f056da1bcd8fd5ee8f4495f5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: update to 3.7.3Alexander Kanavin2019-04-163-5/+5
| | | | | | | | | License-update: copyright years (From OE-Core rev: a215296bb1b6a87da3692ef0e6176e56310b05f2) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>