Commit Graph

2046 Commits

Author SHA1 Message Date
Alexander Kanavin
e514845b04 python3-poetry-core: update 1.3.2 -> 1.4.0
Upstream has changed the tarball and the dir inside it to poetry_core
(with underscore).

License-Update: formatting, copyright years.

(From OE-Core rev: b4a078944614b0e9f806486f33a3a71a01e8294c)

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>
2022-12-18 19:48:00 +00:00
Alexander Kanavin
0f74e91a44 python3-numpy: fix upstream version check
Default regex is also considering numpy release candidates.

(From OE-Core rev: e2f81a955457fc50107ec9f0e2aea3641ed8a048)

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>
2022-12-18 19:48:00 +00:00
Ross Burton
94c019d9c0 python3-cryptography: remove python3-tomli RDEPENDS
The test suite doesn't use tomli, so remove it.

(From OE-Core rev: 60c3c875e2547d636e55abd115c0c7fb23488379)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-09 13:18:41 +00:00
Ross Burton
3910c4292a python3-hatchling: remove python3-tomli DEPENDS
Now that we have Python 3.11, hatchling will use the internal tomllib
instead of tomli.

(From OE-Core rev: f33168a18ddc9929c8e302937051fb6430047990)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-09 13:18:41 +00:00
Ross Burton
6de3b16cad python3-packaging: upgrade to 22.0
This has been ported from setuptools to flit_core, and now contains a
hand-written parser instead of using pyparsing.

(From OE-Core rev: cf4c11fe2e13ec63c08ded790e4d7b64ce94e4f2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-09 13:18:41 +00:00
Alexander Kanavin
af4284d39d python3targetconfig.bbclass: use PYTHONPATH to point to the target config
There is no need to patch native python so that it looks in the target
sysroot; the same can be achieved with just an environment variable.

(From OE-Core rev: c9617c03bceee54dc540318cada392799b137bd5)

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>
2022-12-07 14:56:54 +00:00
Alexander Kanavin
990af746c2 python3: use the standard shell version of python3-config
There is really no reason why we can't: it only needs to be available
in two versions (native/target), and the correct one can be picked
via PATH priority order.

This eliminates two un-upstreamable patches, one of which relies
on soon to be removed distutils.

(From OE-Core rev: d0145ead0f80ba4bde8e24617a8725f38eda8339)

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>
2022-12-07 14:56:54 +00:00
Alexander Kanavin
b0351d6172 python3: fix tests on x86 (32 bit)
(From OE-Core rev: 8de9d28a57cae405dd76aa2bca7a81507718817d)

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>
2022-12-05 22:28:13 +00:00
Mingli Yu
f68a10b5cf python3: make tkinter available when enabled
After Python upgrade to 3.11, it requires pkg-config to detect
tcl and tk when configure tkinter, so add tcl depends to fix
below error.

| The necessary bits to build these optional modules were not found:
| _tkinter

(From OE-Core rev: 163966765d57fe38e13d0b6659795a13bc702e2d)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 22:39:45 +00:00
Joe Slater
2f92cccb74 python3: Fix CVE-2022-37460
Apply patch created after the release of 3.11.0.

(From OE-Core rev: 1a8836ed324f3f9abb2eabe357ffe2e05124857e)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:45 +00:00
Tim Orling
ce3f034fc5 python3-hypothesis: upgrade 6.56.4 -> 6.57.1
6.57.1 - 2022-11-14
This patch updates some internal type annotations and fixes a formatting bug
in the explain phase reporting.

6.57.0 - 2022-11-14
Hypothesis now raises an error if you passed a strategy as the alphabet=
argument to text(), and it generated something which was not a length-one
string. This has never been supported, we’re just adding explicit validation
to catch cases like this StackOverflow question.

https://hypothesis.readthedocs.io/en/latest/changes.html#v6-57-1

(From OE-Core rev: 8a4a1fbc7c882a5768d9d5c48edcd92867f7fab4)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:29:07 +00:00
Wang Mingyu
312975e571 python3-wheel: upgrade 0.38.0 -> 0.38.4
Changelog:
===========
-Fixed PKG-INFO conversion in bdist_wheel mangling UTF-8 header values in METADATA
-Fixed install failure when used with --no-binary, reported on Ubuntu 20.04,
 by removing setup_requires from setup.cfg
-Fixed regression introduced in v0.38.1 which broke parsing of wheel file names
 with multiple platform tags
-Removed install dependency on setuptools
-The future-proof fix in 0.36.0 for converting PyPy's SOABI into a abi tag was
 faulty. Fixed so that future changes in the SOABI will not change the tag.

(From OE-Core rev: 85479f94c85d6928d6fd893bb28b86b2e769a07c)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
ca04007706 python3-subunit: upgrade 1.4.0 -> 1.4.1
Changelog:
=========
IMPROVEMENTS
-------------
* Add support for Python 3.9
* Add support for Python 3.10
* Drop support for Python 2.7, 3.4, and 3.5
* Convert python scripts to entry_points.
* Migrate CI from travis to GitHub actions.
* Add options to output filter to set timestamps.
* Remove dependency on unittest2.

BUGFIXES
----------
* Fix tests with testtools >= 2.5.0.
* Mark rawstrings as such, fixing warnings.

(From OE-Core rev: 8841a4c49ff57bc03f68408883a73ec3a4a75e99)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
4e7a076d2c python3-sphinx-rtd-theme: upgrade 1.1.0 -> 1.1.1
Changelog:
Fixes wrapping bug on cross references (#1368)

(From OE-Core rev: 9d88f8da0764ed0e005c8f22a9a439b1ea88019d)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
40e1f20df4 python3-setuptools: upgrade 65.5.0 -> 65.5.1
Changelog:
-----
    #3638: Drop a test dependency on the mock package, always use unittest.mock
    #3659: Fixed REDoS vector in package_index.

(From OE-Core rev: f508081b34c297321b6a15e81d593cebc5efaee6)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
459a12efc1 python3-psutil: upgrade 5.9.3 -> 5.9.4
(From OE-Core rev: c2aef4590c7733e21081a0a4969516c9d43cba86)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
a56d78fc2a python3-pip: update 22.3 -> 22.3.1
Bug Fixes
-----------
 Fix entry point generation of pip.X, pipX.Y, and easy_install-X.Y to correctly
 account for multi-digit Python version segments (e.g. the "11" part of 3.11). (#11547)

(From OE-Core rev: 015eb64e2781e03248c6a11b109253a3f12e96dc)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
868052c5f2 python3-flit-core: upgrade 3.7.1 -> 3.8.0
(From OE-Core rev: 8965912fdedcdbefd2d1068ebf229a3c4627102a)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
7764fb4738 python3-dtschema: upgrade 2022.9 -> 2022.11
Changelog:
============
- Rework exception handling to better handle Ctrl-C exits

- Various updates to README.md including examples on running different
  commands

- Allow using schemas for validation which fail meta-schema checks. This
  will allow using schemas which have failures due to new meta-schema
  checks.

(From OE-Core rev: ce68658c5471223933239d553abdd2cc5e3520ff)

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>
2022-11-14 16:19:43 +00:00
Alexander Kanavin
b29c66484a python3: correctly adjust include paths in sysconfigdata
This was replacing /usr/include regardless of whether it
was at the beginning of the full path (correct, when building target
python3), or in the middle of it (not correct, when building
native or nativesdk python).

Through various reasons we haven't been bitten by this until now,
but latest setuptools does expose the problem with for example
nativesdk-python3-cffi and nativesdk-python3-cryptography which both
fail without this fix.

I am not aware of anything using INCLDIRSTOMAKE, and it is harder
to adjust correctly due to the value being a list; if something
is using it, we can look at it specifically.

(From OE-Core rev: 4055dd6cc89af16b3723e38b63d4d81efb0e2286)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:29:49 +00:00
Alexander Kanavin
5f349fa8d8 python3-wheel: upgrade 0.37.1 -> 0.38.0
(From OE-Core rev: 0b9461cb486c3135d57876a5f68878b8d668d5e0)

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>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
7ad4719b51 python3-setuptools: upgrade 65.0.2 -> 65.5.0
(From OE-Core rev: 5dc5d7a8fc657ae34631ad6b48069fc5002d39b0)

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>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
98b871c9c7 python3-dtschema: upgrade 2022.8.3 -> 2022.9
(From OE-Core rev: a0cd4f04e858dcc643fa43215be578573e10c74a)

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>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
781eeef584 python3-git: upgrade 3.1.28 -> 3.1.29
(From OE-Core rev: ded3f8082234f1c05f31769cd0e4353b78181a52)

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>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
5a86801bc2 python3-pip: upgrade 22.2.2 -> 22.3
License-Update: copyright years, formatting

(From OE-Core rev: 805f0471fff17a9d9a7aa91fda2e04d2ea6ba59f)

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>
2022-11-08 22:47:16 +00:00
Leon Anavi
8fc8f38399 python3-manifest.json: Fix re in core
Following the update from 3.10.6 to 3.11.0, the source code of
module re for regular expression operations has been moved to
Lib/re/. File python3-manifest.json has been modified according
to the new path.

According to the instructions the new python3-manifest.json
version was created by running bitbake python3 -c create_manifest.
Because of this it also updated other files and rdepends in it.

(From OE-Core rev: 830393e7aa0150566d871acd877908e08fa06964)

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:42 +00:00
zhengruoqin
9728e5b50c python3-pbr: upgrade 5.10.0 -> 5.11.0
Changelog:
=========
* Fix symbol identification in multiline message
* Replace deprecated readfp method with read\_file

(From OE-Core rev: b4a809ba1758d8fa8d370da49b978d8a82e36e40)

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>
2022-11-07 14:32:42 +00:00
zhengruoqin
6a723da281 python3-sphinx-rtd-theme: upgrade 1.0.0 -> 1.1.0
Changelog:
https://sphinx-rtd-theme.readthedocs.io/en/stable/changelog.html

(From OE-Core rev: 414abb4abe53f809ae7711fbf8d95afa6ad2989f)

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>
2022-11-07 14:32:42 +00:00
zhengruoqin
9bd76cdc20 python3-numpy: upgrade 1.23.3 -> 1.23.4
Changelog:
https://github.com/numpy/numpy/releases/tag/v1.23.4

(From OE-Core rev: a76036f29c845d357b37da7ebf8af7d447b96bec)

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>
2022-11-07 14:32:42 +00:00
zhengruoqin
f2baba898d python3-pyrsistent: upgrade 0.18.1 -> 0.19.2
Changelog:
==========
 * Fix #263, pmap regression in 0.19.1. Element access sometimes unreliable after insert.
 * Fix #159 (through PR #243). Pmap keys/values/items now behave more like the corresponding Python 3
   methods on dicts. Previously they returned a materialized PVector holding the items, now they return
   views instead. This is a slight backwards incompatibility compared to previous behaviour, hence stepping
   version to 0.19.
 * Fix #244, type for argument to PVector.delete missing.
 * Fix #249, rename perf test directory to avoid tripping up automatic discovery in more recent setuptools versions
 * Fix #247, performance bug when setting elements in maps and adding elements to sets
 * Fix #248, build pure Python wheels. This is used by some installers.
 * Fix #254, #258, support manylinux_2014_aarch64 wheels.

(From OE-Core rev: 87ecac07d9be3fc25b579344082048a9dbe76501)

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>
2022-11-07 14:32:42 +00:00
zhengruoqin
95f801de6f python3-jsonschema: upgrade 4.16.0 -> 4.17.0
Changelog:
===========

* The "check_schema" method on "jsonschema.protocols.Validator" instances
  now *enables* format validation by default when run. This can catch some
  additional invalid schemas (e.g. containing invalid regular expressions)
  where the issue is indeed uncovered by validating against the metaschema
  with format validation enabled as an assertion.
* The "jsonschema" CLI (along with "jsonschema.cli" the module) are now
  deprecated. Use "check-jsonschema" instead, which can be installed via
  "pip install check-jsonschema" and found
  'here <https://github.com/python-jsonschema/check-jsonschema>'_.
* Make "ErrorTree" have a more grammatically correct "repr".

(From OE-Core rev: b8cece422c789816a8140af519e13a977065c8d6)

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>
2022-11-07 14:32:42 +00:00
Wang Mingyu
aeda828e55 python3-hatchling upgrade: 1.11.0 -> 1.11.1
Changelog:
Fix default file selection behavior of the wheel target when there is a single top-level module

(From OE-Core rev: 645ee26f993bce4e5fca19cabcc40c575b85fbb5)

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>
2022-11-07 14:32:42 +00:00
Wang Mingyu
46d594e355 python3-hatch-fancy-pypi-readme: upgrade 22.7.0 -> 22.8.0
Added
=========
 Added start-at in addition to start-after that preserves the string that is looked for.
 This often removes the need for adding markers because you can define
 the starting point using a heading that becomes part of the fragment.

(From OE-Core rev: ce2aa0bf0177533c4e168a942b7d0560e137f4c1)

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>
2022-11-07 14:32:42 +00:00
Wang Mingyu
e9f25b761d python3-babel: upgrade 2.10.3 -> 2.11.0
License-Update:
"the author" changed to "the copyright holder nor the names of its contributors"
"THE AUTHOR" changed to "THE COPYRIGHT HOLDERS AND CONTRIBUTORS"

Changelog:
===========
Improvements
------------
* Support for hex escapes in JavaScript string literals :gh:'#877'
* Add support for formatting decimals in compact form :gh:'#909'
* Adapt parse_date to handle ISO dates in ASCII format :gh:'#842'
* Use 'ast' instead of 'eval' for Python string extraction :gh:'#915'
    * This also enables extraction from static f-strings.
      F-strings with expressions are silently ignored (but won't raise an error as they used to).

Infrastructure
---------------
* Tests: Use regular asserts and "pytest.raises()" :gh:'#875'
* Wheels are now built in GitHub Actions :gh:'#888'
* Small improvements to the CLDR downloader script :gh:'#894'
* Remove antiquated '__nonzero__' methods :gh:'#896'
* Remove superfluous '__unicode__' declarations :gh:'#905'
* Mark package compatible with Python 3.11 :gh:'#913'
* Quiesce pytest warnings :gh:'#916'

Bugfixes
-----------
* Use email.Message for pofile header parsing instead of the deprecated "cgi.parse_header" function. :gh:'#876'
* Remove determining time zone via systemsetup on macOS :gh:'#914'

Documentation
--------------
* Update Python versions in documentation :gh:'#898'
* Align BSD-3 license with OSI template :gh:'#912'

(From OE-Core rev: cac67727058415ecd491c85bcf1b62610849950f)

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>
2022-11-07 14:32:42 +00:00
Tim Orling
de15d93a37 python3-typing-extensions: upgrade 4.3.0 -> 4.4.0
* Add SUMMARY, DESCRIPTION, BUGTRACKER and SECTION
* Update HOMEPAGE to agree with PyPi

https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-440-october-6-2022

Release 4.4.0 (October 6, 2022)

* Add typing_extensions.Any a backport of python 3.11's Any class
  which is subclassable at runtime. (backport from python/cpython#31841,
  by Shantanu and Jelle Zijlstra). Patch by James Hilton-Balfe
  (@Gobot1234).
* Add initial support for TypeVarLike default parameter, PEP 696.
  Patch by Marc Mueller (@cdce8p).
* Runtime support for PEP 698, adding typing_extensions.override.
  Patch by Jelle Zijlstra.
* Add the infer_variance parameter to TypeVar, as specified in PEP
  695. Patch by Jelle Zijlstra.

License-Update: update copyright years; align with CPython LICENSE

See https://github.com/python/typing_extensions/pull/63

(From OE-Core rev: 15ca091ae01ae298c013e8cf82ee6af382259ed8)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:42 +00:00
Leon Anavi
d23d41bc25 get_module_deps3.py: Check attribute '__file__'
Check if the module object has attribute '__file__' to fix and
avoid errors like:

AttributeError: module '_abc' has no attribute '__file__'. Did you mean: '__name__'?

(From OE-Core rev: 8acce12c1a4cf37ac312c92d62a6ae93a349dddf)

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:41 +00:00
Tim Orling
5c31bd2cff python3-sphinx: upgrade 5.2.3 -> 5.3.0
https://www.sphinx-doc.org/en/master/changes.html#release-5-3-0-released-oct-16-2022

Release 5.3.0 (released Oct 16, 2022)

* #10759: LaTeX: add latex_table_style and support the 'booktabs',
	  'borderless', and 'colorrows' styles. (thanks to Stefan
          Wiehler for initial pull requests #6666, #6671)

* #10840: One can cross-reference including an option value like
	  `--module=foobar`, `--module[=foobar]` or `--module foobar`.
          Patch by Martin Liska.

* #10881: autosectionlabel: Record the generated section label to the
	  debug log.

* #10268: Correctly URI-escape image filenames.

* #10887: domains: Allow sections in all the content of all object
	  description directives (e.g. py:function). Patch by Adam
          Turner

(From OE-Core rev: 35d65248c2a46f4966ded2e95e530f25a2869ce9)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:47 +00:00
Tim Orling
9d70cb39fb python3-zipp: upgrade 3.9.0 -> 3.10.0
https://github.com/jaraco/zipp/blob/main/CHANGES.rst#v3100

v3.10.0

* zipp is now a package.

https://github.com/jaraco/zipp/blob/main/CHANGES.rst#v391

v3.9.1

* Removed 'print' expression in test_pickle.
* bpo-43651: Apply io.text_encoding on Python 3.10 and later.

(From OE-Core rev: c28d3f1ccdc074805cf0d9e673bfbe999f8fcf71)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:47 +00:00
Tim Orling
9e108095c4 python3-pytz: upgrade 2022.4 -> 2022.6
https://launchpad.net/pytz/+announcement/30743

pytz 2022.6, containing the 2022f IANA database, has been released.
There are no code changes.

https://launchpad.net/pytz/+announcement/30736

pytz 2022.5 has been released containing the IANA 2022e database
release. There are no code changes.

(From OE-Core rev: b78ce30f0fcd5702f79a14bbc0c33f6492d81ecd)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Tim Orling
57522528c0 python3-more-itertools: upgrade 8.14.0 -> 9.0.0
https://github.com/more-itertools/more-itertools/blob/master/docs/versions.rst#900

9.0.0

* Potentially breaking changes
  - `grouper` no longer accepts an integer as its first
    argument. Previously this raised a DeprecationWarning.
  - `collate` has been removed. Use the built-in
    `heapq.merge` instead.
  - `windowed` now yields nothing when its iterable is
     empty.

* This library now advertises support for Python 3.7+.

* New functions
  - `constrained_batches`
  - `batched` (from the Python itertools docs)
  - `polynomial_from_roots` (from the Python itertools
     docs)
  -`sieve` (from the Python itertools docs)

* Other changes
  - Some documentation issues were fixed (thanks to nanouasyn)

(From OE-Core rev: f31ea2784428114acae33522a80208aa35d133bc)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Tim Orling
5edbb3a525 python3-hypothesis: upgrade 6.56.1 -> 6.56.4
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-56-4

6.56.4 - 2022-10-28

* This patch updates some docs, and depends on exceptiongroup 1.0.0 final
  to avoid a bug in the previous version.

6.56.3 - 2022-10-17

* This patch teaches text() to rewrite a few more filter predicates (issue
  #3134). You’re unlikely to notice any change.

6.56.2 - 2022-10-10

* This patch updates our vendored list of top-level domains, which is used
  by the provisional domains() strategy, and fixes some incorrect examples
  in the docs for mutually_broadcastable_shapes().

(From OE-Core rev: 1071b68375819d9faa607ae1179720500157d932)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Tim Orling
7254fe39ca python3-pytest-subtests: upgrade 0.8.0 -> 0.9.0
https://github.com/pytest-dev/pytest-subtests/blob/main/CHANGELOG.rst#090-2022-10-28

0.9.0 (2022-10-28)

* Python 3.11 is officially supported.
* Dropped support for Python 3.6.

(From OE-Core rev: 30f77f222f4929a7bf1eac34d4b3912167db4316)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Tim Orling
cd17a8ac97 python3-pytest: upgrade 7.1.3 -> 7.2.0
https://docs.pytest.org/en/stable/changelog.html#pytest-7-2-0-2022-10-23

Excerpt from upstream release notes:

Deprecations

* #10012: Update pytest.PytestUnhandledCoroutineWarning to a
	  deprecation; it will raise an error in pytest 8.

* #10396: pytest no longer depends on the py library. pytest provides
	  a vendored copy of py.error and py.path modules but will use
          the py library if it is installed. If you need other py.* modules,
          continue to install the deprecated py library separately, otherwise it
          can usually be removed as a dependency.

* #4562: Deprecate configuring hook specs/impls using
	 attributes/marks.

         Instead use pytest.hookimpl() and pytest.hookspec(). For more
         details, see the docs.

* #9886: The functionality for running tests written for nose has been
	 officially deprecated.

        This includes:

        Plain setup and teardown functions and methods: this might catch
        users by surprise, as setup() and teardown() are not pytest idioms, but
        part of the nose support.

        Setup/teardown using the @with_setup decorator.

        For more details, consult the deprecation docs.

(From OE-Core rev: 8ae3b896b0e1a77bcbd5b98b4b983e4f34746a94)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Tim Orling
a329369174 python3-psutil: upgrade 5.9.2 -> 5.9.3
https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#593

2022-10-18

Enhancements

* 2040, [macOS]: provide wheels for arm64 architecture. (patch by
  Matthieu Darbois)

Bug fixes

* 2116, [macOS], [critical]: `psutil.net_connections`_ fails with
  RuntimeError.
* 2135, [macOS]: Process.environ() may contain garbage data. Fix
  out-of-bounds read around sysctl_procargs. (patch by Bernhard
  Urban-Forster)
* 2138, [Linux], [critical]: can't compile psutil on Android due to
  undefined ethtool_cmd_speed symbol.
* 2142, [POSIX]: net_if_stats() 's flags on Python 2 returned unicode
  instead of str. (patch by Matthieu Darbois)
* 2147, [macOS] Fix disk usage report on macOS 12+. (patch by Matthieu
  Darbois)
* 2150, [Linux] Process.threads() may raise NoSuchProcess. Fix race
  condition. (patch by Daniel Li)
* 2153, [macOS] Fix race condition in
  test_posix.TestProcess.test_cmdline. (patch by Matthieu Darbois)

(From OE-Core rev: 893fc6a99f1ad3417fec43eb9b7fdb641e7d1e6d)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Tim Orling
716981822b python3-cryptography{-vectors}: 38.0.1 -> 38.0.3
38.0.3 - 2022-11-01

* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL
  3.0.7, which resolves CVE-2022-3602 and CVE-2022-3786.

38.0.2 - 2022-10-11 (YANKED)

Attention!

This release was subsequently yanked from PyPI due to a regression in
OpenSSL.

* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL
  3.0.6.

https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#3803---2022-11-01

(From OE-Core rev: 3c0c03312724de85e3209e6e5a5aa20c094eae45)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Tim Orling
74063b89c2 python3-bcrypt: upgrade 4.0.0 -> 4.0.1
* Refresh python3-bcrypt-crates.inc

Upstream release notes[1]:

* We now build PyPy manylinux wheels.
* Fixed a bug where passing an invalid salt to checkpw could result in
  a pyo3_runtime.PanicException. It now correctly raises a ValueError.

[1] https://github.com/pyca/bcrypt/#401

(From OE-Core rev: 509a684b748af92e0b657433da85550de72ecbe0)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Tim Orling
0a97cbba10 python3-mako: upgrade 1.2.2 -> 1.2.3
Released: Thu Sep 22 2022
* bug

 - [bug] [lexer]

   * Fixed issue in lexer in the same category as that of #366 where the regexp
     used to match an end tag didn’t correctly organize for matching characters
     surrounded by whitespace, leading to high memory / interpreter hang if a
     closing tag incorrectly had a large amount of unterminated space in it.
     Credit to Sebastian Chnelik for locating the issue.

    As Mako templates inherently render and directly invoke arbitrary Python
    code from the template source, it is never appropriate to create templates
    that contain untrusted input.

    References: #367

[1] https://docs.makotemplates.org/en/latest/changelog.html#change-1.2.3
[2] https://github.com/sqlalchemy/mako/issues/366
[3] https://github.com/sqlalchemy/mako/issues/367

(From OE-Core rev: 49ad6f031458e1f48f24547dc88e41abc4ec41a6)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-02 09:21:29 +00:00
Alexander Kanavin
d892f4f385 python3-cryptography: convert to cargo-update-recipe-crates class
This allows semi-automated updates to the list of crates, which
is far too awkward to maintain by hand, particularly on version updates.

(From OE-Core rev: 1071e2fdd23271bf5df60712263838fe70276c67)

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>
2022-11-01 17:34:58 +00:00
Alexander Kanavin
756e28d6c7 python3-bcrypt: convert to use cargo-update-recipe-crates class.
The component has been reimplemented in rust, and comes
with a large list of dependencies in Cargo.toml/Cargo.lock.

Rather than list them by hand, use a file generated with
cargo-update-recipe-crates class.

(From OE-Core rev: f1ebc71d9c35ba3ff58851efe2fae4e193f481f1)

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>
2022-11-01 17:34:58 +00:00
Alexander Kanavin
b06633b6ae python3: update 3.10.6 -> 3.11.0
The semaphore fix has landed and is available from 3.11 onwards:
1ee0f94d16

Drop 0001-Mitigate-the-race-condition-in-testSockName.patch
as it is merged upstream.

(From OE-Core rev: f10cdc155e47af5627ee999c57e1d083f9382a91)

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>
2022-10-29 16:28:36 +01:00