Commit Graph

1022 Commits

Author SHA1 Message Date
Tim Orling
e18eb021db python3-importlib-metadata: upgrade 3.1.0 -> 3.1.1
No upstream release notes.

Commits since 3.1.0 tag:
155bc48 (HEAD, tag: v3.1.1) Merge branch 'maint/2.x'
83c7dd2 (tag: v2.1.1, origin/maint/2.x) Merge pull request #264 from
  python/bugfix/261-versionless-egg-info-pre-normalized-fallback
4cb3bd0 Update changelog. Ref #261.
6036a37 Avoid relying on new-style normalization for legacy eggs.
4098b51 Perform exact match on Prepared.normalized, and then add a
  separate check for an empty self.normalized instead of relying on a
  degenerate result from startswith.
7bdbb57 Add test to ensure that a prefix isn't matched
595eb5f Compare the name against self.normalized. Fixes #261 but also
  will cause 'lib' to match 'lib_foo'.
fea6e75 Move is_egg into prepared.
313535a Extract method for matching a name in a prepared search.
4335def Add test capturing expectation where versionless metadata exists
  but hasn't been updated to the new normalization technique. Ref #261.
9aee90b Fix syntax in changelog
55e64a4 Merge pull request #258 from python/feature/skeleton
8721a05 Merge branch 'master' into feature/skeleton
ed672ee Consolidate coverage files
eabd24d Restore diffcov
b29baea Correct syntax for invoking pytest
d5a5c90 Bring back perf
67cb123 Run tests to exercise coverage

(From OE-Core rev: 7cb052c6c9834a573ff41fc2313c2e9e4fd1cbcf)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:55 +00:00
Tim Orling
6d86c396ed python3-hypothesis: upgrade 5.41.4 -> 5.41.5
Add missing RDEPENDS:
  - python3-attrs
  - python3-sortedcontainers

Upstream release notes:
"""
5.41.5 - 2020-12-05

This patch adds a performance optimisation to avoid saving redundant
seeds when using the .fuzz_one_input hook.
"""

(From OE-Core rev: ce98a43014b0a4d2009e0162170fac5eb9c4e50d)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:55 +00:00
Alexander Kanavin
685f96ac3c python3-setuptools-scm: fix upstream version check
(From OE-Core rev: 56030191e7b1f9c30f25f7f0d67c1ba6ae17c99f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Tim Orling
63cb25db4b python3-hypothesis: upgrade 5.41.3 -> 5.41.4
Upstream release notes:
"""
5.41.4 - 2020-11-28

This patch fixes issue #2657, where passing unicode patterns compiled
with re.IGNORECASE to from_regex() could trigger an internal error when
casefolding a character creates a longer string (e.g. "\u0130".lower()
-> "i\u0370").
"""

(From OE-Core rev: 20985457e3c063be4479eb927afae5d1a2018777)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
cfc8a9a6b3 python3-sortedcontainers: move from meta-python
Sorted Containers is an Apache2 licensed sorted collections library,
written in pure-Python, and fast as C-extensions.

* Part of the dependency chain for python3-numpy ptest

(From OE-Core rev: 14c436769012c3f44401178a2c59cbd0a5eb86ce)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
5f95c3cbf9 python3-hypothesis: move from meta-python
A library for property-based testing

* Part of the dependency chain for python3-numpy ptest

(From OE-Core rev: 476a7534498f1e12efc7cc00cf215f6af898527d)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
79750c292e python3-pytest: RDEPENDS on python3-toml
The generated requires.txt in pytest-*-py3.9.egg-info shows the
requirement.

Caught during ptest of python3-wcwidth:

Signed-off-byROR collecting tests/test_core.py ______________________
tests/test_core.py:4: in <module>
    import pkg_resources
../../python3.9/site-packages/pkg_resources/__init__.py:3239: in
<module>
    def _initialize_master_working_set():
../../python3.9/site-packages/pkg_resources/__init__.py:3222: in
_call_aside
    f(*args, **kwargs)
../../python3.9/site-packages/pkg_resources/__init__.py:3251: in
_initialize_master_working_set
    working_set = WorkingSet._build_master()
../../python3.9/site-packages/pkg_resources/__init__.py:567: in
_build_master
    ws.require(__requires__)
../../python3.9/site-packages/pkg_resources/__init__.py:884: in require
    needed = self.resolve(parse_requirements(requirements))
../../python3.9/site-packages/pkg_resources/__init__.py:770: in resolve
    raise DistributionNotFound(req, requirers)
E   pkg_resources.DistributionNotFound: The 'toml' distribution was not
found and is required by pytest

(From OE-Core rev: 8e2ec368e4c8fe7594bc178fffe42fbb8ac632e7)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
32425b765d python3-importlib-metadata: upgrade 2.0.0 to 3.1.0
Upstream release notes:
"
v3.1.0

  Merge with 2.1.0.

v2.1.0

  #253: When querying for package metadata, the lookup now honors
  package normalization rules.

v3.0.0

  Require Python 3.6 or later.
"

(From OE-Core rev: e6be2a1dbf1743edb1bfa97a91d87e5f7ab2d555)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
1534b80f07 python3-more-itertools: upgrade 8.5.0 -> 8.6.0
Upstream release notes:
"
* New itertools
  - all_unique (thanks to brianmaissy)
  - nth_product and nth_permutation (thanks to N8Brooks)

* Changes to existing itertools
  - chunked and sliced now accept a strict parameter (thanks to
    shlomif and jtwool)

* Other changes
  - Python 3.5 has reached its end of life and is no longer
    supported.
  - Python 3.9 is officially supported.
  - Various documentation fixes (thanks to timgates42)

(From OE-Core rev: 16c211427056a4bfc3545202ea485247a72c832a)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
075deea2b2 python3-pytest: move from meta-python
Simple powerful testing with python

(From OE-Core rev: 3299ddeab5eb32a21efaee63c2b7f490089b8476)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
225fbb0c41 python3-pluggy: move from meta-python
Plugin and hook calling mechanisms for python

* Part of the dependency chain for pytest

(From OE-Core rev: 7b1f4345009973d3fcb8fc1e8fc212ce92de8015)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
fd89a99868 python3-importlib-metadata: move from meta-python
Read metadata from Python packages

* Part of the dependency chain for pytest

(From OE-Core rev: a054b48fc7827256cbe64492c3cc83692f80346d)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
8bbcf68ab5 python3-zipp: move from meta-python
Backport of pathlib-compatible object wrapper for zip files

* Part of the dependency chain for pytest

(From OE-Core rev: 8167b5bfa65dc2be422a892334d44e6edf861450)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
da71873e26 python3-wcwidth: move from meta-python
Library for bulding powerful interactive command lines in Python

* Part of the dependency chain for pytest

(From OE-Core rev: e7b8f091733cb163a0fffed265c6d88b5f0cfae2)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
c51fde1dbc python3-packaging: move from meta-python
Core utilities for Python packages

* Part of the dependency chain for pytest

(From OE-Core rev: c1aa2915bb16d7db4ade38b0cf107917aab09644)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
8dd56af23a python3-setuptools-scm: move from meta-python
The blessed package to manage your versions by scm tags

* Part of the dependency chain for pytest

(From OE-Core rev: 875c12f55ea34dbda6b11756d226ac09dfb282df)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
b8393b1e95 python3-py: move from meta-python
Library with cross-pythonpath, ini-parsing, io, code, log facilities

* Part of the dependency chain for pytest

(From OE-Core rev: 7990c78d14ad1862e4c9147f657c10e492cdf8b1)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
82d9468423 python3-toml: move from meta-python
Python Library for Tom's Obvious, Minimimal Language

* Part of the dependency chain for pytest

(From OE-Core rev: 3ec8796a318f535d21aca1d36b7f813452648418)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
431d66a4c5 python3-pathlib2: move from meta-python
Object-oriented filesystem paths

* Part of the dependency chain for pytest

(From OE-Core rev: 9544e2f79ec5d4b4250689cc970ecfdc86520212)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
0a0f463ad1 python3-more-itertools: move from meta-python
More routines for operating on iterables, beyond itertools

* Part of the dependency chain for pytest

(From OE-Core rev: 8d125296b5c57d0076f9f3e6c3d50b5a6ab95de0)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
f46e22df4d python3-iniconfig: move from meta-python
A small and simple INI-file parser module

* Part of the dependency chain for pytest

(From OE-Core rev: 67c3f0f78e793aff31789d2e1861a88a1090820d)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
55f0898e48 python3-attrs: move from meta-python
Classes Without Boilerplate

* Part of the dependency chain for pytest

(From OE-Core rev: e96e24ed35a087b5a44172161a93717627d79f49)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
9f99198e9c python3-atomicwrites: move from meta-python
Powerful Python library for atomic file writes

* Part of the dependency chain for python3-pytest

(From OE-Core rev: 5b0b24882d061d2d1ada5c53c1837fc502974447)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Joshua Watt
93b5d9bbff python3-pycryptodome: upgrade 3.9.8 -> 3.9.9
(From OE-Core rev: 1e6529950257ab13b4c6c36d706ef294e61b883b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Ross Burton
9c0934c702 python3: add CVE-2007-4559 to whitelist
This issue describes expected behaviour, do not use tarfile with
untrusted data.

(From OE-Core rev: f4c22e83f2e68ff157da5ea1303acc2931d63f5f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Lee Chee Yang
5e8acd1a4e python3: whitelist CVE-2020-15523
This CVE is issue on _Py_CheckPython3 uses uninitialized dllpath when embedder sets module path with Py_SetPath.
Since it is .dll issue (on windows only), hence whitelist it.

https://bugs.python.org/issue29778

(From OE-Core rev: 4ceb08bfe6c6dca486040f39d58b285c37d3bc91)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Lee Chee Yang
e05d37ec89 python3: fix CVE-2020-27619
(From OE-Core rev: ad6b184b5a87b8bcdd5e28f19be841a78f5e51df)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Joshua Watt
41e09418f3 python3-pycryptodomex: upgrade 3.9.8 -> 3.9.9
(From OE-Core rev: cf3305eb2d1d8cf38fdbcb75cd50fa523fbce006)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-18 13:59:27 +00:00
Alexander Kanavin
5077e7abba python3-pycairo: use python3targetconfig
(From OE-Core rev: dadf001c85938b831def8da5851a40dc0977e3d0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-16 14:27:46 +00:00
Alejandro Hernandez Samaniego
82c9a7c82e python3: Update manifest
Update the python3-manifest to match the files installed by the
new version of python3.
- Kept tkinter the way it was although tk isnt part of OE-Core
- Made typing part of python3-core
- Update other packages with new dependencies such as filecmp and dataclasses.

(From OE-Core rev: 5933d7bae8103eaad5b204438704ea04ebc0d291)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Khem Raj
3487d920f6 python3: Enable lto if its in DISTRO_FEATURES
python3 configure compiles on object file and then greps for strings in
it for endianness for target ,when using LTO the .o files are not nomal
ELF onjects so this test fails, since we are using --enable-lto to
enable this here we dont need to inject extra paths via bitbake anyway
therefore reset LTO variable for target

(From OE-Core rev: 2ccaa99871af8cb5b41e12a619e1bfbea4ca6f33)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:11 +00:00
Alexander Kanavin
08ecc250b6 python3-setuptools: upgrade 49.6.0 -> 50.3.2
(From OE-Core rev: f563777a1db24665223de246375df35285ba780a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
bcc2b20272 python3-pygments: upgrade 2.6.1 -> 2.7.2
License-Update: copyright years
(From OE-Core rev: 6d0fde1ca6127efdbbbbb8822f4f57f767782bdf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
e651eeec56 python3-pyelftools: upgrade 0.26 -> 0.27
(From OE-Core rev: 61c32e90aaa95a10c0827cb8adb9d0cc397e0904)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
a020d0ca29 python3-git: upgrade 3.1.7 -> 3.1.11
(From OE-Core rev: 4861630f014ddb011f2cdbe3dbf156685ad259da)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
354f96bf78 python: update 3.8.5 -> 3.9.0
Drop 0001-Do-not-hardcode-lib-as-location-for-site-packages-an.patch,
0001-configure.ac-fix-LIBPL.patch and 0001-python3-Do-not-hardcode-lib-for-distutils.patch
as they are all replaced by the new --platlibdir option to ./configure

Rename 0001-Lib-sysconfig.py-fix-another-place-where-lib-is-hard.patch to
0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch
and describe the changes better.

License-Update: documentation now dual license under PSF & BSD
(not relevant for the recipe.
(From OE-Core rev: 7347556b18b45c5f9afc2cade565a75c95876914)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
5b8cdc8ff7 python3-pygobject: upgrade 3.36.1 -> 3.38.0
(From OE-Core rev: 475134563c4a2a50972a6e4fb8e5546d4c05b2c4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
zangrc
e547cfcd90 python3-pycairo: upgrade 1.19.1 -> 1.20.0
(From OE-Core rev: 96095adebc9fa622aa92cfd933b6c4b280df3e2e)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:47 +00:00
Alexander Kanavin
714ee386e6 python3: fix upstream version check
(From OE-Core rev: c8a6512b36e12f48d8713c5c3b48d83a431c8191)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:11:46 +01:00
Ross Burton
bb759f56f6 meta: add/fix invalid Upstream-Status tags
(From OE-Core rev: 630ce8130598e2bca7231ac28a7cc18b5b942544)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:54:03 +01:00
Richard Purdie
fa9295c476 python3-jinja2: Import from meta-oe/meta-python
This is used by some of the results handling code and needed as part of
buildtools tarball on various autobuilder worker for testing.

ptest is disabled for OE-Core, at least for now since it depends on
python3-pytest which in turn has may other dependencies.

Acked-by: Tim Orling <ticotimo@gmail.com>
(From OE-Core rev: 9d30a3b95ef4dce8925f88c8d8d854ed48c5f367)

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-21 23:54:39 +01:00
Richard Purdie
9c763f3b1d python3-markupsafe: Import from meta-oe/meta-python
Needed as a dependency of python3-jinja2. ptest is disabled for OE-Core, at
least for now since it depends on python3-pytest which in turn has may other
dependencies.

Acked-by: Tim Orling <ticotimo@gmail.com>
(From OE-Core rev: 94a04a42826ee95a27abe52d43b31b0f053260d9)

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-21 23:54:39 +01:00
Alexander Kanavin
b239b50a60 python3-setuptools: upgrade 49.3.1 -> 49.6.0
(From OE-Core rev: b5ba50890d2ddac27bb4065b6e1694a6cd7abd89)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Oleksandr Kravchuk
a00c64d320 python3-setuptools: update to 49.3.1
(From OE-Core rev: a2abc8cfd9aedcd541443d02a8dcc28de711c2ba)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13 08:07:00 +01:00
Nathan Rossi
56fd64447c python3-manifest.json: Updates
- Regenerate using create_manifest
- Fix up some indentation compared to generated
- Add "secrets" module into netclient package (introduced in 3.6)
- Move "urllib" python package into core package, it is used more
  commonly than just netclient (e.g. email, xml, mimetypes, pydoc)
- Update compression package dependencies due to some modules moving
  into core package
- Update dependencies due to improvements to get_module_deps handling
  modules of a python package (e.g. ctypes.utils)

(From OE-Core rev: 892a8fb85a986a65e9ebef368ddab15068fb6d92)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-11 20:35:39 +01:00
Nathan Rossi
dc74b6e8d5 python3: Improve handling of python3 manifest generation
Specifically cover detection of modules within a python package that do
not import anything within their __init__.py. This is at least the case
with the xmlrpc package which is only used via its modules xmlrpc.server
and xmlrpc.client. Other important corner cases include ctypes.utils
which depends on some modules not used by ctypes.

This is implemented by generally assuming that importing all the modules
of a package (aka *.py within a package, excluding _*.py) will provide
enough information.

Also due to this change some modules import sysconfig, resulting in
sysconfigdata being imported. Handle the conversion of its path to a
wildcard based on the platform dependent name being replaced.

(From OE-Core rev: bef4be54e02df5f230d250487f85994a3b7bbd77)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-11 20:35:39 +01:00
zangrc
bf2b4c6943 python3-setuptools: Upgrade 49.2.0 -> 49.2.1
(From OE-Core rev: 4dfd58e189598ce3b9d14528b1e9d443dbc97926)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:48 +01:00
Oleksandr Kravchuk
68dc5f24a7 python3: update to 3.8.5
(From OE-Core rev: ce7ac226336fe1e578fd0959567c95c4ac957f85)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 10:37:58 +01:00
Oleksandr Kravchuk
c1a56579ff python3-setuptools: update to 49.2.0
Rebased patch and got rid of the .inc file as Python 2 is not supported
anymore.

(From OE-Core rev: ff3d9a2966e6593be9ac048d930fc841c24eae7d)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 10:37:57 +01:00
Mingli Yu
3439ad8616 Revert "python3: define a profile directory path"
After ccache upgrade to 3.7.11, there is below logic introduced.
58895dc Add knowledge about -fprofile-{correction,reorder-functions,values}

And the python3 ccache build issue [1] is fixed in ccache 3.7.11, so there
is no need to define a profile directory path for python3 any more.

[1] https://github.com/ccache/ccache/issues/615

(From OE-Core rev: 6cd08bdf72c05982ba000b1186cf139382679e04)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-25 15:11:05 +01:00