Correct SRC_URI and upstream regex to enable automatic version upgrades.
(From OE-Core rev: 5c04abf915b32481081c6eef41595d6f3db08613)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream release notes:
'''
* 20.8 - 2020-12-11
- Revert back to setuptools for compatibility purposes for some Linux
distros (:issue:`363`)
- Do not insert an underscore in wheel tags when the interpreter version
number is more than 2 digits (:issue:`372`)
* 20.7 - 2020-11-28
- No unreleased changes.
* 20.6 - 2020-11-28
- Note:
This release was subsequently yanked, and these changes were included in
20.7.
- Fix flit configuration, to include LICENSE files (:issue:`357`)
- Make intel a recognized CPU architecture for the universal macOS
platform tag (:issue:`361`)
- Add some missing type hints to packaging.requirements (issue:350)
* 20.5 - 2020-11-27
- Officially support Python 3.9 (:issue:`343`)
- Deprecate the LegacyVersion and LegacySpecifier classes (:issue:`321`)
- Handle OSError on non-dynamic executables when attempting to resolve the
glibc version string.
"""
(From OE-Core rev: 7a074958be6e166e2de98bd39dc203f0d67a8d93)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes:
pkg_resources.DistributionNotFound: The 'toml' distribution was not
found and is required by setuptools-scm
(From OE-Core rev: 12dc4aa883d2cc49d27218834b0b6397e69c2a1c)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream release notes:
"""
* Updated lexers:
- Ada (#1581)
- HTML (#1615, #1614)
- Java (#1594, #1586)
- JavaScript (#1605, #1589, #1588)
- JSON (#1569 -- this is a complete rewrite)
- Lean (#1601)
- LLVM (#1612)
- Mason (#1592)
- MySQL (#1555, #1551)
- Rust (#1608)
- Turtle (#1590, #1553)
* Deprecated JsonBareObjectLexer, which is now identical to JsonLexer
(#1600)
* The ImgFormatter now calculates the exact character width, which
fixes some issues with overlapping text (#1213, #1611)
* Documentation fixes (#1609, #1599, #1598)
* Fixed duplicated Juttle language alias (#1604, #1606)
* Added support for Kotlin scripts (#1587)
* Removed CSS rule which forced margin to 0
"""
(From OE-Core rev: c27aa44fbf29387cda862cec1278c954de42cc3a)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>