Commit Graph

1165 Commits

Author SHA1 Message Date
Tim Orling
df27e9928c python3-pluggy: upgrade 0.13.1 -> 1.0.0
* 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.

(From OE-Core rev: 4cb9623933e3daeb754c06263167be61100f6c0a)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Alexander Kanavin
63daa467d5 python3-mako: upgrade 1.1.4 -> 1.1.5
(From OE-Core rev: 55e168eb2961dc4c1ae99a3ddee31b36d84c8fa9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
01543b2d87 python3-setuptools: upgrade 57.1.0 -> 57.4.0
(From OE-Core rev: 406504d81c77c211bf44210696392fc00c8dc559)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
ede97d6f88 python3-pygments: upgrade 2.9.0 -> 2.10.0
(From OE-Core rev: e1eb444524d53f160491809da79791888e186255)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
d3c6f3b968 python3-pip: upgrade 21.2.1 -> 21.2.4
(From OE-Core rev: 80ff47cc2f19996b4109f0a2396e61fdcfede5cf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
381645b0b5 python3-git: upgrade 3.1.18 -> 3.1.20
(From OE-Core rev: 4c0840f9d8c576ce39e46069f50ad0c2454bd1e5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
c443d4e665 python3-cython: upgrade 0.29.23 -> 0.29.24
(From OE-Core rev: 8ae1c8e5b3ca9f05df9bfe49961347f118203c0f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Tim Orling
47b361bf91 python3-hypothesis: enable ptest
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

(From OE-Core rev: 1c7f6f444fdcb859a37d3b51a8d47260834d01db)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
Tim Orling
34f595c6b4 python3-hypothesis: upgrade 6.14.8 -> 6.15.0
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

(From OE-Core rev: ca0039a6e5524ab1e74df285ce16460dc980da65)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
Tim Orling
fdfd6c0f90 python3-hypothesis: upgrade 6.14.5 -> 6.14.8
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

(From OE-Core rev: 1f2276c6d0312854caacebe1c83dee57474f1bb2)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Tim Orling
341c0a7303 python3-importlib-metadata: upgrade 4.6.3 -> 4.6.4
v4.6.4
  Issue 334: Correct SimplePath protocol to match pathlib protocol
  for __truediv__.

References:
https://github.com/python/importlib_metadata/issues/334

(From OE-Core rev: 9c7768d26a006445ed703e961184be3b8add68c6)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Tim Orling
0975ff9b69 python3-scons{-native}: upgrade 4.1.0 -> 4.2.0
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

(From OE-Core rev: 37a0a8821838a15cc24e1fc84b632bebacb44fb0)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:16 +01:00
Tim Orling
e82157fb55 python3-importlib-metadata: upgrade 4.6.1 -> 4.6.3
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

(From OE-Core rev: 9ac45967b0e739d7480ac432bab0b0ca0341b24b)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Tim Orling
4c811172fa python3-hypothesis: upgrade 6.14.3 -> 6.14.5
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

(From OE-Core rev: 19bc156c8f9d43c963b2db3535d11d05c6916600)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Zqiang
f31839fc3c python3: use monotonic clock for condvar if possible
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

(From OE-Core rev: 5a268f95a5bf5ee8c244a8af685d6c84aad9a4ac)

Signed-off-by: Zqiang <qiang.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
zangrc
70137f689f python3-pip: upgrade 21.1.3 -> 21.2.1
Process
The source distribution re-installation feature removal has been delayed to 21.3.

(From OE-Core rev: bc744bad1e338445d5fa02471cdd6389ce44fabf)

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 10:38:26 +01:00
zangrc
3bac23a5fe python3-dbus: upgrade 1.2.16 -> 1.2.18
(From OE-Core rev: 895574c2df6701c0a6ffe84bce05b63180377eb8)

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 10:38:26 +01:00
Kai Kang
aeaafe2fa5 python3-pytest: display correct version info
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.

(From OE-Core rev: 9159db64d3b3c7633deb135e683317fd3e98852c)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Richard Purdie
bb6ddc3691 Convert to new override syntax
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 "_".

(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Alexander Kanavin
ba1314de14 python3-testools: update 2.4.0 -> 2.5.0
Drop no_traceback2.patch as issue fixed upstream.

(From OE-Core rev: a592d741dec7151d3d32c4584568e49d69ed5b6f)

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-24 16:33:47 +01:00
Tim Orling
68605c6170 python3-hypothesis: upgrade 6.14.1 -> 6.14.3
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).

(From OE-Core rev: 984cf4447a409c3ea8c02aca47ff63dfa6d33624)

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-19 13:34:26 +01:00
Richard Purdie
a4b94a7ff2 python3: Add a fix for a make install race
Add a fix for reproducibility issues where pyc files for python-config.py
may not always be generated.

(From OE-Core rev: d1c3a87c48b598b6e5624d0affe8bd89320631bf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
wangmy
262d2c6b6c python3-setuptools: upgrade 57.0.0 -> 57.1.0
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.

(From OE-Core rev: 9720cce06206895e2e85b171d58a289172bb9092)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
zhengruoqin
1d51d764ff python3-pathlib2: upgrade 2.3.5 -> 2.3.6
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.

(From OE-Core rev: 8d04a6c01bf367eb1cb88fd34768a024c369216a)

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-07-09 23:44:53 +01:00
wangmy
942da997e8 python3-importlib-metadata: upgrade 4.6.0 -> 4.6.1
v4.6.1
======

* #327: Deprecation warnings now honor call stack variance
  on PyPy.

(From OE-Core rev: 5a09610d7b7a631f4cac41ab4325f3ed77c68a50)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Tim Orling
6c3048f4ac python3-zipp: upgrade 3.4.1 -> 3.5.0
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

(From OE-Core rev: 4978f40eb91ec6d76c61d5e0d1e4a98d0d5bb2f7)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Tim Orling
ae24dd88b9 python3-hypothesis: upgrade 6.14.0 -> 6.14.1
6.14.1 - 2021-07-02

This patch updates some internal type annotations. There is no user-visible change.

(From OE-Core rev: 49f5b968989b3c82613922ee0326f2cfdf86b3c3)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Tim Orling
819e7cba3c python3-packaging: upgrade 20.9 -> 21.0
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

(From OE-Core rev: c2e51c605afc78574f2f561750c498b96c42bc63)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Alexander Kanavin
b77230c010 python3-iniparse: update 0.4 -> 0.5
Drop the python3 compatibility patch (upstream is back from the dead and
fixed it).

(From OE-Core rev: a721edc1faccfdb7fc939fe7284a641485135f2f)

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-05 10:59:40 +01:00
Tim Orling
e6f0176917 python3-importlib-metadata: upgrade 4.5.0 -> 4.6.0
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.

(From OE-Core rev: 9a487fb10682243c6bbbb6a9918760cbeee06c19)

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-02 23:14:32 +01:00
zhengruoqin
ea29a3c116 python3: upgrade 3.9.5 -> 3.9.6
0001-Makefile-fix-Issue36464-parallel-build-race-problem.patch
removed since it is included in 3.9.6

(From OE-Core rev: 1a12d978f2046fc5d3abc96db3753e378f29ecae)

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-07-02 23:14:32 +01:00
Richard Purdie
b3e6b489bb python3-pip/python3-pbr: Drop obsolete md5sum at upgrade
(From OE-Core rev: c41fbcd484701a909c65ff608d4446236a56e578)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:21:22 +01:00
zangrc
31461165c1 python3-pip: upgrade 21.1.2 -> 21.1.3
(From OE-Core rev: bb7a13b59abc405c205c127ad46cb9c85efed6d8)

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-29 22:18:57 +01:00
wangmy
477e4c9891 python3-pbr: upgrade 5.4.4 -> 5.6.0
(From OE-Core rev: 9efd32536b7238c843cfeed8374dd89fd37b5cc9)

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-29 22:18:56 +01:00
Trevor Gamblin
e1da684aef python3-pip: add multiprocessing to RDEPENDS
Without it, simple invocations like "pip3 list" will fail with a
ModuleNotFoundError for multiprocessing.

(From OE-Core rev: b030aecdd2e92324caac9a73a1fdcdf013b43d16)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Trevor Gamblin
cf285f9682 python3-pip: upgrade 20.0.2 -> 21.1.2
21.1.2 contains a fix for CVE-2021-3572
(e46bdda971)

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.

(From OE-Core rev: 2135167ca86ff9d112ef3e71f5320c775d075b6c)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Alexander Kanavin
9c1fa69c54 python3: apply test skipping patch unconditionally
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)

(From OE-Core rev: 01b41f7deed48b33b35c84e32ef55de3e63b9bc1)

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-06-26 11:27:17 +01:00
Alexander Kanavin
0c78da38f1 python3-git: upgrade 3.1.17 -> 3.1.18
(From OE-Core rev: a8f8f614c75a1a5ca8759cb0aae8bdf9e8b60083)

(From OE-Core rev: 5ca7af1fa2ac2df2fdd72ffbc8222fce94426c6e)

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-06-26 11:27:16 +01:00
Tim Orling
721555184b python3: skip tests requiring tools-sdk
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)

(From OE-Core rev: c6567235cba55f50ca77d5db848c887232f3670c)

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-06-21 11:09:56 +01:00
zhengruoqin
7a7c20275c python3-dbusmock: upgrade 0.23.0 -> 0.23.1
(From OE-Core rev: 935710772068c44e894978995fcf5d16bcce9ae1)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
Alexander Kanavin
5ef04a0096 python3-magic: upgrade 0.4.23 -> 0.4.24
(From OE-Core rev: d74386b7b7fd2a7e6b3179c123b15331341fafa8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:06 +01:00
Tim Orling
2097f35eba python3-hypothesis: upgrade 6.13.14 -> 6.14.0
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

(From OE-Core rev: 5a99655d4045cec83169136ca977e81c9123575a)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Tim Orling
f071b059a0 python3-manifest: add statistics subpackage
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.
"""

(From OE-Core rev: cf1c49fea90e11bc037025e15e44f705a12385bf)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
zangrc
88318c6847 python3-pycairo: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: 8f9584905f05337fab660a777152cace5180c2c9)

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:23 +01:00
Tim Orling
477300ed95 python3-importlib-metadata: upgrade 4.4.0 -> 4.5.0
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.

(From OE-Core rev: 1d60ba1bc4eafc9cc232d61d2746f272fc966442)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:23 +01:00
Tim Orling
f56f963a02 python3-hypothesis: upgrade 6.13.7 -> 6.13.14
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.

(From OE-Core rev: 545b062e6816ad0c97a91e3cdbc486fc381f6263)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:23 +01:00
Tim Orling
73f05a2c83 python3-scons: upgrade 3.1.2 -> 4.1.0; simplify
* 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

(From OE-Core rev: 6fd0e96fca004ea7ec3441326ef0a601f36703c6)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:22 +01:00
wangmy
48ecf617b5 python3-libarchive-c: upgrade 3.0 -> 3.1
Add runtime dependency to resolve errors that occurred when import libarchive.

(From OE-Core rev: 5d29a4f036a81076b9ddd98dd93d885f8d2b9f74)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
wangmy
83794c3d44 python3-magic: upgrade 0.4.22 -> 0.4.23
(From OE-Core rev: b8f80cd1e2a845905fec296cd8d7ee91728492d2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
zhengruoqin
c0a17721aa python3-importlib-metadata: upgrade 4.3.0 -> 4.4.0
(From OE-Core rev: 676b32cd5f44420a70d48a6bc4028ae7c6aed99a)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00