Commit Graph

2194 Commits

Author SHA1 Message Date
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
Wang Mingyu
b02c9ed25d python3-pyopenssl: upgrade 23.3.0 -> 24.0.0
Changelog:
-Added OpenSSL.SSL.Connection.get_selected_srtp_profile to determine which SRTP
 profile was negotiated.

(From OE-Core rev: fc93e8cfe0dde7dd17bd55bccc8a64011b26f1b1)

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
Wang Mingyu
913d2891bc python3-psutil: upgrade 5.9.7 -> 5.9.8
(From OE-Core rev: f8968579816453c8bd4af819e93f5ad210da0305)

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
Wang Mingyu
b4265fa163 python3-pluggy: upgrade 1.3.0 -> 1.4.0
Changelog:
============
-A warning :class:'~pluggy.PluggyTeardownRaisedWarning' is now issued when an
 old-style hookwrapper raises an exception during teardown. See the warning
 documentation for more details.
-Add :func:'PluginManager.unblock <pluggy.PluginManager.unblock>' method to
 unblock a plugin by plugin name.
-Fix :func:'~pluggy.HookCaller.call_extra()' extra methods getting ordered
 before everything else in some circumstances. Regressed in pluggy 1.1.0.
-Fix plugins registering other plugins in a hook when the other plugins
 implement the same hook itself. Regressed in pluggy 1.1.0.

(From OE-Core rev: 1bc326d5228e90bd3cd19d7f3f10b2f74a39d06e)

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
Wang Mingyu
92d3e56e26 python3-hypothesis: upgrade 6.92.9 -> 6.97.3
Changelog:
 https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: 4fd3ee9e8504af687c966e85c944854c509e4cc7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-14 13:53:35 +00:00
Wang Mingyu
c60748947c python3-hatchling: upgrade 1.21.0 -> 1.21.1
Changelog:
 Fix loading of local plugins to account for newly released versions of a dependency

(From OE-Core rev: f372bcf6d530bb0627fe2ed49e52e7ae279bf77f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-14 13:53:35 +00:00
Wang Mingyu
43161365c5 python3-mako: upgrade 1.3.0 -> 1.3.2
Bugfix:
---------
Fixed parsing issue where attempting to render a single percent sign %
using an escaped percent %% would not function correctly if the escaped
percent were not the first character on a line.

License-Update: Copyright year updated to 2024.

(From OE-Core rev: 6cc0e19da1259b4461e6b9c7014ab041b9d60fa4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-14 13:53:35 +00:00
Wang Mingyu
6daa62c124 python3-beartype: upgrade 0.16.4 -> 0.17.0
License-Update: Copyright year updated to 2024.

(From OE-Core rev: 3752a33ce9490d8fc9d59a0e952faa47c0abba71)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-14 13:53:35 +00:00
Wang Mingyu
900dc520ca python3-sphinxcontrib-serializinghtml: upgrade 1.1.9 -> 1.1.10
(From OE-Core rev: 5de0d7b3342bd8ba700966396a0be4e3ff4a2348)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-13 13:51:41 +00:00
Wang Mingyu
c84590f0b0 python3-sphinxcontrib-qthelp: upgrade 1.0.6 -> 1.0.7
(From OE-Core rev: 7c9606bd80e7ea405c931af0059a4d920caa6e3c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-13 13:51:41 +00:00
Wang Mingyu
484f3c295e python3-sphinxcontrib-htmlhelp: upgrade 2.0.4 -> 2.0.5
(From OE-Core rev: a47a29cafd2c36aa905682bc0c6d5491ecba93c4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-13 13:51:41 +00:00
Wang Mingyu
0f8aa8c5f8 python3-sphinxcontrib-devhelp: upgrade 1.0.5 -> 1.0.6
(From OE-Core rev: 16fc314aa345a4726fefe322548466d5bc5a5ab4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-13 13:51:41 +00:00
Wang Mingyu
cceb802102 python3-sphinxcontrib-applehelp: upgrade 1.0.7 -> 1.0.8
Changelog:
===========
-  Remove Sphinx as a required dependency, as circular dependencies may cause
  failure with package managers that expect a directed acyclic graph (DAG)
  of dependencies.

(From OE-Core rev: d82e4f1f571e90adc2290eb819f4c8b6ebaa3d1a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-13 13:51:41 +00:00
Tim Orling
38657590e7 python3-pyyaml: enable ptest
Upstream is in the process of migrating testing to pytest, backport
test_dump_load.py (the legacy_tests were throwing Errors and Failures).
We don't really need to run upstream's test suite, but we do need to verify
that our runtime is functional.

a98fd6088e

(From OE-Core rev: b0fdf0688109ba6b87840a0837bebee3d9a27089)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-10 14:13:24 +00:00
Tim Orling
21be9d1a4b python3-pyyaml: add PACKAGECONFIG for libyaml
For some time now, we have probably been susceptible to host contamination
or at least non-deterministic behavior when libyaml was available in the
build environment.

The symptom is:
ERROR: python3-pyyaml-6.0-r0 do_package_qa: QA Issue:
/usr/lib/python3.11/site-packages/yaml/_yaml.cpython-311-aarch64-linux-gnu.so
contained in package python3-pyyaml requires libyaml-0.so.2()(64bit), but no
providers found in RDEPENDS:python3-pyyaml? [file-rdeps]

>From the documentation:
"""
By default, the setup.py script checks whether LibYAML is installed and
if so, builds and installs LibYAML bindings. To skip the check and force
installation of LibYAML bindings, use the option --with-libyaml:
python setup.py --with-libyaml install

To disable the check and skip building and installing LibYAML bindings,
use --without-libyaml:
python setup.py --without-libyaml install
"""

Instead of leaving this to chance, add PACKAGECONFIG and by default build
with the faster libyaml bindings.

(From OE-Core rev: dfde9526f9183907b2bc47fde4f59ab3a5848d90)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-10 14:13:24 +00:00
Trevor Gamblin
3296f9a13d python3-numpy: upgrade 1.26.3 -> 1.26.4
Changelog: https://github.com/numpy/numpy/releases/tag/v1.26.4

Upgrade to pull in a variety of bug fixes.

The same number of ptests (6) fail as in 1.26.3, so no regression there.

(From OE-Core rev: 0314d2b43701984b5648bce9ca9aaeba5f768b78)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-09 13:55:06 +00:00
Khem Raj
277e65c3c8 python3: Fix ptests with expat 2.6+
(From OE-Core rev: a19af24fc910bbfc39c863e3252770aa9975de5b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08 23:14:51 +00:00
Richard Purdie
3fda807ab0 python3-markupsafe: Switch to python_setuptools_build_meta
Move away from the outdated setuptools to more modern build
classes.

(From OE-Core rev: dd0de1f1dcbbc389ceb1a032c393e5148e01ad98)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:06:10 +00:00
Richard Purdie
f1921727d8 python3-markupsafe: upgrade 2.1.3 -> 2.1.5
Note that 2.1.4 broke python3-jinja2 so skip to 2.1.5 which doesn't.

(From OE-Core rev: 697a249f27d16adeeee074d0baad83ad67c7a9e6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:06:10 +00:00
Konrad Weihmann
dddc7cf041 python3-yamllint: add missing dependency
yamllint requires pathspec module to be available

(From OE-Core rev: 59a89493f4b1f450139956f872d606829499b79d)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-30 15:15:54 +00:00
Khem Raj
cda5907daf python3: Initialize struct termios before calling tcgetattr()
Fixes ptest failures on python 3.12

    Failed ptests:
    {'python3': ['test_tcgetattr',
                 'test_cfmakeraw',
                 'test_setcbreak',
                 'test_setraw',
                 'python3']}

(From OE-Core rev: 515e7cf61c4ce5f6d572562ec851f01dade5cca0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-27 08:20:03 +00:00
Ola x Nilsson
fd0980f74f python3-numpy: Use Large File Support version of fallocate
This was supposed to always be the case from upstream but was exposed
by the 64-bit-time QA checker when file function scanning was enabled.

(From OE-Core rev: 3d556e59f658ac29615fb7a14b6ea48533122ff6)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-27 08:20:02 +00:00
Ryan Eatmon
aead8a77d3 python3-yamllint: Add recipe
Add recipe for yamllint.  There is an upcoming change in u-boot where
the binman tool is now configured to call yamllint to verify the configs
during compile time.

There was a previous patch a year ago from Trevor Woerner that never
made it into oe-core.  This patch is a reworking of his patch but
pointing to a newer version.

(From OE-Core rev: 128cfc5222752a6337a9cbb9bc9023c13ee19f2f)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-26 16:06:29 +00:00
Richard Purdie
754d0c606e python3-subunit: Add missing module dependency
In version 1.4.3:
* Subunit now has a dependency on an external iso8601
  module rather than shipping its own.

so add the missing dependency.

(From OE-Core rev: 14ee3e1240524e08adc1a3327dfb52dee6e64fd2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-24 15:46:19 +00:00
Wang Mingyu
fca323ecb1 python3-subunit: upgrade 1.4.2 -> 1.4.4
License-Update:
 change License file to COPYING.
 add BSD-3-Clause to LICENSE

Changelog:
===========
* Removed use of deprecated "utc" and "utcfromtimestamp"
  methods of "datetime.datetime".
* Fix an issue with date parsing exception handling
* Add support for Python 3.12

(From OE-Core rev: b55ef76eb60fc5265ccada0c6cf91f6b9c9bfe05)

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>
2024-01-21 12:27:12 +00:00
Wang Mingyu
e821ae4fae python3-trove-classifiers: upgrade 2023.11.29 -> 2024.1.8
Changelog:
===========
* Added CAN classifiers
* fixed CAN classifier order

(From OE-Core rev: 4c6a9390b86951a269e85d70a2930650633228ee)

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>
2024-01-19 12:21:23 +00:00
Wang Mingyu
264ea53581 python3-pycryptodomex: upgrade 3.19.1 -> 3.20.0
Changelog:
===========
-Added support for TurboSHAKE128 and TurboSHAKE256.
-Added method Crypto.Hash.new() to generate a hash object given a hash name.
-Added support for AES-GCM encryption of PBES2 and PKCS#8 containers.
-Added support for SHA-2 and SHA-3 algorithms in PBKDF2 when creating PBES2
 and PKCS#8 containers.
-Export of RSA keys accepts the prot_params dictionary as parameter to control
 the number of iterations for PBKDF2 and scrypt.
-C unit tests also run on non-x86 architectures.
-GH#787: Fixed autodetect logic for GCC 14 in combination with LTO.

(From OE-Core rev: d4cc93966eece06ed4b146922d244104cb7e15da)

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>
2024-01-19 12:21:23 +00:00
Wang Mingyu
28ccef7f44 python3-pycryptodome: upgrade 3.19.1 -> 3.20.0
Changelog:
===========
-Added support for TurboSHAKE128 and TurboSHAKE256.
-Added method Crypto.Hash.new() to generate a hash object given a hash name.
-Added support for AES-GCM encryption of PBES2 and PKCS#8 containers.
-Added support for SHA-2 and SHA-3 algorithms in PBKDF2 when creating PBES2
 and PKCS#8 containers.
-Export of RSA keys accepts the prot_params dictionary as parameter to control
 the number of iterations for PBKDF2 and scrypt.
-C unit tests also run on non-x86 architectures.
-GH#787: Fixed autodetect logic for GCC 14 in combination with LTO.

(From OE-Core rev: 9a492197348e1976097454bddbd7750390082d49)

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>
2024-01-19 12:21:23 +00:00
Wang Mingyu
687304d731 python3-more-itertools: upgrade 10.1.0 -> 10.2.0
Changelog:
===========
-factor, iter_index, sieve, and unique_justseen were updated to match the
 itertools docs
-first was was optimized
-takewhile_inclusive was was refactored
-combination_with_replacement_index was was optimized
-nth_permutation, nth_combination_with_replacement, combination_index, and
 combination_with_replacement_index were optimized
-batched now accepts a strict argument
-time_limited was improved for Windows
-Several typing updates were made
-Some documentation issues were fixed

(From OE-Core rev: 3149449f8ba33204ac311f2d915922e62e481330)

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>
2024-01-19 12:21:23 +00:00
Wang Mingyu
e92131d371 python3-markdown: upgrade 3.5 -> 3.5.2
Changelog:
============
-Fix type annotations for convertFile - it accepts only bytes-based buffers.
 Also remove legacy checks from Python 2
-Remove legacy import needed only in Python 2
-Fix typo that left the attribute AdmonitionProcessor.content_indent unset
-Fix edge-case crash in InlineProcessor with AtomicString.
-Fix edge-case crash in codehilite with an empty code tag.
-Improve and expand type annotations in the code base.
-Fix handling of bogus comments

(From OE-Core rev: d4396cc50ed7d73323fdef46b84ef26ab2b6a15f)

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>
2024-01-19 12:21:23 +00:00
Wang Mingyu
46c3f92c80 python3-jinja2: upgrade 3.1.2 -> 3.1.3
Changelog:
==========
-Fix compiler error when checking if required blocks in parent templates are empty.
-xmlattr filter does not allow keys with spaces.
-Make error messages stemming from invalid nesting of {% trans %} blocks more helpful

(From OE-Core rev: 8a0524464583d69df7746253f5020c2c125a8e1f)

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>
2024-01-19 12:21:23 +00:00
Wang Mingyu
25787e7449 python3-hypothesis: upgrade 6.92.2 -> 6.92.9
Changelog:
 https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: 1a03e8dab7192195f63f03fab675d50cb04f6731)

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>
2024-01-19 12:21:23 +00:00
Wang Mingyu
b8d1f922a8 python3-git: upgrade 3.1.40 -> 3.1.41
Changelog:
 https://github.com/gitpython-developers/GitPython/releases/tag/3.1.41

(From OE-Core rev: 4c6db718193cad9cc61fbea396fa5997da4b7298)

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>
2024-01-19 12:21:23 +00:00
Wang Mingyu
6d76e1bd33 python3-cython: upgrade 3.0.7 -> 3.0.8
Changelog:
============
* Using "const" together with defined fused types could fail to compile.
* A "use after free" bug was fixed in parallel sections.
* Several types were not available as "cython.*" types in pure Python code.
* The generated code is now correct C89 again, removing some C++ style "//" comments
  and C99-style declaration-after-code code ordering.  This is still relevant for some
  ols C compilers, specifically ones that match old Python 2.7 installations.

(From OE-Core rev: bedd518a2a0c2e7085f92c79236b0c0983f3d653)

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>
2024-01-19 12:21:23 +00:00
Wang Mingyu
b682671cfb python3-numpy: upgrade 1.26.2 -> 1.26.3
0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch
refreshed for 1.26.3

Changelog:
 https://github.com/numpy/numpy/releases/tag/v1.26.3

(From OE-Core rev: 04d1c142274702726f8fc7afed7420d9e6f07ddd)

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>
2024-01-19 12:21:23 +00:00
Alexander Kanavin
78e30d940d python: update 3.11.5 -> 3.12.1
Drop distutils and smtpd modules from packaging, as both are gone in 3.12.

Rebase:
0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch
(drop setup.py chunk as the file is gone)

Drop patches:
0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch
(setup.py gone, lib/termcap not mentioned anywhere else)

0001-Don-t-search-system-for-headers-libraries.patch
(setup.py gone, usr/lib64 not mentioned anywhere else)

0001-Makefile-do-not-compile-.pyc-in-parallel.patch
(replaced with COMPILEALL_OPTS= in EXTRA_OEMAKE)

0001-setup.py-Do-not-detect-multiarch-paths-when-cross-co.patch
(setup.py gone, add_multiarch_paths not mentioned anywhere else)

0017-setup.py-do-not-report-missing-dependencies-for-disa.patch
(has been superseded by Setup.local tweak in do_configure:prepend)

12-distutils-prefix-is-inside-staging-area.patch
(distutils has been removed upstream, so this old, unplesant hack can be finally dropped)

avoid_warning_about_tkinter.patch
(setup.py gone, tkinter detection logic performed in configure.ac)

(From OE-Core rev: 716d82352545d3667a658b69d65d6127678dd150)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-19 12:21:22 +00:00
Tim Orling
376a8a1f3a python3-alabaster: upgrade 0.7.13 -> 0.7.16
* Since 0.7.14 setup.py was dropped and now the project is using the
  flit core backend (inherit python_flit_core)
* Add BUGTRACKER url

License-Update: LICENSE renamed to LICENSE.rst

https://alabaster.readthedocs.io/en/latest/changelog.html#changelog

0.7.14 – 2024-01-08
* Dropped support for Python 3.8 and earlier.
* Dropped support for Sphinx 3.3 and earlier.
* #198 Fix horizontal scrolling on mobile.
* #206 Properly support the html_support_sphinx config value.
* #211 Fix the GitHub ‘forkme’ banner.
* Added alabaster_version_info to the HTML template context.
* Declare support for Python 3.13.
* Adopt the Ruff linter and formatter.
* Migrate from CircleCI to GitHub Actions.

0.7.15 – 2024-01-08
* #213 Allow an arbitrary string in the logo_name option.
* #114 Improved sidebar CSS styles.
* #178 Deprecated canonical_url in favor of html_baseurl.
* #200 Removed duplicate <meta name="viewport" ... /> tag.
* #188 Removed underline from whitespace.
* #164 Removed type="text/javascript" from <script> elements.
* #161 Replaced &copy; with unicode decimal code entity #169;.

0.7.16 – 2024-01-10
* #215 Do not display logo_name if it is set to False.

(From OE-Core rev: 596b58093cde62aacfa29e12e5aa4adfde8190bf)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-19 12:21:22 +00:00
Alexander Kanavin
5e1bc611d6 python3-cython: update 0.29.36 -> 3.0.7
pep517 build backends require cython 3.x when
python is at 3.12, so we can't hold this update any
longer. There are only a few things in meta-oe
and meta that break anymore, and fixes for them
are provided at the same time as this patch.

License-update: http -> https

(From OE-Core rev: 21507a3be23a604259a6a903a7083db54d29487f)

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>
2024-01-10 17:01:28 +00:00
Alexander Kanavin
1a27085092 python3-pyyaml: make compatible with cython 3.x
This has been rejected by upstream in favour of requiring obsolete cython
until there's 'proper' 3.x support. Months later, there's still no progress
so let's just take the rejected fix, as it does work (as reported by others as well),
and allows moving forward with cython.

(From OE-Core rev: cf4e45176a37b6f53a6316ec6b1556d6aea39b57)

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>
2024-01-10 17:01:28 +00:00
Tim Orling
d04ed37fa7 python3-attrs: enable ptest
The conftest.py file is needed to define the "slots" and "frozen" fixtures
for pytest

(From OE-Core rev: c27ddbe1dcfae564e93593c90517c2b4502d1709)

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>
2024-01-09 22:59:28 +00:00
Tim Orling
64a737df5f python3-bcrypt: upgrade 4.1.1 -> 4.1.2
* Refresh -crates.inc

https://github.com/pyca/bcrypt/compare/4.1.1...4.1.2

https://github.com/pyca/bcrypt/?tab=readme-ov-file#changelog
https://github.com/pyca/bcrypt/?tab=readme-ov-file#412

* Publish both py37 and py39 wheels. This should resolve some errors
  relating to initializing a module multiple times per process.

(From OE-Core rev: 2f428acc78e37aec78d11aac9605f0311b6b9c4a)

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>
2024-01-09 22:59:28 +00:00
Wang Mingyu
ee274a9d08 python3-lxml: upgrade 4.9.4 -> 45.0.0
Changelog:
==========
-LP#1976304: The "Element.addnext()" method previously inserted the new element
 before existing tail text.  The tail text of both sibling elements now stays on
 the respective elements.
-LP#1980767, GH#379: "TreeBuilder.close()" could fail with a "TypeError" after
 parsing incorrect input.
-"Element.itertext(with_tail=False)" returned the tail text of comments and
 processing instructions, despite the explicit option.
-GH#370: A crash with recent libxml2 2.11.x versions was resolved.
-A compile problem with recent libxml2 2.12.x versions was resolved.
-The internal exception handling in C callbacks was improved for Cython 3.0.
-The exception declarations of "xmlInputReadCallback", "xmlInputCloseCallback",
-"xmlOutputWriteCallback" and "xmlOutputCloseCallback" in "tree.pxd" were
 corrected to prevent running Python code or calling into the C-API with a live
 exception set.
-GH#385: The long deprecated "unittest.makeSuite()" function is no longer used.
-LP#1522052: A file-system specific test is now optional and should no longer fail
 on systems that don't support it.
-GH#392: Some tests were adapted for libxml2 2.13.
-Contains all fixes from lxml 4.9.4.

(From OE-Core rev: 5d9cd0ef5f7235eb5c8495a803bea6940c2994fe)

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>
2024-01-07 12:24:57 +00:00
Wang Mingyu
f76ddac2f7 python3-attrs: upgrade 22.1.0 -> 23.2.0
Changelog:
===========
- The type annotation for 'attrs.resolve_types()' is now correct.
- Type stubs now use 'typing.dataclass_transform' to decorate dataclass-like
  decorators, instead of the non-standard '__dataclass_transform__' special
  form, which is only supported by Pyright.
- Fixed serialization of namedtuple fields using 'attrs.asdict/astuple()'
  with 'retain_collection_types=True'.
- 'attrs.AttrsInstance' is now a 'typing.Protocol' in both type hints and code.
  This allows you to subclass it along with another 'Protocol'.
- If *attrs* detects that '__attrs_pre_init__' accepts more than just 'self',
  it will call it with the same arguments as '__init__' was called.
  This allows you to, for example, pass arguments to 'super().__init__()'.
- Slotted classes now transform 'functools.cached_property' decorated methods
  to support equivalent semantics.
- Added *class_body* argument to 'attrs.make_class()' to provide additional
  attributes for newly created classes.
  It is, for example, now possible to attach methods.

(From OE-Core rev: 9070758f0bb806f763a0d07b2b58b8b84b255880)

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>
2024-01-07 12:24:57 +00:00
Wang Mingyu
0638e664c0 python3-pytest: upgrade 7.4.3 -> 7.4.4
Changelog:
============
-Fix non-string constants at the top of file being detected as docstring
s on Python>=3.8.
-Handle an edge case where sys.stderr and sys.__stderr__ might already be
 closed when Fault Handler is tearing down.
-Fixed tracebacks from collection errors not getting pruned.
-Removed unhelpful error message from assertion rewrite mechanism when exceptions
 are raised in __iter__ methods. Now they are treated un-iterable instead.
-Updated documentation to refer to hyphenated options: replaced --junitxml with
 --junit-xml and --collectonly with --collect-only.

(From OE-Core rev: 14c73455c4b0ac369ba50a57b69e9c780022a485)

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>
2024-01-07 12:24:57 +00:00
Wang Mingyu
4464aebcfc python3-pycryptodomex: upgrade 3.19.0 -> 3.19.1
Changelog:
Fixed a side-channel leakage with OAEP decryption that could be exploited to carry out a Manger attack.

(From OE-Core rev: a6800df99159ab51b059bc2307049a72f7fcd663)

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>
2024-01-07 12:24:57 +00:00