Commit Graph

1226 Commits

Author SHA1 Message Date
Alexander Kanavin
cd91af372f python3-setuptools: update 58.5.3 -> 59.2.0
(From OE-Core rev: 717e538e70f78d79ba7cec2797024af0dc91aeb0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
98b85e193e python3-packaging: update 21.2 -> 21.3
(From OE-Core rev: f1b1eaf63cd0a762f149d2fed9cbef98eb7f4977)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
wangmy
0e7d1889aa python3-mako: upgrade 1.1.5 -> 1.1.6
Fixed issue where control statements on multi lines with a backslash would
not parse correctly if the template itself contained CR/LF pairs as on
Windows.

(From OE-Core rev: 2fa42b223a9bdafd52a7feb335001ef0b5713af8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
wangmy
3cfa8735d5 python3-scons: upgrade 4.2.0 -> 4.3.0
NOTE: 4.3.0 now requires Python 3.6.0 and above. Python 3.5.x is no longer supported

Changelog:
- Default hash algorithm check updated for SCons FIPS compliance. Now checks for hash viability
  first and then walks the tree to use the first viable hash as the default one. This typically
  selects SHA1 on FIPS-enabled systems less than Python 3.9 as the new default instead of MD5,
  unless SHA1 has also been disabled by security policy, at which point SCons selects SHA256
  as the default. For systems running Python 3.9 and later, the hashlib bug has been fixed,
  and SCons will once again default to MD5 as the preferred algorithm.
- Fix MSVS tests (vs-N.N-exec.py) for MSVS 6.0, 7.0, and 7.1 (import missing module).
- Add support for Visual Studio 2022.
- Fix reproducible builds. Restore logic respecting SOURCE_DATE_EPOCH when set.
- Fix version tests to work with updated scons --version output. (Date format changed)
- Fix issue #4021.  Change the way subst() is used in Textfile() to not evaluate '$$(' -> '$',
  but instead it should yield '$('.
- Change SCons.Platform.win32.get_architecture() to return platform.platform() when run in an
  environment where neither: PROCESSOR_ARCHITEW6432 nor PROCESSOR_ARCHITECTURE is set.
  This should fix platform tests which started failing when HOST_OS/HOST_ARCH changes
  introduced by Aaron Franke (listed below) were merged.
- Further PCH updates. It's now recommended that env['PCH'] should always be a File node.
  Either via return value from env.PCH() or by explicitly using File('StdAfx.pch').
- Added --no-ignore-skips to runtest.py. Changed default to ignore skips when setting
  runtest.py's exit status. Previously would exit 2 if any tests were skipped.
  Now will only exit 2 if user specifies --no-ignore-skips and some tests were skipped.
- Small fix to ensure CLVar default value is an empty list.
  See MongoDB bug report: https://jira.mongodb.org/browse/SERVER-59656
  Code contributed by MongoDB.
- Ninja - Fixed an issue where if you control-c and/or killed ninja while it was running scons to
  regenerate build.ninja you would end up with no build.ninja file and have to rerun scons from scratch.
  Code contributed by MongoDB.
- Define HOST_OS and HOST_ARCH in the environment for all platforms.
  Before this change, these were only defined for Win32 and OS/2.
- Fix ninja tool to never use for_sig substitution because ninja does not use signatures. This
  issue affected CommandGeneratorAction function actions specifically.
- Expanded ninja Mkdir to also support Mkdir actions.
- Added support for the PCH environment variable to support subst generators.
- Fix command line escaping for ninja dollar sign escape. Without escaping ninja properly,
  the ninja file scons regenerate and callback invocations will lose the $ characters used in
  the scons command line which ninja uses itself for escaping. For Example:
      scons BUILD=xyz OTHERVAR=$BUILD
  Prior to this fix, it would cause ninja to fail to escape the dollar sign, leading to the
  single dollar sign being used as a ninja escape character in the ninja file.
- Added ninja API 'NINJA_FORCE_SCONS_BUILD' to force a node to callback to scons.
- Two small Python 3.10 fixes: one more docstring turned into raw
  because it contained an escape; updated "helpful" syntax error message
  from 3.10 was not expected by SubstTests.py and test/Subst/Syntax.py
- EmitterProxy rich comparison set is completed (checker warning).
  Added __le__, __gt__, __ge__.
- Fix gcc/g++ tool failing if "gcc --version" returns text which fails
  to_String conversion (i.e., not UTF-8) - failure happens when tool
  initialization checks version. For gcc, the initial version string is
  not translated, for the rest, don't convert, just consume raw and discard.
- Maintenance and doc: modernize some usage in Scanner package,
  calling super(), switching some imitialization to comprehensions,
  and code formatting.  Docstring for scanner Base moved from
  init-method to class-level so it's picked up by Sphinx.
  Added new sconsign filenames to skip_entry_list in Scanner/Dir.py
- Change SCons.Scanner.Base to ScannerBase. Old name kept as an alias
  but is now unused in SCons itself.
- Call Variables option converter consistently - the converter should
  have access to the env if it needs to (issue #2064).
- Fixed the variables Add() method to accept a tuple for the variable
  name the same way AddVariables() does (issue #3869).
- The premade validator PathIsDirCreate for for PathVariable now catches
  the case where the directory could not be created due to permission
  problems, allowing a more helpful error to be emitted (issue #2828)
- Maintenance: Python thread.setDaemon is deprecated in favor of
  directly updating daemon attribute - update SCons to do this.
- Make sure when subst'ing a callable, the callable is called with
  the correct for_signature value, previously it would be true even
  if doing SUBST_RAW (issue #4037)
- Update Util/NodeList implementation to get rid of a workaround for
  early Python 3 slicing issue that is no longer a problem.
- Rework some Java tests to skip rather than fail on CI systems, where
  the working java is > v9, but a 1.8 or 9 was also found.
- Java updates: on Windows, detect more default JDK install locations.
  On all platforms, more Java versions (up to 17.0 now).  Add more information
  on version selection to docs.
  Update docs on JavaH tool in light of javah command dropped since 10.0.
  Try to be better about preserving user's passed-in JAVA* construction vars.
- Start the deprecation of the qt tool, which refers to Qt3 (usupported
  since around 2006). There's a deprecation warning added, initially
  defaulting to disabled.
- Fix crash when scons is run from a python environement where a signal
  is set from outside Python.

(From OE-Core rev: bd7b202e09dbf6749271ff57fed5296c2f8fed4a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
Alexander Kanavin
d15efc744a python3-pyparsing: upgrade 3.0.5 -> 3.0.6
(From OE-Core rev: 23cbfdec46d33351156cb9d0f130c1324940136b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
ce56c937f6 python3-hypothesis: upgrade 6.24.2 -> 6.24.3
(From OE-Core rev: bbc438fca12c6c5d2c003e2c0529632a764a6757)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
wangmy
fad54baeab python3-more-itertools: upgrade 8.10.0 -> 8.11.0
8.11.0:
New functions
The :func:`before_and_after`, :func:`sliding_window`, and :func:`triplewise` recipes from the Python 3.10 docs were added
:func:`duplicates_everseen` and :func:`duplicates_justseen` (thanks to OrBin and DavidPratt512)
:func:`minmax` (thanks to Ricocotam, MSeifert04, and ruancomelli)
:func:`strictly_n` (thanks to hwalinga and NotWearingPants)
:func:`unique_in_window`
Changes to existing functions
:func:`groupby_transform` had its type stub improved (thanks to mjk4 and ruancomelli)
:func:`is_sorted` now accepts a strict parameter (thanks to Dutcho and ruancomelli)
:func:`zip_broadcast` was updated to fix a bug (thanks to kalekundert)

(From OE-Core rev: 7767810424a79c9cb60b4ea763bc1c10efe0b73b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
wangmy
aa9b00d9d2 python3-jinja2: upgrade 3.0.2 -> 3.0.3
What's Changed
update requirements by @davidism in #1524
test Python 3.10 by @davidism in #1530
test Python 3.11 by @davidism in #1531
Tests: Adapt expected traceback regexes for Python 3.11.0a1 by @hroncok in #1527
simplify CodeType rewriting by @davidism in #1536
native: keep same behavior on Python 3.10 by @mkrizek in #1537
Reduce async overhead due to auto_await by @mohd-akram in #1516
Use object.__hash__ for Node.__hash__ by @klette in #1522
Fix typos by @kianmeng in #1509
rewrite Template class doc by @davidism in #1538
remove reference to macro.defaults by @davidism in #1539
rewrite docs about extending template objects by @davidism in #1540
document chained pow order by @davidism in #1541
PackageLoader works with single module file by @davidism in #1542
release version 3.0.3 by @davidism in #1543

(From OE-Core rev: cb39ee88f1e52551dd5093558fde4c67f30580ae)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
wangmy
5ce6bb75e4 python3-importlib-metadata: upgrade 4.8.1 -> 4.8.2
(From OE-Core rev: baa194f77792d7f89775d0e8bae39bae8c0a6cc0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Yi Zhao
d3a5074c67 python3-numpy: add python3-json to RDEPENDS
Fixes:
$ python3
>>> import numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.10/site-packages/numpy/__init__.py", line 138, in <module>
    from ._version import get_versions
  File "/usr/lib/python3.10/site-packages/numpy/_version.py", line 7, in <module>
    import json
ModuleNotFoundError: No module named 'json'
>>>

(From OE-Core rev: 1b762dc1e3a91884ce649504da787266fc53e928)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Yi Zhao
a6757e4a52 python3-numpy: move recipe to python directory
This recipe had been moved out from python directory since 2016[1] in
order to share patches between python2 and python3. But now there is no
reason to keep it in its own directory as we only keep python3-nump.
Move it back to python directory.

[1] https://git.openembedded.org/openembedded-core/commit/?id=9bffe2f9fb4ce6c0b265f27e5b484fbe076c6349

(From OE-Core rev: e5702b8ebd16949c736b8c2f18bf35c0d64d80bd)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Khem Raj
7ca8dd76ea python3-pygobject: Improve introspection handling
meson 0.60 turns unknown options into them hard errors. Do not add
-Dintrospection by using the new configuration option.

(From OE-Core rev: a2023319eb315ba71f6c6699d2068e51524a2908)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:28 +00:00
Alexander Kanavin
61f13c6d3e python3-pyparsing: update 3.0.4 -> 3.0.5
(From OE-Core rev: d5c83301004483a9dfe24df5ebf4a1b98fc20381)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
d713b9c794 python3-setuptools: upgrade 58.3.0 -> 58.5.3
(From OE-Core rev: b4fa2ff641fea72bc799e237b1b81643256614d0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
654e4ceaae python3-py: upgrade 1.10.0 -> 1.11.0
(From OE-Core rev: 75d53556a4aae59005e5d5ab76bfff74cc119047)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
b23929b70c python3-pbr: upgrade 5.6.0 -> 5.7.0
(From OE-Core rev: b9434854a625c2edbf140fa931d3756d7bab32ef)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
f7dbf89d5a python3-packaging: upgrade 21.0 -> 21.2
(From OE-Core rev: 7a317c575437dc5a1b9b32ba7711377896ee9db4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
777487c07f python3-hypothesis: upgrade 6.24.0 -> 6.24.2
(From OE-Core rev: 18f55f898401fa19e9ab52dc7b30485a44f2e069)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
wangmy
97850bbc8e python3-docutils: upgrade 0.17.1 -> 0.18
The exceptions to the "Public Domain Dedication" changed.

-License-Update: Copyright year updated to 2021.

(From OE-Core rev: 4ca6eb8d4f7209af70bba6f50d4acd105134fa51)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
wangmy
1f67c53f43 python3-dbusmock: upgrade 0.24.0 -> 0.24.1
Do not register standard D-Bus service directories (Thanks Benjamin Berg)
templates: Add IIO Sensors Proxy support (Thanks Marco Trevisan)
Fix importlib module import (Thanks Marco Trevisan)
Clean up code for most recent pylint version

(From OE-Core rev: f290414f206904136c79ab6834c6c7ad7052c6d9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
Alexander Kanavin
3e276f598b python3-pyparsing: upgrade 3.0.0 -> 3.0.4
(From OE-Core rev: 6909ecaef580c43d2e439249b0134bf850448d93)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
a9b65ad9cb python3-gitdb: upgrade 4.0.7 -> 4.0.9
(From OE-Core rev: b0de9c477dcc63a4b28a430b0a45cd63f731721b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Ross Burton
851be8baed python3: silence DeprecationWarnings in python3-config
Our patched python3-config uses distutils, but that will emit a
DeprecationWarning when imported.  This isn't useful when using the
output of python3-config to find include paths.

This isn't a huge problem typically as the warning goes to stderr, but
some build systems read both stdout and stderr.

(From OE-Core rev: e25b8f5af70a094307dc5c0a25f213ae9570f349)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Alexander Kanavin
091a598f30 python3-pygobject: do not supply unknown g-i options
meson 0.60 turns unknown options into them hard errors, so instead of relying on g-i class
(where the options are mandatory) add g-i dependencies explicitly.

(From OE-Core rev: 9c0cc06a3d857124c0e1c1c9342f79ba5a3b10bc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
c0e674dba8 python3-setuptools: upgrade 58.2.0 -> 58.3.0
(From OE-Core rev: 609afb2b408a4275fc4927886c53d337cef604e5)

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-10-28 14:16:31 +01:00
Alexander Kanavin
b29dacedc1 python3-pip: upgrade 21.3 -> 21.3.1
(From OE-Core rev: f95381108536e838fb66ba05657e579d2f85fad1)

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-10-28 14:16:31 +01:00
Oleksandr Kravchuk
4c00dab038 python3-pyparsing: update to 3.0.0
(From OE-Core rev: ab8f974232972fdfbadded5479e54502e8d76dda)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Tim Orling
9ec9a1a122 python3-tomli: upgrade 1.2.1 -> 1.2.2
1.2.2

  * Fixed
    - Illegal characters in error messages were surrounded by two
      pairs of quotation marks
  * Improved
    - TOMLDecodeError.__module__ is now the public import path (tomli)
      instead of private import path (tomli._parser)
    - Eliminated an import cycle when typing.TYPE_CHECKING is True.
      This allows sphinx-autodoc-typehints to resolve type annotations.

(From OE-Core rev: ab86f496fdead3dabe8b252a6cacaeb10ce03b5a)

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-10-27 09:46:41 +01:00
Tim Orling
353d3d2f8a python3-hypothesis: upgrade 6.23.2 -> 6.24.0
6.24.0 - 2021-10-23
  * This patch updates our vendored list of top-level domains, which is used
    by the provisional domains() strategy.
  * (did you know that gTLDs can be both added and removed?)

6.23.4 - 2021-10-20
  * This patch adds an error for when shapes in xps.arrays() is not passed
    as either a valid shape or strategy.

6.23.3 - 2021-10-18
  * This patch updates our formatting with shed.

(From OE-Core rev: b7d90cf4fe2a021e8709a64bcae285ec81eb5ed8)

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-10-27 09:46:41 +01:00
Tim Orling
18f933d20d python3-manifest: -pprint RDEPENDS on -profile
python3-profile includes dataclasses.

pprint imports dataclasses:
https://github.com/python/cpython/blob/3.10/Lib/pprint.py#L38

(From OE-Core rev: 900d7c3a8f68e9ce751a0b5cc839b8838fdebf3f)

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-10-27 09:46:41 +01:00
Tim Orling
2156f9be5e python3-pyyaml: upgrade 5.4.1 -> 6.0
Now uses "vendored" distutils from setuptools by default
rather than from Python stdlib.

Changes
=======

* https://github.com/yaml/pyyaml/pull/327
  -- Change README format to Markdown
* https://github.com/yaml/pyyaml/pull/483
  -- Add a test for YAML 1.1 types
* https://github.com/yaml/pyyaml/pull/497
  -- fix float resolver to ignore `.` and `._`
* https://github.com/yaml/pyyaml/pull/550
  -- drop Python 2.7
* https://github.com/yaml/pyyaml/pull/553
  -- Fix spelling of “hexadecimal”
* https://github.com/yaml/pyyaml/pull/556
  -- fix representation of Enum subclasses
* https://github.com/yaml/pyyaml/pull/557
  -- fix libyaml extension compiler warnings
* https://github.com/yaml/pyyaml/pull/560
  -- fix ResourceWarning on leaked file descriptors
* https://github.com/yaml/pyyaml/pull/561
  -- always require `Loader` arg to `yaml.load()`
* https://github.com/yaml/pyyaml/pull/564
  -- remove remaining direct distutils usage

(From OE-Core rev: 2abc7a612a71b3594f3183fbb824a708269ae694)

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-10-23 17:42:28 +01:00
Tim Orling
aa600e70d9 python3-setuptools: _distutils/sysconfig fix
Add patch to append STAGING_LIBDIR python-sysconfigdata to sys.path so
that packages which set SETUPTOOLS_USE_DISUTILS='local' cross-compile
properly with python3-setuptools-native.

Fixes:
ModuleNotFoundError: No module named '_sysconfigdata'

References:
https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html#porting-from-distutils

(From OE-Core rev: f6fb99c53f779966fc902a629d0a8bbd9f84c6be)

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-10-23 17:42:28 +01:00
Alexander Kanavin
479cfc3b53 python3-setuptools: upgrade 58.0.4 -> 58.2.0
(From OE-Core rev: 0235e0bea0692d641c7118ddae5a08a9610d76dd)

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-10-23 17:42:26 +01:00
Alexander Kanavin
0ddce9242c python3-pygobject: upgrade 3.40.1 -> 3.42.0
(From OE-Core rev: b65725375868e9acbe317c3bfbe989d3da300c50)

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-10-23 17:42:26 +01:00
Alexander Kanavin
35c9953c60 python3-jinja2: upgrade 3.0.1 -> 3.0.2
(From OE-Core rev: 6814a2286ee6931c8c4a590b71a90436d57e80e0)

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-10-23 17:42:26 +01:00
Alexander Kanavin
a8a97eb845 python3-pip: update 21.2.4 -> 21.3
Adjust patch as file is removed from source tree.

(From OE-Core rev: e6fc7d2825d6c26f5dc65e38f3313cd9b3556238)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Oleksandr Kravchuk
2d5e0f13e3 python3-smmap: update to 5.0.0
(From OE-Core rev: 63a235d86edb5ca628c8601ed06fb04da3186141)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Tim Orling
573c336353 python3-setuptools-scm: upgrade 6.0.1 -> 6.3.2
RDEPENDS on python3-tomli instead of python3-toml

Cleanup RDEPENDS (common vs. class-target)

For changes, see:
https://github.com/pypa/setuptools_scm/blob/main/CHANGELOG.rst#632

(From OE-Core rev: db2f3df621ada3f4a87136279fc8015f81a6ad0c)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Tim Orling
6cc9954c6b python3-tomli: add recipe for 1.2.1
A lil' TOML parser

This is a runtime dependency for setuptools-scm upgrade as well as for
several other Python Packaging Authority (pypa) tools that will be
replacing distutils and setuptools in the future.

Upstream does not have a setup.py, but rather relies on flit_core to
build. This introduces a circular dependency, as flit_core has a runtime
dependency on tomli.

Borrow a setup.py from Gentoo until a better solution is found by
upstream Python Packaging Authority (pypa).

(From OE-Core rev: 86430833b463d606ffc345ad6b7e51840dc9f9ba)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Tim Orling
836ab3c757 python3-packaging: BBCLASSEXTEND nativesdk
python3-setuptools-scm RDEPENDS on it for nativesdk

Fixes:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2766/steps/13/logs/warnings

(From OE-Core rev: c984ef67f8dff27e0ce24628f28d196cdc76055e)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Tim Orling
db7c1da81f python3-packaging: DEPENDS on python3-setuptools-native
Not python3-setuptools-scm-native

Upgrade to python3-setuptools-scm introduces a circular dependency.

Drop python3-six from RDEPENDS as this was removed in 20.5

(From OE-Core rev: 58e1f76a37d649e648dd9d436abbf4d3bfaea0ab)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
zhengruoqin
3ea4b61032 python3-pycryptodome: upgrade 3.10.1 -> 3.11.0
3.11.0 (8 October 2021)
Resolved issues
GH#512: Especially for very small bit sizes,
Crypto.Util.number.getPrime() was occasionally generating primes
larger than given the bit size. Thanks to Koki Takahashi.
GH#552: Correct typing annotations for PKCS115_Cipher.decrypt().
GH#555: decrypt() method of a PKCS#1v1.5 cipher returned a bytearray
instead of bytes.
GH#557: External DSA domain parameters were accepted even when the
modulus (p) was not prime. This affected
Crypto.PublicKey.DSA.generate() and Crypto.PublicKey.DSA.construct().
Thanks to Koki Takahashi.

New features
Added cSHAKE128 and cSHAKE256 (of SHA-3 family).
Thanks to Michael Schaffner.
GH#558: The flag RTLD_DEEPBIND passed to dlopen() is not well
supported by address sanitizers. It is now possible to set the
environment variable PYCRYPTDOME_DISABLE_DEEPBIND to drop that flag
and allow security testing.

(From OE-Core rev: 5dd1c7eb074d8b0089163f8283751676c756d2bc)

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-10-16 17:41:59 +01:00
Richard Purdie
5d11fecd3f python: Update now reproducibile builds are the default
Now reproducible builds are the default move the qemu-usermode check to anon
python code so that invalid configurations are detected.

(From OE-Core rev: 6c195acb400efeeebdacdd8d081b35f7417a694c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Alexander Kanavin
fae4ba632b python3: update 3.9.7 -> 3.10.0
native and target 0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch
replaced by native-only 0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch
which is more reboust against upstream changes, and keeps target code unmodified.

This however necessitated adding 0001-sysconfig.py-use-platlibdir-also-for-purelib.patch
to avoid hardcoding 'lib' on target builds as libdir.

Drop chunk from 0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch as
upstream now uses sysconfig directly inside distutils.

Add 0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch and
0001-multiprocessing-disable-a-failing-test.patch to address ptest failures.

License-Update: copyright years, case corrections.

(From OE-Core rev: 72a75043a946f7db01d3ec04c8889e055f542cca)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:57:38 +01:00
Tim Orling
1c6080c4b7 python3-pytest: upgrade 6.2.4 -> 6.2.5
Drop pluggy-1.0 patch; fixed upstream

pytest 6.2.5 (2021-08-29)
  Trivial/Internal Changes
    #8494: Python 3.10 is now supported.
    #9040: Enable compatibility with pluggy 1.0 or later.

References:
  https://github.com/pytest-dev/pytest/pull/8494
  https://github.com/pytest-dev/pytest/pull/9040

(From OE-Core rev: cd83fa054d133eb2b189ad3f0a743cc72001e064)

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-10-14 11:48:46 +01:00
Tim Orling
e3c677a181 python3-zipp: upgrade 3.5.0 -> 3.6.0
v3.6.0
  #78: Only Path is exposed in the public API.

v3.5.1
  #77: Remove news file intended only for CPython.

References:
  https://github.com/jaraco/zipp/issues/78
  https://github.com/jaraco/zipp/issues/77

(From OE-Core rev: 682db790542212e921eb6d874c2915ac815ee9bd)

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-10-14 11:48:46 +01:00
Tim Orling
cbc0b73b9b python3-more-itertools: upgrade 8.9.0 -> 8.10.0
8.10.0
  Changes to existing functions
    - The type stub for iter_except was improved (thanks to
      MarcinKonowalczyk)

  Other changes:
    - Type stubs now ship with the source release (thanks to
      saaketp)
    - The Sphinx docs were improved (thanks to MarcinKonowalczyk)

8.9.0
  New functions
    - interleave_evenly (thanks to mbugert)
    - repeat_each (thanks to FinalSh4re)
    - chunked_even (thanks to valtron)
    - map_if (thanks to sassbalint)
    - zip_broadcast (thanks to kalekundert)

  Changes to existing functions
    - The type stub for chunked was improved (thanks to
      PhilMacKay)
    - The type stubs for zip_equal and zip_offset were improved
      (thanks to maffoo)
    - Building Sphinx docs locally was improved (thanks to
      MarcinKonowalczyk)

(From OE-Core rev: 981014d7122270ceca961e7f88a2b6d1aa322361)

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-10-14 11:48:46 +01:00
Tim Orling
83f6f5faea python3-importlib-metadata: upgrade 4.6.4 -> 4.8.1
v4.8.1
  #348: Restored support for EntryPoint access by item, deprecating
        support in the process. Users are advised to use direct member
        access instead of item-based access:

    - ep[0] -> ep.name
    - ep[1] -> ep.value
    - ep[2] -> ep.group
    - ep[:] -> ep.name, ep.value, ep.group

v4.8.0
  #337: Rewrote EntryPoint as a simple class, still immutable and
        still with the attributes, but without any expectation for
        namedtuple functionality such as _asdict.

v4.7.1
  #344: Fixed regression in packages_distributions when neither
        top-level.txt nor a files manifest is present.

v4.7.0
  #330: In packages_distributions, now infer top-level names from
        .files() when a top-level.txt (Setuptools-specific metadata)
        is not present.

References:
  https://github.com/python/importlib_metadata/issues/348
  https://github.com/python/importlib_metadata/issues/337
  https://github.com/python/importlib_metadata/issues/344
  https://github.com/python/importlib_metadata/issues/330

(From OE-Core rev: 21d72ace8f9486bd1b478e28d53da64087d790fa)

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-10-14 11:48:46 +01:00
Tim Orling
6940a07131 python3-hypothesis: upgrade 6.15.0 -> 6.23.2
For changes, see:
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-23-2

(From OE-Core rev: b01db599d754f7fe654ae4edfc076333b54bbce5)

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-10-14 11:48:46 +01:00
Oleksandr Kravchuk
5db1de261f python3-setuptools: minor cleanup
(From OE-Core rev: 7c1525bfd7b56db5e78e5459e2e415799675a13c)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00