summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
AgeCommit message (Collapse)Author
2021-09-03python3-packaging: fix license statementRoss Burton
This is licensed as Apache OR BSD, not AND. Also use the precise license BSD-2-Clause. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27python3-pytest: allow python3-pluggy >=1.0.0Tim Orling
Fixes ptest failures in python3-jinja2. Backport patch from upstream, for now. Modify upstream patch to use toml and not tomli. We will add the new recipe for python3-tomli when we have an upgrade to python3-pytest. Remove this when we upgrade pytest to a version containing the commit: fbba504cd5e1a74d528a41a11a7b82297cd7da74 Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26python3-pluggy: upgrade 0.13.1 -> 1.0.0Tim Orling
* All ptests pass on qemux86-64 pluggy 1.0.0 (2021-08-25) Deprecations and Removals #116: Remove deprecated implprefix support. Decorate hook implementations using an instance of HookimplMarker instead. The deprecation was announced in release 0.7.0. #120: Remove the deprecated proc argument to call_historic. Use result_callback instead, which has the same behavior. The deprecation was announced in release 0.7.0. #265: Remove the _Result.result property. Use _Result.get_result() instead. Note that unlike result, get_result() raises the exception if the hook raised. The deprecation was announced in release 0.6.0. #267: Remove official support for Python 3.4. #272: Dropped support for Python 2. Continue to use pluggy 0.13.x for Python 2 support. #308: Remove official support for Python 3.5. #313: The internal pluggy.callers, pluggy.manager and pluggy.hooks are now explicitly marked private by a _ prefix (e.g. pluggy._callers). Only API exported by the top-level pluggy module is considered public. #59: Remove legacy __multicall__ recursive hook calling system. The deprecation was announced in release 0.5.0. Features #282: When registering a hookimpl which is declared as hookwrapper=True but whose function is not a generator function, a PluggyValidationError exception is now raised. Previously this problem would cause an error only later, when calling the hook. In the unlikely case that you have a hookwrapper that returns a generator instead of yielding directly, for example: def my_hook_real_implementation(arg): print("before") yield print("after") @hookimpl(hookwrapper=True) def my_hook(arg): return my_hook_implementation(arg) change it to use yield from instead: @hookimpl(hookwrapper=True) def my_hook(arg): yield from my_hook_implementation(arg) #309: Add official support for Python 3.9. Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26python3-mako: upgrade 1.1.4 -> 1.1.5Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23python3-setuptools: upgrade 57.1.0 -> 57.4.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23python3-pygments: upgrade 2.9.0 -> 2.10.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23python3-pip: upgrade 21.2.1 -> 21.2.4Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23python3-git: upgrade 3.1.18 -> 3.1.20Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23python3-cython: upgrade 0.29.23 -> 0.29.24Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22python3-hypothesis: enable ptestTim Orling
The upstream "fast" tests (tests/cover and tests/pytest) take over 5 minutes to run and do not run cleanly. They also add dependency on python3-pexpect and python3-ptyprocess (currently in meta-python). The tests are also not included in the pypi tarball, so it would require use of git fetcher and other invasive changes to the recipe, including dropping the pypi inherit. Instead, use two test suites from examples/ References: https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/tests https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/examples Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22python3-hypothesis: upgrade 6.14.8 -> 6.15.0Tim Orling
6.15.0 - 2021-08-22 This release emits a more useful error message when @given() is applied to a coroutine function, i.e. one defined using async def (issue #3054). This was previously only handled by the generic return_value health check, which doesn’t direct you to use either a custom executor or a library such as pytest-trio or pytest-asyncio to handle it for you. 6.14.9 - 2021-08-20 This patch fixes a regression in Hypothesis 6.14.8, where from_type() failed to resolve types which inherit from multiple parametrised generic types, affecting the returns package (issue #3060). References: https://github.com/HypothesisWorks/hypothesis/issues/3054 https://github.com/HypothesisWorks/hypothesis/issues/3060 Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20python3-hypothesis: upgrade 6.14.5 -> 6.14.8Tim Orling
6.14.8 - 2021-08-16 This patch ensures that registering a strategy for a subclass of a parametrised generic type such as class Lines(Sequence[str]): will not “leak” into unrelated strategies such as st.from_type(Sequence[int]) (issue #2951). Unfortunately this fix requires PEP 560, meaning Python 3.7 or later. 6.14.7 - 2021-08-14 This patch fixes issue #3050, where attrs classes could cause an internal error in the ghostwriter. 6.14.6 - 2021-08-07 This patch improves the error message for issue #3016, where PEP 585 builtin generics with self-referential forward-reference strings cannot be resolved to a strategy by from_type(). References: https://github.com/HypothesisWorks/hypothesis/issues/2951 https://www.python.org/dev/peps/pep-0560 https://github.com/HypothesisWorks/hypothesis/issues/3050 https://www.python.org/dev/peps/pep-0585 Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20python3-importlib-metadata: upgrade 4.6.3 -> 4.6.4Tim Orling
v4.6.4 Issue 334: Correct SimplePath protocol to match pathlib protocol for __truediv__. References: https://github.com/python/importlib_metadata/issues/334 Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12python3-scons{-native}: upgrade 4.1.0 -> 4.2.0Tim Orling
Update patch as setup.cfg changes are now in upstream. License-Update: Update Copyright years NOTE: The 4.2.0 Release of SCons will deprecate Python 3.5 Support. Python 3.5 support will be dropped in the next major release. RELEASE 4.2.0 - Sat, 31 Jul 2021 18:12:46 -0700 From Byron Platt: - Fix Install() issue when copytree recursion gives bad arguments that can lead to install side-effects including keeping dangling symlinks and silently failing to copy directories (and their subdirectories) when the directory already exists in the target. From Joseph Brill: - Internal MSVS update: Remove unnecessary calls to find all installed versions of msvc when constructing the installed visual studios list. From William Deegan: - Improve Subst()'s logic to check for proper callable function or class's argument list. It will now allow callables with expected args, and any extra args as long as they have default arguments. Additionally functions with no defaults for extra arguments as long as they are set using functools.partial to create a new callable which set them. - Fix Issue #3035 - mingw with SHLIBVERSION set fails with either not a dll error or "Multiple ways to build the same target were specified for:". Now mingw will disable creating the symlinks (and adding version string to ) dlls. It sets SHLIBNOVERSIONSYMLINKS, IMPLIBNOVERSIONSYMLINKS and LDMODULENOVERSIONSYMLINKS to True. - Added --experimental flag, to enable various experimental features/tools. You can specify 'all', 'none', or any combination of available experimental features. - Fix Issue #3933 - Remove unguarded print of debug information in SharedLibrary logic when SHLIBVERSION is specified. - Fix versioned shared library naming for MacOS platform. (Previously was libxyz.dylib.1.2.3, has been fixed to libxyz.1.2.3.dylib. Additionally the sonamed symlink had the same issue, that is now resolved as well) - Add experimental ninja builder. (Contributed by MongoDB, Daniel Moody and many others). - Fix #3955 - _LIBDIRFLAGS leaving $( and $) in *COMSTR output. Added affect_signature flag to _concat function. If set to False, it will prepend and append $( and $). That way the various Environment variables can use that rather than "$( _concat(...)$)". - Fix issue with exparimental ninja tool which would fail on windows or when ninja package wasn't installed but --experimental=ninja was specified. - As part of experimental ninja tool, allow SetOption() to set both disable_execute_ninja and disable_ninja. From David H: - Fix Issue #3906 - `IMPLICIT_COMMAND_DEPENDENCIES` was not properly disabled when set to any string value (For example ['none','false', 'no','off']) Also previously 'All' wouldn't have the desired affect. From Ivan Kravets: - Provide a custom argument escape function for `TempFileMunge` using a new `TEMPFILEARGESCFUNC` variable. Useful if you need to apply extra operations on a command argument before writing to a temporary file (fix Windows slashes, normalize paths, etc.) From Henrik Maier: - DocbookXslt tool: The XSLT stylesheet file is now initialized to an env.File() Node, such that dependencies work correctly in hierarchical builds (eg when using DocbookXslt in SConscript('subdir/SConscript') context. From Daniel Moody: - Update CacheDir to use uuid for tmpfile uniqueness instead of pid. This fixes cases for shared cache where two systems write to the same cache tmpfile at the same time because the happened to get the same pid. - Added support for passing custom CacheDir derived classes to SCons. Moved copy_from_cache attribute from the Environment class to CacheDir class. Code contributed by MongoDB. - Update BuildTask to pass all targets to the progress object fixing an issue where multi-target build nodes only got the first target passed to the progress object. - Fix a potential race condition in shared cache environments where the permissions are not writeable for a moment after the file has been renamed and other builds (users) will copy it out of the cache. Small reorganization of logic to copy files from cachedir. Moved CacheDir writeable permission code for copy to cache behind the atomic rename operation. - Added marking of intermediate and and multi target nodes generated from SConf tests so that is_conftest() is more accurate. - Added test for configure check failing to ensure it didn't break generating and running ninja. From Mats Wichmann: - Initial support in tests for Python 3.10 - expected bytecode and one changed expected exception message. Change some more regexes to be specified as rawstrings in response to DeprecationWarnings. - Add an example of adding an emitter to User Guide (concept from Jeremy Elson) - Add timing information for sconsign database dump when --debug=time is selected. Also switch to generally using time.perf_counter, which is the Python recommended way for timing short durations. - Drop remaining definitions of dict-like has_key methods, since Python 3 doesn't have a dictionary has_key (maintenance) - Do not treat --site-dir=DIR and --no-site-dir as distinct options. Allows a later instance to override an earlier one. - Ignore empty cmdline arguments when computing targets (issue 2986) - Remove long-deprecated construction variables PDFCOM, WIN32_INSERT_DEF, WIN32DEFPREFIX, WIN32DEFSUFFIX, WIN32EXPPREFIX, WIN32EXPSUFFIX. All have been replaced by other names since at least 1.0. - Add a __iadd__ method to the CLVar class so that inplace adds (+=) also work as expected (issue 2399) - Remove local copy of CLVar in EnvironmentTests unittest file - should be testing against the production version, and they didn't really differ. - Don't strip spaces in INSTALLSTR by using raw subst (issue 2018) - Deprecate Python 3.5 as a supported version. - CPPDEFINES now expands construction variable references (issue 2363) - Restore behavior that Install()'d files are writable (issue 3927) - Simplified Mkdir(), the internal mkdir_func no longer needs to handle existing directories, it can now pass exist_ok=True to os.makedirs(). - Avoid WhereIs exception if user set a tool name to empty (from issue 1742) - Maintenance: remove obsolete __getslice__ definitions (Py3 never calls); add Node.fs.scandir to call new (Py3.5) os.scandir; Node.fs.makedirs now passes the exist_ok flag; Cachedir creation now uses this flag. - Maintenance: remove unneeded imports and reorganize some. Fix uses of warnings in some tools which instantiated the class but did nothing with them, need to instead call SCons.Warnings.warn with the warn class. - Drop overridden changed_since_last_build method in Value class. - Resync the SetOption implementation and the manpage, making sure new options are available and adding a notes column for misc information. SetOption equivalents to --hash-chunksize, --implicit-deps-unchanged and --implicit-deps-changed are enabled. - Add tests for SetOption failing on disallowed options and value types. - Maintenance: eliminate lots of checker complaints about Util.py. - Maintenance: fix checker-spotted issues in Environment (apply_tools) and EnvironmentTests (asserts comparing with self). For consistency, env.Tool() now returns a tool object the same way Tool() has done. - Change SConscript() missing SConscript behavior - if must_exist=False, the warning is suppressed. - Make sure TEMPFILEPREFIX can be set to an empty string (issue 3964) From Dillan Mills: - Add support for the (TARGET,SOURCE,TARGETS,SOURCES,CHANGED_TARGETS,CHANGED_SOURCES}.relpath property. This will provide a path relative to the top of the build tree (where the SConstruct is located) Fixes #396 From Andrew Morrow: - Fix issue #3790: Generators in CPPDEFINES now have access to populated source and target lists Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05python3-importlib-metadata: upgrade 4.6.1 -> 4.6.3Tim Orling
v4.6.3 Moved workaround for #327 to _compat module. v4.6.2 bpo-44784: Avoid errors in test suite when DeprecationWarnings are treated as errors. References: https://github.com/python/importlib_metadata/issues/327 https://bugs.python.org/issue44784 Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05python3-hypothesis: upgrade 6.14.3 -> 6.14.5Tim Orling
6.14.5 - 2021-07-27 This patch fixes hypothesis.strategies._internal.types.is_a_new_type. It was failing on Python 3.10.0b4, where NewType is a function. 6.14.4 - 2021-07-26 This patch fixes from_type() and register_type_strategy() for typing.NewType on Python 3.10, which changed the underlying implementation (see bpo-44353 for details). References: https://bugs.python.org/issue44353 Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05python3: use monotonic clock for condvar if possibleZqiang
The timeout for threading.Lock, threading.Condition, etc, is not using a monotonic clock, it is affected if the system time (realtime clock) is set. This patch will make condvar use monotonic clock. Refence: https://bugs.python.org/issue41710 Signed-off-by: Zqiang <qiang.zhang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04python3-pip: upgrade 21.1.3 -> 21.2.1zangrc
Process The source distribution re-installation feature removal has been delayed to 21.3. Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04python3-dbus: upgrade 1.2.16 -> 1.2.18zangrc
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-01python3-pytest: display correct version infoKai Kang
It does not show correct version info of python3-pytest: $ pip3 list | grep pytest pytest 0.0.0 pytest requires setuptools-scm in setup.cfg. It could be met by adding python3-setuptools-scm-native to dependency and then it will not download egg file of setuptools-scm during do_compile any more. So remove 0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch and depend on python3-setuptools-scm-native to make it show the correct version info. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30Convert to new override syntaxRichard Purdie
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24python3-testools: update 2.4.0 -> 2.5.0Alexander Kanavin
Drop no_traceback2.patch as issue fixed upstream. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-19python3-hypothesis: upgrade 6.14.1 -> 6.14.3Tim Orling
6.14.3 - 2021-07-18 This patch updates our autoformatting tools, improving our code style without any API changes. 6.14.2 - 2021-07-12 This patch ensures that we shorten tracebacks for tests which fail due to inconsistent data generation between runs (i.e. raise Flaky). Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2021-07-16python3: Add a fix for a make install raceRichard Purdie
Add a fix for reproducibility issues where pyc files for python-config.py may not always be generated. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13python3-setuptools: upgrade 57.0.0 -> 57.1.0wangmy
reproducibility.patch deleted since it's been merged upstream. v57.1.0 ------- Changes ^^^^^^^ * #2692: Globs are now sorted in 'license_files' restoring reproducibility by eliminating variance from disk order. * #2714: Update to distutils at pypa/distutils@e2627b7. * #2715: Removed reliance on deprecated ssl.match_hostname by removing the ssl support. Now any index operations rely on the native SSL implementation. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ * #2604: Revamped the backward/cross tool compatibility section to remove some confusion. Add some examples and the version since when ``entry_points`` are supported in declarative configuration. Tried to make the reading flow a bit leaner, gather some informations that were a bit dispersed. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-09python3-pathlib2: upgrade 2.3.5 -> 2.3.6zhengruoqin
License-Update: file format changed from "ASCII text" to "ASCII text, with CRLF line terminators" Version 2.3.6 ^^^^^^^^^^^^^ - Fix minor unicode bugs in with_name and with_suffix. Many thanks to ppentchev for reporting and for providing a fix. - Fix a few minor bugs. - Allow unicode file paths on systems that support it (note: unicode file paths will not work on Windows due a broken filesystem encoder on Windows on Python 2). - Remove travis and add github actions for regression testing. - Fix mypy warnings. Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2021-07-08python3-importlib-metadata: upgrade 4.6.0 -> 4.6.1wangmy
v4.6.1 ====== * #327: Deprecation warnings now honor call stack variance on PyPy. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07python3-zipp: upgrade 3.4.1 -> 3.5.0Tim Orling
v3.5.0 Issue 74 and bpo-44095: Added .suffix, .suffixes, and .stem properties. References: https://github.com/jaraco/zipp/issues/74 https://bugs.python.org/issue44095 https://github.com/python/cpython/pull/26129 Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07python3-hypothesis: upgrade 6.14.0 -> 6.14.1Tim Orling
6.14.1 - 2021-07-02 This patch updates some internal type annotations. There is no user-visible change. Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07python3-packaging: upgrade 20.9 -> 21.0Tim Orling
21.0 - 2021-07-03 packaging is now only compatible with Python 3.6 and above. Add support for zip files in parse_sdist_filename (:issue:`429`) References: https://github.com/pypa/packaging/issues/429 Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05python3-iniparse: update 0.4 -> 0.5Alexander Kanavin
Drop the python3 compatibility patch (upstream is back from the dead and fixed it). Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02python3-importlib-metadata: upgrade 4.5.0 -> 4.6.0Tim Orling
Upstream release notes: v4.6.0 ====== * #326: Performance tests now rely on `pytest-perf <https://pypi.org/project/pytest-perf>`_. To disable these tests, which require network access and a git checkout, pass ``-p no:perf`` to pytest. Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02python3: upgrade 3.9.5 -> 3.9.6zhengruoqin
0001-Makefile-fix-Issue36464-parallel-build-race-problem.patch removed since it is included in 3.9.6 Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29python3-pip/python3-pbr: Drop obsolete md5sum at upgradeRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29python3-pip: upgrade 21.1.2 -> 21.1.3zangrc
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29python3-pbr: upgrade 5.4.4 -> 5.6.0wangmy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27python3-pip: add multiprocessing to RDEPENDSTrevor Gamblin
Without it, simple invocations like "pip3 list" will fail with a ModuleNotFoundError for multiprocessing. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27python3-pip: upgrade 20.0.2 -> 21.1.2Trevor Gamblin
21.1.2 contains a fix for CVE-2021-3572 (https://github.com/pypa/pip/commit/e46bdda9711392fec0c45c1175bae6db847cb30b) The LICENSE.txt signature changed due to an update to the copyright dates, but the terms are the same. Also update 0001-change-shebang-to-python3.patch to cover all files in pip's src directory, since we need to ensure compatibility. Finally, fix the ordering of the "inherit" and "SRC_URI" lines so that devtool will correctly identify that there is a new version upstream. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26python3: apply test skipping patch unconditionallyAlexander Kanavin
Testing IMAGE_FEATURES from component recipes cannot possibly work; adjusting the test to soft-fail if needed items are not available is not trivial, so let's just skip unconditionally for now. (From OE-Core rev: 68b816cb90badddd0aafa2a5c6633e000cb21a21) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2021-06-26python3-git: upgrade 3.1.17 -> 3.1.18Alexander Kanavin
(From OE-Core rev: a8f8f614c75a1a5ca8759cb0aae8bdf9e8b60083) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2021-06-21python3: skip tests requiring tools-sdkTim Orling
Conditionally skip test_ctypes.test_find unless IMAGE_FEATURES contains 'tools-sdk' as these test cases require full packagegroup-core-buildessential Fixes: AssertionError: Failed ptests: {'python3': ['test_find_library_with_gcc', 'test_find_library_with_ld']} (From OE-Core rev: 70e2fc066a18c35e42610d75eeaa1edd9aab7cf2) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2021-06-17python3-dbusmock: upgrade 0.23.0 -> 0.23.1zhengruoqin
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17python3-magic: upgrade 0.4.23 -> 0.4.24Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17python3-hypothesis: upgrade 6.13.14 -> 6.14.0Tim Orling
Add runtime dependency on: - python3-compression - python3-json - python3-statistics Upstream release notes: 6.14.0 - 2021-06-09 The explain phase now requires shrinking to be enabled, and will be automatically skipped for deadline-exceeded errors. https://hypothesis.readthedocs.io/en/latest/changes.html#v6-14-0 Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17python3-manifest: add statistics subpackageTim Orling
cpython/Lib/statistics.py contains common statistics functions """ Basic statistics module. This module provides functions for calculating statistics of data, including averages, variance, and standard deviation. """ Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07python3-pycairo: upgrade 1.20.0 -> 1.20.1zangrc
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07python3-importlib-metadata: upgrade 4.4.0 -> 4.5.0Tim Orling
Upstream release notes: v4.5.0 Issue 319: Remove SelectableGroups deprecation exception for flake8. Previous upgrade release notes: v4.4.0 Issue 300: Restore compatibility in the result from Distribution.entry_points (EntryPoints) to honor expectations in older implementations and issuing deprecation warnings for these cases: EntryPoints objects are once again mutable, allowing for sort() and other list-based mutation operations. Avoid deprecation warnings by casting to a mutable sequence (e.g. list(dist.entry_points).sort()). EntryPoints results once again allow for access by index. To avoid deprecation warnings, cast the result to a Sequence first (e.g. tuple(dist.entry_points)[0]). v4.3.1 Issue 320: Fix issue where normalized name for eggs was incorrectly solicited, leading to metadata being unavailable for eggs. Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07python3-hypothesis: upgrade 6.13.7 -> 6.13.14Tim Orling
Add RDEPENDS on python3-unittest Upstream release notes: 6.13.14 This patch improves the :func:`~hypothesis.strategies.tuples` strategy type annotations, to preserve the element types for up to length-five tuples (:issue:`3005`). As for :func:`~hypothesis.strategies.one_of`, this is the best we can do before a `planned extension <https://mail.python.org/archives/list/typing-sigpython.org/thread/LOQFV3IIWGFDB7F5BDX746EZJG4VVBI3/>`__ to :pep:`646` is released, hopefully in Python 3.11. 6.13.13 This patch teaches :doc:`the Ghostwriter <ghostwriter>` how to find :np-ref:`custom ufuncs <ufuncs.html>` from *any* module that defines them, and that ``yaml.unsafe_load()`` does not undo ``yaml.safe_load()``. 6.13.12 This patch reduces the amount of internal code excluded from our test suite's code coverage checks. There is no user-visible change. 6.13.11 This patch removes some old internal helper code that previously existed to make Python 2 compatibility easier. There is no user-visible change. 6.13.10 This release adjusts some internal code to help make our test suite more reliable. There is no user-visible change. 6.13.9 This patch cleans up some internal code related to filtering strategies. There is no user-visible change. 6.13.8 This patch slightly improves the performance of some internal code for generating integers. Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07python3-scons: upgrade 3.1.2 -> 4.1.0; simplifyTim Orling
* Drop UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX, the default pypi.bbclass values work now. * Drop scipts/ patch, no longer applies. * Add patch to fix man page installation. License-Update: Update compyright years Changelog for 4.1.0: https://pyup.io/changelogs/scons/#4.1.0 Changelog for 4.0.1: https://pyup.io/changelogs/scons/#4.0.1 Changelog for 4.0.0: https://pyup.io/changelogs/scons/#4.0.0 Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06python3-libarchive-c: upgrade 3.0 -> 3.1wangmy
Add runtime dependency to resolve errors that occurred when import libarchive. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>