Commit Graph

2288 Commits

Author SHA1 Message Date
Trevor Gamblin
5da7e1b38a python3: upgrade 3.12.3 -> 3.12.4
This release contains numerous security updates and fixes to
regressions. Changelog:

https://docs.python.org/release/3.12.4/whatsnew/changelog.html#python-3-12-4-final

Results of ptests in core-image-ptest-python3 (qemux86-64):

== Tests result: SUCCESS ==

26 tests skipped:
    test.test_asyncio.test_windows_events
    test.test_asyncio.test_windows_utils test.test_gdb.test_backtrace
    test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full
    test.test_gdb.test_misc test.test_gdb.test_pretty_print
    test_asdl_parser test_clinic test_devpoll test_idle test_ioctl
    test_kqueue test_launcher test_msilib test_startfile test_tcl
    test_tix test_tkinter test_ttk test_ttk_textonly test_turtle
    test_winapi test_winconsoleio test_winreg test_wmi

9 tests skipped (resource denied):
    test_curses test_ossaudiodev test_smtpnet test_socketserver
    test_urllib2net test_urllibnet test_winsound test_xmlrpc_net
    test_zipfile64

454 tests OK.

Total duration: 2 min 45 sec
Total tests: run=41,470 skipped=1,548
Total test files: run=480/489 skipped=26 resource_denied=9
Result: SUCCESS
DURATION: 165
END: /usr/lib/python3/ptest
2024-06-10T17:03
STOP: ptest-runner
TOTAL: 1 FAIL: 0

(From OE-Core rev: 621b0298e1829a86002ebb57d99850907e775b43)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 012aeee398af4d4cce4012f71007cfb31266dd6c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:34 -07:00
Trevor Gamblin
c4a4246f79 python3: skip test_concurrent_futures/test_shutdown
These tests are causing hangs on the Autobuilder, so disable them for
now.

(From OE-Core rev: e3b4a05f19e3ba8f84b5d892b787e67bef565e48)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-09 04:45:06 -07:00
Trevor Gamblin
6cbe62a0ce python3: upgrade 3.12.2 -> 3.12.3
Remove the following patch:

0001-gh-115133-Fix-tests-for-XMLPullParser-with-Expat-2.6.patch

Which a different fix was submitted for in:

c4fa79b924 [3.12] gh-115133: Fix tests for XMLPullParser with Expat 2.6.0 (GH-115164) (GH-115288)
See: https://github.com/python/cpython/pull/115288
(related to CVE-2023-52425)

Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-12-3-final

(From OE-Core rev: 4122d8f6ecf6957de7a34fc51beffcd8e808911f)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-14 06:28:02 +01:00
Richard Purdie
b947ea3749 python3-testtools: Fix build problems from incorrect build backend
testtools uses the hatchling backend so:
  * merge the inc back into the recipe
  * drop setuptools
  * use the hatchling backend
  * add the needed vcs dependency
  * drop the now unneeded python3-pbr dependency

This means the submodules are included in packaging, fixing build failures
and the verison in the wheel is no longer 0.0.0

Prior to this fix, testtools in buildtools tarball was completely
broken.

(From OE-Core rev: fe46107e6bf4880d97f03b5e55d722d64f922889)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-14 06:28:02 +01:00
Richard Purdie
78b962d5a9 python3-websockets: Import from meta-python
For the newer hash equivlance servers we need websockets. Import it
from meta-oe so we can easily include it in buildtools tarball.

(From OE-Core rev: c61ed007b9e06683065aed62af1e1ca4569b8c16)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-14 06:28:02 +01:00
Justin Bronder
fc8f6f44ce python3-referencing: drop ${PYTHON_PN}
python 2 is gone and we don't need the abstraction now, drop the
remaining usage of this variable.

(From OE-Core rev: f64078dd67b2d4db26edea5992f649161e7fee2f)

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-13 14:39:07 +01:00
Justin Bronder
561c291776 python3-jsonschema-specifications: drop ${PYTHON_PN}
python 2 is gone and we don't need the abstraction now, drop the
remaining usage of this variable.

(From OE-Core rev: 51c6501e7b255f3a699fea3b787abe1a5d8231dd)

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-13 14:39:07 +01:00
Ross Burton
f111c2a120 python-*: don't set PYPI_ARCHIVE_NAME and S when PYPI_PACKAGE is sufficient
There's no need to explicitly set PYPI_ARCHIVE_NAME and S when
PYPI_PACKAGE is set correctly.

(From OE-Core rev: e757a0595602dafcd95a988fb123a8fdb3d4d82b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-22 16:27:48 +00:00
Alejandro Hernandez Samaniego
ab02ac1b27 python3-manifest: Sync RDEPENDS with latest version
bitbake python3 -c create_manifest revealed several changes that were missing.

This commit contains a manual cherry-picked version of those, making sure that
new RDEPENDS are reflected since the last time this was updated.

In this case its taking out unnecessary dependencies to python3-profile and
python3-shell.

(From OE-Core rev: 692013b9aa5106561afb4c6506661bab41d88461)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-22 16:25:08 +00:00
Alexander Kanavin
2d606350c7 python3: correct upstream version check
This only needs removal of the custom setting (which no longer produces a webpage suitable for parsing the version out),
as the default SRC_URI is 'tarballs in versioned directoroies' setup, which the version checker is able to handle.

(From OE-Core rev: d9fa89180fe497ce67493b8dec8452d87c05ccba)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:20:38 +00:00
Alexander Kanavin
8479b1d2f9 python3-wcwidth: upgrade 0.2.12 -> 0.2.13
(From OE-Core rev: 800f18b387463a96f3e0642a06f7c4ff5fe85da9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07 17:25:03 +00:00
Alexander Kanavin
51460be41f python3-setuptools: upgrade 69.0.3 -> 69.1.1
(From OE-Core rev: a953d88346d4ee93b5669c079586ae27d71552dc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07 17:25:02 +00:00
Alexander Kanavin
8fda67f557 python3-ruamel-yaml: upgrade 0.17.35 -> 0.18.6
License-Update: copyright years

(From OE-Core rev: bc997c790cd2ccdfce8bf21021be6abe008ba46b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07 17:25:02 +00:00
Alexander Kanavin
18c5cba3ad python3-jsonschema: upgrade 4.17.3 -> 4.21.1 and add new dependencies
(From OE-Core rev: 61401c6c82b4e717fcec3810dd9ee5ee61292696)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07 17:25:02 +00:00
Alexander Kanavin
316f1fc852 python3-dtschema: upgrade 2023.7 -> 2024.2
(From OE-Core rev: 612be0f227d1d016ea05c78facae2fe0d08e8081)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07 17:25:02 +00:00
Alexander Kanavin
f2856c715c python3-build: upgrade 1.0.3 -> 1.1.1
(From OE-Core rev: 8b4703d0a1866053979dd1500a7d6d8d3d6b853a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07 17:25:02 +00:00
Alexander Kanavin
e65840bdd5 python3-sphinxcontrib-jquery: add a recipe and make python3-sphinx-rtd-theme depend on it
It's a hard dependency of recent python3-sphinx-rtd-theme
versions:
4d6de11137

The issue is exposed by latest btrfs-tools update.

(From OE-Core rev: 7a3d074f2d1679b4d4e52c4a023edb46224ca0be)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07 17:25:02 +00:00
Robert P. J. Day
d827eec21c python3-cryptography_42.0.5.bb: delete redundant ptest packaging
Since FILES:${PN}-ptest is already defined to include the contents of
${PTEST_PATH}, adding such an entry to the package is superfluous.

(From OE-Core rev: 61949efcdb496b27d03f89ccde3d16c8cf4a56d5)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-05 12:24:49 +00:00
Tim Orling
4f1c141ceb python3-hypothesis: upgrade 6.98.12 -> 6.98.15
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-98-15
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-98-14
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-98-13

6.98.15 - 2024-02-29
* This release adds support for the Array API’s 2023.12 release via the
  api_version argument in make_strategies_namespace(). The API additions
  and modifications in the 2023.12 spec do not necessitate any changes in
  the Hypothesis strategies, hence there is no distinction between a
  2022.12 and 2023.12 strategies namespace.

6.98.14 - 2024-02-29
* This patch adjusts the printing of bundle values to correspond with
  their names when using stateful testing.

6.98.13 - 2024-02-27
* This patch implements filter-rewriting for text() and binary() with
  the search(), match(), or fullmatch() method of a re.compile()d regex.

(From OE-Core rev: 18ac6584ed92c0ff037076c9977b68dae5fddb44)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-05 12:24:49 +00:00
Tim Orling
25d60ac6f6 python3-attrs: disable Hypothesis deadline
The deadline is by default 200ms, but this is intended to be useful to
the developer and not necessarily recommended for heavily loaded CI
systems. Avoid warnings by disabling the deadline completely.

https://github.com/HypothesisWorks/hypothesis/issues/3713
https://hypothesis.readthedocs.io/en/latest/settings.html#hypothesis.settings.deadline
https://lists.openembedded.org/g/openembedded-core/topic/104640034#196437
https://github.com/python-attrs/attrs/pull/1252

Fixes:
"""
Unreliable test timings! On an initial run, this test took 268.29ms,
which exceeded the deadline of 200.00ms, but on a subsequent run it
took 2.63 ms, which did not. If you expect this sort of variability in
your test timings, consider turning deadlines off for this test by
setting deadline=None.
"""

[YOCTO #15350]

(From OE-Core rev: f6064e573b68104d57565c57bfe43f0d708a14f6)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-01 09:32:13 +00:00
Wang Mingyu
c394463bc7 python3-yamllint: upgrade 1.33.0 -> 1.35.1
Changelog:
============
-Restore ignoration of files passed as command-line arguments
-Fix failure on broken symlinks that should be ignored
-Docs: Restore official Read the Docs theme
-Config: validate ignore-from-file inside rules
-Rule quoted-strings: fix only-when-needed in flow maps and sequences
-Rule key-duplicates: add forbid-duplicated-merge-keys option
-Rule quoted-strings: add check-keys option
-Docs: add GitLab CI example
-Rule truthy: adapt forbidden values based on YAML version

(From OE-Core rev: dc3f5c4e04c3eafd23a3188deaf6fb170d2969c5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-01 09:28:52 +00:00
Wang Mingyu
114c0a6c37 python3-urllib3: upgrade 2.1.0 -> 2.2.1
Changelog:
===========
-Fixed issue where "InsecureRequestWarning" was emitted for HTTPS connections
 when using Emscripten.
-Fixed "HTTPConnectionPool.urlopen" to stop automatically casting non-proxy
 headers to "HTTPHeaderDict".
-Changed "InvalidChunkLength" to "ProtocolError" when response terminates
 before the chunk length is sent.
-Changed "ProtocolError" to be more verbose on incomplete reads with excess
 content.
-Added support for 'Emscripten and Pyodide
-Added support for "HTTPResponse.read1()" method.
-Added rudimentary support for HTTP/2.
-Fixed issue where requests against urls with trailing dots were failing due to
 SSL errors when using proxy.
-Fixed "HTTPConnection.proxy_is_verified" and
 "HTTPSConnection.proxy_is_verified" to be always set to a boolean after
 connecting to a proxy. It could be "None" in some cases previously.
-Fixed an issue where "headers" passed in a request with "json=" would be
 mutated
-Fixed "HTTPSConnection.is_verified" to be set to "False" when connecting
 from a HTTPS proxy to an HTTP target. It was set to "True" previously.
-Fixed handling of new error message from OpenSSL 3.2.0 when configuring an
 HTTP proxy as HTTPS
-Fixed TLS 1.3 post-handshake auth when the server certificate validation is
 disabled
-Note for downstream distributors: To run integration tests, you now need to run
 the tests a second time with the "--integration" pytest flag.

(From OE-Core rev: c1968ceeddbad57bc86aaa23a705093c353d3bc9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-01 09:28:52 +00:00
Wang Mingyu
2aa2b6b987 python3: upgrade 3.12.1 -> 3.12.2
0001-Avoid-shebang-overflow-on-python-config.py.patch
0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch
0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch
0001-gh-114492-Initialize-struct-termios-before-calling-t.patch
0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch
0001-skip-no_stdout_fileno-test-due-to-load-variability.patch
0001-test_xml_etree.py-Fix-for-Expat-2.6.0-with-reparse-d.patch
0020-configure.ac-setup.py-do-not-add-a-c
refreshed for 3.12.2

Changelog:
 https://docs.python.org/3.12/whatsnew/3.12.html

(From OE-Core rev: 288bdc342035f18451509b6c27e3b88b546dc984)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-01 09:28:52 +00:00
Wang Mingyu
df8f6f4978 python3-typing-extensions: upgrade 4.9.0 -> 4.10.0
Changelog:
============
-Add support for PEP 728, supporting the closed keyword argument and the special
 __extra_items__ key for TypedDict.
-Add support for PEP 742, adding typing_extensions.TypeIs.
-Drop runtime error when a read-only TypedDict item overrides a mutable one.
 Type checkers should still flag this as an error.
-Speedup issubclass() checks against simple runtime-checkable protocols by
 around 6% (backporting python/cpython#112717
-Fix a regression in the implementation of protocols where typing.Protocol
 classes that were not marked as @runtime_checkable would be unnecessarily
 introspected, potentially causing exceptions to be raised if the protocol had
 problematic members.

(From OE-Core rev: 91dd6f2878bcdbb6f9ba65927f6c6f981b0b3f1a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-01 09:28:52 +00:00
Wang Mingyu
a00cd89f21 python3-trove-classifiers: upgrade 2024.1.8 -> 2024.2.23
Changelog:
==========
*Add classifier: 'License :: OSI Approved :: Educational Community License'
*PR for Issue #170
*fix spurious line
*Update src/trove_classifiers/__init__.py

(From OE-Core rev: 0174e7c4d1f3d3a7458d357b0d7be63b5d748572)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-01 09:28:52 +00:00
Wang Mingyu
c002b02b93 python3-setuptools-rust: upgrade 1.8.1 -> 1.9.0
Changelog:
-Deprecate py_limited_api option to RustExtension in favour of always using
 "auto" to configure this from bdist_wheel.

(From OE-Core rev: 2ba36c4ebfc223111c055a6b521b7a2b9981b368)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-01 09:28:52 +00:00
Wang Mingyu
376dc30276 python3-pytz: upgrade 2023.4 -> 2024.1
(From OE-Core rev: 17b6104583bb6122ca051dcc004120c24b5579cf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-01 09:28:52 +00:00
Wang Mingyu
9a5c2f900e python3-pytest: upgrade 8.0.0 -> 8.0.2
Changelog:
============
-Fix collection on Windows where initial paths contain the short version
 of a path (for example c:\PROGRA~1\tests).
-Fix an IndexError crash raising from getstatementrange_ast.
-Reverted a fix to --maxfail handling in pytest 8.0.0 because it caused a
 regression in pytest-xdist whereby session fixture teardowns may get executed
 multiple times when the max-fails is reached.
-Correctly handle errors from getpass.getuser() in Python 3.13.
-Fix an edge case where ExceptionInfo._stringify_exception could crash
 pytest.raises().
-Fix regression with pytest.warns() using custom warning subclasses which
 have more than one parameter in their __init__.
-Fix a regression in pytest 8.0.0 whereby calling pytest.skip() and similar
 control-flow exceptions within a pytest.warns() block would get suppressed
 instead of propagating.
-Fix a regression in pytest 8.0.0 whereby autouse fixtures defined in a module
 get ignored by the doctests in the module.
-Fix a regression in pytest 8.0.0 whereby items would be collected in reverse
 order in some circumstances.

(From OE-Core rev: 0a6824bc920bebfa019641f8134cb287c8564bef)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-01 09:28:52 +00:00
Wang Mingyu
00c9cfd712 python3-pycairo: upgrade 1.25.1 -> 1.26.0
Changelog:
============
* Bump minimum required meson version from 0.56.0 to 0.64.0
* Various meson related cleanups
* Fix header file being installed to the wrong location with meson on some systems
* Adds a new "wheel" meson build option as preparation for meson-python support
* Update dependencies (libpng, pixman, zlib) of the Windows wheels
* Various maintenance related updates

(From OE-Core rev: 1b8054fb175b46f21807c124f55d1c807e2c814f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-01 09:28:52 +00:00
Wang Mingyu
f398ed7a3f python3-pip: upgrade 23.3.2 -> 24.0
no_shebang_mangling.patch
refreshed for 24.0

Changelog:
===========
-Retry on HTTP status code 502
-Automatically use the setuptools PEP 517 build backend when --config-settings
 is used for projects without pyproject.toml.
-Make pip freeze and pip uninstall of legacy editable installs of packages
 whose name contains _ compatible with setuptools>=69.0.3.
-Support per requirement --config-settings for editable installs.

(From OE-Core rev: 73040d2ed2a440d7497b448b8e81ee19bef5858b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-01 09:28:51 +00:00
Wang Mingyu
87283099cd python3-hypothesis: upgrade 6.97.3 -> 6.98.12
Changelog:
 https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: 755e27ebefb006e44e0f5dcce74d90d63f7e68f3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-01 09:28:51 +00:00
Wang Mingyu
89240c68c3 python3-dbusmock: upgrade 0.30.2 -> 0.31.1
Changelog:
==========
-power_profiles_daemon: Move back to original D-Bus name to avoid breaking compatibility
-Add upower_power_profiles_daemon template for version 0.20 API with new D-Bus name

(From OE-Core rev: 7967c57f305e47f93ba0b27724ff3a077f1cc0c9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-01 09:28:51 +00:00
Wang Mingyu
071b322b19 python3-certifi: upgrade 2023.11.17 -> 2024.2.2
(From OE-Core rev: d606655c7adef60a42ea346018d0e79c7c1832b5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-01 09:28:51 +00:00
Wang Mingyu
72208b8705 python3-beartype: upgrade 0.17.0 -> 0.17.2
(From OE-Core rev: cc8cacb07d4ae03661e4a67513e17504de9ff16c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-01 09:28:51 +00:00
Tim Orling
af7d65adfb python3-cryptography{-vectors}: upgrade to 42.0.5
* Includes an upgrade to pyo3 from 0.20.0 to 0.20.3 which fixes ppc64
* Refresh -crates.inc

https://cryptography.io/en/latest/changelog/#v42-0-5
https://cryptography.io/en/latest/changelog/#v42-0-4
https://cryptography.io/en/latest/changelog/#v42-0-3

42.0.5 - 2024-02-23
* Limit the number of name constraint checks that will be performed in
  X.509 path validation to protect against denial of service attacks.
* Upgrade pyo3 version, which fixes building on PowerPC.

42.0.4 - 2024-02-20
* Fixed a null-pointer-dereference and segfault that could occur when
  creating a PKCS#12 bundle. Credit to Alexander-Programming for
  reporting the issue. CVE-2024-26130
* Fixed ASN.1 encoding for PKCS7/SMIME signed messages. The fields
  SMIMECapabilities and SignatureAlgorithmIdentifier should now be
  correctly encoded according to the definitions in RFC 2633 RFC 3370.

42.0.3 - 2024-02-15
* Fixed an initialization issue that caused key loading failures for
  some users.

CVE: CVE-2024-26130
https://nvd.nist.gov/vuln/detail/CVE-2024-26130

(From OE-Core rev: 83dad4a93ff81c6c1e048443e0827d825670158b)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-29 10:26:13 +00:00
Nick Owens
90893b5e83 python3: dont disable readline module for editline
if we use editline, then the readline module must also be enabled for
python to build the readline module and link it against libedit.

(From OE-Core rev: e92d7dd55d16aa311a95c4e8bb4633e6ebb9900f)

Signed-off-by: Nick Owens <nick.owens@eero.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-29 10:26:13 +00:00
Khem Raj
78264a5c06 python3-maturin: Recognise riscv32 architecture
(From OE-Core rev: 728784e4df700af86d0f848142b0085813e49090)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-29 10:26:13 +00:00
Khem Raj
e5e6d6fe9a python3-bcrypt: Fix build break on arches without 64 bit atomics
bump pyo3 to 0.20.3, which brings the needed fixes for building for
architectures without 64bit atomics [1]

[1] https://github.com/pyca/bcrypt/pull/746

(From OE-Core rev: 33bd36308be828123a820c5eed2f1fa9e3a7c0f6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-29 10:26:13 +00:00
Trevor Gamblin
7bdf0d4869 python3-git: upgrade 3.1.41 -> 3.1.42
This release contains bugfixes, documentation updates, and changes to
metadata for build and CI.

Changelog: https://github.com/gitpython-developers/GitPython/releases/tag/3.1.42

(From OE-Core rev: b4dc9793f3196a774b19fbf4342ebcd42655d14e)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-29 10:26:13 +00:00
Tim Orling
c0a2e3a966 python3-meson-python: move from meta-python
meson-python is a Python build backend built on top of the Meson
build-system. It enables you to use Meson for your Python packages.

https://meson-python.readthedocs.io/en/latest/

It is used as the PEP-517 build-backend for python3-numpy and python3-scipy.

For other projects using the backend, see:
https://meson-python.readthedocs.io/en/latest/projects-using-meson-python.html

(From OE-Core rev: 57df1e3fd77a412fb7d585362a7263a4f847fe07)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-20 11:39:45 +00:00
Tim Orling
3e808c075f python3-pyproject-metadata: HOMEPAGE; DESCRIPTION
Add HOMEPAGE and DESCRIPTION that were missing in
the original recipe in meta-python

(From OE-Core rev: c29a906c510627c5f4598511c34de20230bb230d)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-20 11:39:45 +00:00
Tim Orling
03f3aa643a python3-pyproject-metadata: move from meta-python
This is a dependency for python3-meson-python.

(From OE-Core rev: b8c8d384b4622de7b5a4748e6e06665615674ba8)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-20 11:39:45 +00:00
Richard Purdie
0b33104a97 python: Drop ${PYTHON_PN}
python 2 is gone and we don't need the abstraction now, drop the remaining usage
of this variable.

The definition in python3-dir.bbclass is left for now for other layers.

(From OE-Core rev: b566b1e32c7993d1ab7795562f648e52ce186a70)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-20 11:39:45 +00:00
Tim Orling
3b9dbfb5c6 python3-attrs: skip test failing with pytest-8
tests/test_funcs.py test_unknown test case is failing with
pytest 8. Skip it for now until upstream has a fix.

https://github.com/python-attrs/attrs/issues/1233

(From OE-Core rev: 5af87eda524bb0affe207c006f67b4191f6ce746)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-17 18:19:19 +00:00
Wang Mingyu
327930552e python3-pytest: upgrade 7.4.4 -> 8.0.0
Changelog:
=============
#11842: Properly escape the reason of a skip mark when writing JUnit XML files.
#11861: Avoid microsecond exceeds 1_000_000 when using log-date-format with
 %f specifier, which might cause the test suite to crash.

(From OE-Core rev: a2dab7d231a235b668f639c0060362cb83ea68ab)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-17 18:19:19 +00:00
Tim Orling
f3a72a2862 python3-poetry-core: upgrade 1.8.1 -> 1.9.0
This version deprecates "poetry.core.masonry.builder", but we detect
"poetry.core.masonry.api" in recipetool and nothing has broken our
build of wheels.

Thanks to Ross for noticing that the
"from poetry.core.masonry.builders.wheel import WheelBuilder"
is not a massive change in practice.

Changes:

1.9.0 - 2024-02-02

Added
* Add a to key in tool.poetry.packages to allow custom subpackage names (#672).
* Add support for path dependencies that do not define a build system (#675).
* Add a tool.poetry.package-mode key to support non-package mode (#661).

Changed
* Update list of supported licenses (#659, #669, #678, #694).
* Improve support for PEP 691 JSON-based Simple API (#664).
* Establish zipapp compatibility (#670).
* Rework list of files included in build artifacts (#666).
* Improve performance by treating collections in packages as immutable (#663).
* Deprecate poetry.core.masonry.builder (#682).
* Deprecate scripts that depend on extras (#690).

Fixed
* Fix an issue where insignificant errors were printed if the working
  directory is not inside a git repository (#684).
* Fix an issue where the project's directory was not recognized as git
  repository on Windows due to an encoding issue (#685).

Vendoring
* fastjsonschema==2.19.1
* lark==1.1.8

https://github.com/python-poetry/poetry-core/blob/main/CHANGELOG.md#190---2024-02-02

(From OE-Core rev: 651fc15e1403268aca19bd1453b3796d1effa559)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-16 15:14:26 +00:00
Ross Burton
0d12162071 python3-unittest-automake-output: upgrade to 0.2
Specifically this fixes the issue where if a pytest test suite fails
during collection then the errors are hidden.

(From OE-Core rev: db0e82135ce73d0d6d55b2c2ac17a3fdec8aca99)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-15 09:18:09 +00:00
Ross Burton
54f660a5f6 python3: move dataclasses to python3-core
For some reason dataclasses was being packaged in the -profile subpackage,
which doesn't make sense as this is a core piece of the runtime support.

(From OE-Core rev: bc17d33b30a6d5d970f390becf726e852fd0cc16)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-15 09:18:09 +00:00
Tim Orling
a332f47bdb python3-cryptography: upgrade 41.0.7 to 42.0.2
* Also upgrade python3-cryptography-vectors
* Drop patch for 9129, fixed upstream
* Refresh pyproject.toml --benchmark-disable patch
* Refresh -crates.inc

Changes:
https://cryptography.io/en/latest/changelog/#v42-0-2
https://cryptography.io/en/latest/changelog/#v42-0-1
https://cryptography.io/en/latest/changelog/#v42-0-0
https://github.com/pyca/cryptography/compare/41.0.7...42.0.2

RP: Add new REPENDS on python3-mmap for ptest
RP: Increase memory in ptest image to avoid test failures

(From OE-Core rev: 45ee8ae2f6173a11e6d004c8eeba138073b84d18)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-15 09:18:09 +00:00
Wang Mingyu
5007bd98ce python3-pytz: upgrade 2023.3 -> 2023.4
(From OE-Core rev: 74ccdbd29e967192d57e9eb05a0f5b4e1d78a50a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-14 13:53:36 +00:00