Commit Graph

2253 Commits

Author SHA1 Message Date
Wang Mingyu
58a39dcc51 python3-pyelftools: upgrade 0.30 -> 0.31
Changelog:
=============
-remove universal setting for wheels, since we don't support py2 now
-[RELOCATIONS] add enum for v850 relocations
-Fix buffer overrun in NT_GNU_PROPERTY_TYPE_0 parser
-Fix iter_notes to handle >4 byte segment alignment
-Support for XC16/PIC phantom bytes
-Support for the GNU note with the AARCH64 CPU features
-Fix for mixed version loclists, tests
-Update supported python versions for GitHub actions CI
-Initial s390x relocation support
-Add py.typed to elftools
-Fix ranges autotest take 2
-Support getting RELR relocations from dynamic section
-Dynamic array size can be a loclist/locexpr
-DW_OP_GNU_uninit
-Update CHANGES to mention Python 2 (lack of) support
-Remove redundant wheel dep from pyproject.toml
-False positive on LocationParser.attribute_has_location()
-Support for DW_OP_WASM_location
-Dwarfdump test on Windows
-More Apple, LLVM attributes

(From OE-Core rev: 100ea6a8ae6b05521d394a1217ae0e744a46c7dd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
53000d2748 python3-packaging: upgrade 23.2 -> 24.0
Changelog:
==========
-Fix specifier matching when the specifier is long and has an epoch
-Clarify version split/join usage
-Default optional metadata values to None
-Stop using deprecated/removed keys
-Correctly use the ExceptionGroup shim only when needed
-Update CHANGELOG entry about validate kwarg
-Support --disable-gil builds (PEP 703) in packaging.tags
-Skip test_glibc_version_string_ctypes_raise_oserror if ctypes is unavailable
-Enable CodeQL
-PEP 703: Rename Py_NOGIL to Py_GIL_DISABLED
-Replace PEP references with PUG links
-Remove coverage ignore for non-existent file
-Update URLs
-Configure dependabot
-Hash pin github actions
-Apply some refurb suggestions
-Appply some bugbear suggestions
-Apply some ruff suggestions
-Add riscv64 as a supported manylinux architecture

(From OE-Core rev: b3ab311628a6668827a06c74e4880e4c0dbff7c5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
af9a5b1487 python3-markdown: upgrade 3.5.2 -> 3.6
Changelog:
 https://github.com/Python-Markdown/markdown/releases/tag/3.6

License-Update:
 Update the license template so GitHub can detect it

(From OE-Core rev: 6a8c53f283f5637480b667e51bfd5c71c3ab0db2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
19c5e810fd python3-license-expression: upgrade 30.2.0 -> 30.3.0
Changelog:
===========
-Use latest skeleton
-Update license list to latest ScanCode and SPDX 3.23
-Drop support for Python 3.7
-Release prep v30.3.0

(From OE-Core rev: c8763d3653ad5dd508d72163ba844f3f5b901136)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
59b89c7c81 python3-importlib-metadata: upgrade 7.0.2 -> 7.1.0
Changelog:
==========
-Make MetadataPathFinder.find_distributions a classmethod for consistency
 with CPython.
-Allow MetadataPathFinder.invalidate_caches to be called as a classmethod.

(From OE-Core rev: 11b074f79bc30115c8a1cfc0119acb3f8f6ea609)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
82547c7690 python3-hatchling: upgrade 1.21.1 -> 1.22.4
Changelog:
=============
Added:
----------
-Metadata for the wheel target now defaults to the PKG-INFO metadata within
 source distributions
-Add dependencies method to the build hook interface so that hooks can
 themselves dynamically define dependencies
-Update SPDX license information to version 3.23
-Improve error message for when the default heuristics for wheel file inclusion
 fail
-Update the default version of core metadata to 2.3

Fixed:
-----------
-Properly support core metadata version 2.2
-Only read source distribution metadata for fields that are explicitly defined
 as dynamic
-Fix the custom build hook when using dynamic dependencies
-Fix regression when loading metadata from source distributions
-Fix metadata hooks when building wheels from source distributions
-Remove editables as a direct dependency
-Fix default wheel tag when the supported Python version declaration is strict
-Load VCS ignore patterns first so that whitelisted patterns can be excluded by
 project configuration
-Don't consider VCS ignore files that are outside of the VCS boundary
-The sdist build target now gracefully ignores UNIX socket files
-Begin ignoring certain files ubiquitously, like .DS_Store on macOS

(From OE-Core rev: 3318192cda7df2a9fd9497b58570537c0d856b67)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
0e844147dc python3-trove-classifiers: upgrade 2024.2.23 -> 2024.3.3
Changelog:
=========
*add  "License :: OSI Approved :: NASA Open Source Agreement (NOSA)"
* added NOSA
* Update src/trove_classifiers/__init__.py

(From OE-Core rev: d2aa7736e52950f17d3abe3be28a7d62d497554b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
da6a370583 python3-pytest: upgrade 8.0.2 -> 8.1.1
Changelog:
 https://docs.pytest.org/en/stable/changelog.html

(From OE-Core rev: 7698fa9981eb94409d0988f17bc31f307f0a009d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
f6c9a5abae python3-pytest-subtests: upgrade 0.11.0 -> 0.12.1
Changelog:
===========
-Fixed compatibility with upcoming pytest 8.1.x.
-Python 3.12 is now officially supported
-Added typing support
-SubTests can be imported from pytest_subtests to type-annotate the subtests fixture.

(From OE-Core rev: a873332beb58320e6ed6d8d816e6b4f065375602)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
fa8eff8871 python3-pyparsing: upgrade 3.1.1 -> 3.1.2
Changelog:
===========
- Added 'ieee_float' expression to 'pyparsing.common', which parses float values,
  plus "NaN", "Inf", "Infinity".
- Updated pep8 synonym wrappers for better type checking compatibility.
- Fixed empty error message bug. This _should_ return pyparsing's exception
  messages to a former, more helpful form. If you have code that parses the
  exception messages returned by pyparsing, this may require some code changes.
- Added unit tests to test for exception message contents, with enhancement to
  'pyparsing.testing.assertRaisesParseException' to accept an expected exception message.
- Updated example 'select_parser.py' to use PEP8 names and added Groups for better retrieval
  of parsed values from multiple SELECT clauses.
- Added example 'email_address_parser.py'
- Added example 'directx_x_file_parser.py' to parse DirectX template definitions, and
  generate a Pyparsing parser from a template to parse .x files.
- Some code refactoring to reduce code nesting
- All internal string expressions using '%' string interpolation and 'str.format()'
  converted to f-strings.

(From OE-Core rev: dc067714b407577a7984a413d07282bea1a2fd72)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
9a554d8b87 python3-pyopenssl: upgrade 24.0.0 -> 24.1.0
Changelog:
-Removed the deprecated OpenSSL.crypto.PKCS12 and OpenSSL.crypto.NetscapeSPKI.
 OpenSSL.crypto.PKCS12 may be replaced by the PKCS#12 APIs in the cryptography package.

(From OE-Core rev: e7f9bb7b3b3f051694df7e7af01d538197cbacfd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
6db458a18b python3-pygobject: update 3.46.0 -> 3.48.1
Changelog:
===========
* Fix installation with pip failing in some environments with
  ModuleNotFoundError in g-ir-scanner :issue:'622' :mr:'302'
* test: fix some tests on macOS :mr:'296'
* docs: some dark mode fixes :mr:'291'
* Drop setuptools in favor of meson-python :mr:'248' :mr:'253' :mr:'254' :mr:'255' :mr:'276'
* Fundamental type support :mr:'250'
* Fundamental type support for GValues :mr:'264'
* pygi-convert.sh: migrate FILE_CHOOSER_CONFIRMATION_* :mr:'266'
* gimodule, cairo: Use multi-phase initialization as per PEP-489 :mr:'271'
* Deprecate classes in gi.option module :mr:'272'
* Deprecate pygtkcompat :mr:'278'
* Add support for (optional) nullable GErrors :mr:'259'
* Fix CssProvider not valid in GTK2 :mr:'284'
* Fix double free if array item cannot be marshalled to Python :mr:'280'
* Raise exception if a callback property is encountered :mr:'269'
* build: Fix pycairo detection "script" for Windows :mr:'267'
* Replace deprecated ''pkgutil.find_loader'' call :mr:'252'
* Avoid segfault on property access for incompletely initialized objects :mr:'260'
* pygenum: When getting a member instance, use correct key for the lookup :mr:'262'

(From OE-Core rev: 49ee7fff74464ca2838c609f2b6f4d1b8e09e8bc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
82cae7e42a python3-libarchive-c: upgrade 5.0 -> 5.1
Changelog:
===========
Fix the format_name property and move it from the ArchiveEntry class to the ArchiveRead class

(From OE-Core rev: eea08686271c5683840a733c32eda663c2aa23f6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
19ebc0f0b2 python3-importlib-metadata: upgrade 7.0.1 -> 7.0.2
(From OE-Core rev: 6bbe1785a5d0f5efd83cfefff39178d7f8523946)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
7c7826f787 python3-hypothesis: upgrade 6.98.15 -> 6.99.4
Changelog:
==========
-Fix regression caused by using PEP 696 default in TypeVar with Python 3.13.0a3.
-improves the type annotations in hypothesis.extra.numpy.
-Simplify the type annotation of column() and columns() by using PEP 696 to
 avoid overloading.
-implement type annotations for column().
-add the experimental and unstable backend setting.
-fixe issue #3900, a performance regression for arrays() due to the interaction
 of 6.98.12
-improve the type annotations in hypothesis.extra.numpy, which makes inferred
 types more precise for both mypy and pyright, and fixes some strict-mode errors
 on the latter.
-pave the way for future shrinker improvements. There is no user-visible change.

(From OE-Core rev: 71cf65e4a1137c20ece34a6ad5a65f037295daf2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
934ad49020 python3-cython: upgrade 3.0.8 -> 3.0.9
Changelog:
===========
Features added
--------------
* Assigning "const" values to non-const variables now issues a warning.
* Using "noexcept" on a function returning Python objects now issues a warning.
* Some C-API usage was updated for the upcoming CPython 3.13.
* The deprecated "Py_UNICODE" type is no longer used, unless required by user code.
* "std::string.replace()" declarations were added to libcpp.string.

Bugs fixed
----------
* Cython generates incorrect (but harmless) self-casts when directly calling
  final methods of subtypes.  Lacking a better solution, the errors that recent
  gcc versions produce have been silenced for the time being.
* Unused variable warnings about clineno were fixed when C lines in tracebacks are disabled.
* Subclass deallocation of extern classes could crash if the base class uses GC.
* Type checks for Python "memoryview" could use an invalid C function.
* Calling final fused functions could generate invalid C code.
* Declaring extern enums multiple times could generate invalid C code.
* "pyximport" used relative paths incorrectly.
* Running Cython with globbing characters ("[]*?") in the module search path could fail.
* Literal strings that include braces could change the C code indentation.

Other changes
-------------
* The "enum class not importable" warning is now only issued once per enum type.

(From OE-Core rev: 35a7d28d271d2f3e27cf24c2433c4e69c650509e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Alexander Kanavin
19ecd2d935 python3-lxml: update 5.0.0 -> 5.1.0
Upstream issued the new version in .tar.gz format, so .zip
setting can be dropped.

(From OE-Core rev: c208be7a9a5fec8b8d56356666de8be7d6d8a121)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01: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