Commit Graph

2153 Commits

Author SHA1 Message Date
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
Wang Mingyu
84cd0f2731 python3-pycryptodome: 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: d3b9b9f8d868602010b1de549f92758c78c701e0)

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
1c3fe08017 python3-hypothesis: upgrade 6.92.1 -> 6.92.2
Changelog:
============
updates vendored list of top-level domains, which is used by the provisional domains() strategy.

(From OE-Core rev: 7e6e484f4c36c098dc7dc17b6e7e6b4361572608)

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
67c02597c1 python3-hatch-fancy-pypi-readme: upgrade 23.1.0 -> 24.1.0
Changelog:
===========
-Added a default to an internal API that is used by scikit-build-core.
-$HFPR_VERSION is now replaced by the package version in the PyPI readme.
 The version is not available in CLI mode, therefore it's replaced by the dummy
 value of 42.0.

(From OE-Core rev: 9e59d673b773289a2d73cc5502c814860f31f6bf)

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
76f693eb25 python3-dbusmock: upgrade 0.30.1 -> 0.30.2
Changelog:
 bluez5: Fix invalid arguments to PairDevice

(From OE-Core rev: 6faf9db7604a55fa738f87e46cea5056acec47be)

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
64c4a5024f python3-lxml: upgrade 4.9.3 -> 4.9.4
Changelog:
===========
* LP#2046398: Inserting/replacing an ancestor into a node's children could loop indefinitely.
* LP#1980767, GH#379: "TreeBuilder.close()" could fail with a "TypeError" after
  parsing incorrect input.
* LP#1522052: A file-system specific test is now optional and should no longer fail
  on systems that don't support it.
* Wheels include zlib 1.3, libxml2 2.10.3 and libxslt 1.1.39
  (zlib 1.2.12, libxml2 2.10.3 and libxslt 1.1.37 on Windows).
* Built with Cython 0.29.37.

(From OE-Core rev: 68d75159d4be411840fffb7b861342a726f2d604)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-30 11:03:07 +00:00
Wang Mingyu
da2d5a090f python3-importlib-metadata: upgrade 7.0.0 -> 7.0.1
Changelog:
==========
-Corrected the interface for SimplePath to encompass the expectations of
 locate_file and PackagePath.
-Fixed type annotations to allow strings.

(From OE-Core rev: f3a1975c1d94ca3286652c27c5b3fa711089b154)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-30 11:03:07 +00:00
Wang Mingyu
c0484c2ed0 python3-hatchling: upgrade 1.20.0 -> 1.21.0
Changelog:
 Add parent context modifier for path fields

(From OE-Core rev: 178d107340222aa49cdcfef859c0fe14870f552c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-30 11:03:07 +00:00
Wang Mingyu
885c1a41d9 python3-dbusmock: upgrade 0.30.0 -> 0.30.1
Changelog:
============
-bluez: Clean up static default properties, re-drop PairDevice() class_ parameter
-Add pre-commit rules

(From OE-Core rev: db3898af5df76e14ee0f5a55ebc0d124e9010425)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-30 11:03:07 +00:00
Wang Mingyu
775c1cc08b python3-setuptools: upgrade 69.0.2 -> 69.0.3
0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
refreshed for 69.0.3

Changelog:
 Retain valid names with underscores in egg_info.

(From OE-Core rev: 47507793764cef763e31bd888754cb8ba7361376)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-30 11:03:07 +00:00
Renat Khalikov
0d9de34ac6 python3-maturin: Add missing space appending to CFLAGS
When the CFLAGS variable is appended to, the missing space causes build
errors when CFLAGS was set previously.

For example:

  error: unrecognized command-line option '-mno-unaligned-access-fdebug-prefix-map=${CARGO_HOME}=${TARGET_DBGSRC_DIR}/cargo_home'

(From OE-Core rev: cac54e6a6c6601629305b006f99fd1215565182b)

Signed-off-by: Renat Khalikov <renat_khalikov@trimble.com>
CC: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-23 08:46:00 +00:00
Wang Mingyu
cde69036a4 python3-wcwidth: upgrade 0.2.11 -> 0.2.12
Changelog:
 Remove a .pyi file was misplaced in the wheel file distributed on pypi for 0.2.11

(From OE-Core rev: 1a3307753a73f1843878c98c6785e452fdb392e5)

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>
2023-12-23 08:46:00 +00:00
Wang Mingyu
352388c109 python3-typing-extensions: upgrade 4.8.0 -> 4.9.0
Changelog:
 https://github.com/python/typing_extensions/blob/main/CHANGELOG.md

(From OE-Core rev: feb3a23a684bf1ebf0f0d8b0f94209d82eb40741)

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>
2023-12-23 08:46:00 +00:00
Wang Mingyu
b15fb09ecd python3-trove-classifiers: upgrade 2023.11.22 -> 2023.11.29
Changelog:
License :: OSI Approved :: Zero-Clause BSD (0BSD)

(From OE-Core rev: 5b79e2f00f85556723e0405689ffb76c8116458f)

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>
2023-12-23 08:46:00 +00:00
Wang Mingyu
d3c802bcbe python3-pytest-runner: upgrade 6.0.0 -> 6.0.1
Changelog:
 Updated Trove classifier to indicate this project is inactive.

(From OE-Core rev: 8ab849b0ebc873fbcfe46a4ce8ca76a92b140842)

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>
2023-12-23 08:46:00 +00:00
Wang Mingyu
1b8c0a3095 python3-psutil: upgrade 5.9.6 -> 5.9.7
Changelog:
===========
-enforce Ruff rule raw-string-in-exception, which helps providing clearer
 tracebacks when exceptions are raised by psutil.
-[PyPy]: psutil did not compile on PyPy due to missing
 PyErr_SetExcFromWindowsErrWithFilenameObject cPython API.

(From OE-Core rev: 69bc749e385848239407de1693d0c3db9692b72c)

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>
2023-12-23 08:46:00 +00:00
Wang Mingyu
a0105d85b4 python3-pip: upgrade 23.3.1 -> 23.3.2
no_shebang_mangling.patch
refreshed for 23.3.2

Changelog:
==========
-Fix a bug in extras handling for link requirements
-Fix mercurial revision "parse error": use --rev={ref} instead of -r={ref}

(From OE-Core rev: 51bd305c023b64ae5f6972bb489916861d11477f)

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>
2023-12-23 08:46:00 +00:00
Wang Mingyu
97d72a8d34 python3-pathspec: upgrade 0.11.2 -> 0.12.1
Changelog:
 https://github.com/cpburnz/python-pathspec/blob/v0.12.1/CHANGES.rst

(From OE-Core rev: b26d7f4e989ee85146e49cfaf9e2d50cbd4a710f)

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>
2023-12-23 08:46:00 +00:00
Wang Mingyu
3466cab0ab python3-license-expression: upgrade 30.1.1 -> 30.2.0
Changelog:
============
-Use latest skeleton
-Update license list to latest ScanCode and SPDX 3.22
-Add Python 3.12 support in CI

(From OE-Core rev: 2fd616e68dba7ab193e6ea074615b4f6c6ed6b53)

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>
2023-12-23 08:46:00 +00:00
Wang Mingyu
8e5acb3cc8 python3-importlib-metadata: upgrade 6.8.0 -> 7.0.0
Changelog:
============
-Removed EntryPoint access by numeric index
-Added Distribution.origin supplying the direct_url.json in a SimpleNamespace.
-Added diagnose script.
-Added EntryPoints.__repr__

(From OE-Core rev: c19ed018ee5c5d0af2ddf14b9d0de45673241652)

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>
2023-12-23 08:46:00 +00:00
Wang Mingyu
7462974f02 python3-hypothesis: upgrade 6.90.0 -> 6.92.1
Changelog:
===========
https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: e6c663778080f6bedbc3ae97ec1c0a9d4eea4464)

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>
2023-12-23 08:46:00 +00:00
Wang Mingyu
052b036680 python3-hatchling: upgrade 1.18.0 -> 1.20.0
Changelog:
==========
-Add bypass-selection option to the wheel build target to allow for empty
 (metadata-only) wheels
-Fix regression in 1.19.1 that allowed exclude to count toward inclusion
 selection, thus bypassing the default inclusion selection heuristics
-Fix writing optional dependency core metadata in situations where there
 are multiple environment markers

(From OE-Core rev: 5ef9935ea063aa9b8f6e4f7d40603c298e12a644)

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>
2023-12-23 08:46:00 +00:00
Wang Mingyu
bb4eea1ffc python3-dbusmock: upgrade 0.29.1 -> 0.30.0
Changelog:
============
-api: Add pytest support and helpers
-api: Factor the server spawning into a new SpawnedMock object
-doc: generate sphinx docs on https://martinpitt.github.io/python-dbusmock/
-cli: Add support for running custom commands on the mock environment

(From OE-Core rev: 52d4b5476ba69c3e176d6631b76b06cd1f80f2ad)

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>
2023-12-23 08:46:00 +00:00
Wang Mingyu
aaaf404354 python3-babel: upgrade 2.13.1 -> 2.14.0
Changelog:
============
-CLDR/Numbers: Add support of local numbering systems for number symbols
-CLDR: Upgrade to CLDR 43
-Frontend: Allow last_translator to be passed as an option to extract_message
-Frontend: Decouple pybabel CLI frontend from distutils/setuptools
-Numbers: Improve parsing of malformed decimals

(From OE-Core rev: db1967e48e44fe81af7bad54fcbb4484c9462a73)

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>
2023-12-23 08:46:00 +00:00
Mingli Yu
a84a8ac625 python3-license-expression: Fix the ptest failure
Fix the below ptest failure:
 self = <test_skeleton_codestyle.BaseTests testMethod=test_skeleton_codestyle>
 def test_skeleton_codestyle(self):
 """
 This test shouldn't run in proliferated repositories.
 """
 setup_cfg = configparser.ConfigParser()
 setup_cfg.read("setup.cfg")
 > if setup_cfg["metadata"]["name"] != "skeleton":
 tests/test_skeleton_codestyle.py:22:
 self = <configparser.ConfigParser object at 0x7fd87cf55110>, key = 'metadata'
 def _getitem_(self, key):
 if key != self.default_section and not self.has_section(key):
 > raise KeyError(key)
 E KeyError: 'metadata'

After the patch:
 # ./run-ptest
 [snip]
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_bad_syntax
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_as_regular_key
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_with_choice
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception_strict_false
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_key
 PASS: tests/test_license_expression.py::UtilTest::test_build_licensing
 PASS: tests/test_license_expression.py::UtilTest::test_build_spdx_licensing
 PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info
 PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info_vendored
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_duplicated_elements
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_empty_input
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_or_relationship
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_regular
 PASS: tests/test_skeleton_codestyle.py::BaseTests::test_skeleton_codestyle
============================================================================
Testsuite summary
 # TOTAL: 175
 # PASS: 175
 # SKIP: 0
 # XFAIL: 0
 # FAIL: 0
 # XPASS: 0

(From OE-Core rev: 6b06ad7a9f1dd5900483102f5723a6821f961dab)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>

Changed in v4:
Add python3-license-expression to PTESTS_FAST

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21 10:38:30 +00:00
Alexander Kanavin
2c1b967cd1 python3-numpy: distutils is no longer required
Please see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
https://numpy.org/doc/stable/release/1.26.0-notes.html

(From OE-Core rev: 6cbbeb75ed427d5f16d5a1d6f3f0c31e39db6d65)

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>
2023-12-21 10:38:29 +00:00
Alexander Kanavin
91f9f75e1b python3-pytest-runner: remove distutils dependency
I couldn't find any evidence of it actually being
required at build or run time.

(From OE-Core rev: a28cd31784592f7cd460320a5c2cf41a86829255)

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>
2023-12-21 10:38:29 +00:00
Alexander Kanavin
504651f853 python3-pip: remove distutils depedency
Upstream has removed usage of distutils.

(From OE-Core rev: a89e0aa3d0c850f3ad90f6d72a658c66d6109fca)

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>
2023-12-21 10:38:29 +00:00
Alexander Kanavin
e99732267a python3-babel: replace distutils with setuptools, as supported by upstream
(From OE-Core rev: 35f947f107dadd93eace4ac239fa308960d0f4da)

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>
2023-12-21 10:38:29 +00:00
Alexander Kanavin
8c67164341 python3-setuptools-rust: remove distutils dependency
As allowed by https://github.com/PyO3/setuptools-rust/pull/336

(From OE-Core rev: ca452dd6b1b6799cf70dac93f7fac0746d8c43bc)

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>
2023-12-21 10:38:29 +00:00
Ross Burton
e73b3744de python3: re-enable profile guided optimisation
This was accidentally disabled in the 3.7.2 upgrade in 2019[1] where PGO
was made target-only. Change the wrapper script generation so that it
happens in all environments but class-native.

[1] oe-core 02714c105426b0d687620913c1a7401b386428b6

(From OE-Core rev: 96a9964d6071dc614cec06a4f0712e257de2bc8b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21 10:38:29 +00:00
Tim Orling
c5cd7c5900 python3-maturin: bzip2-sys reproduciblility
The /usr/bin/.debug/maturin binary ends up with the path
to the bzip-sys (bzip2-1.0.8) source in the python3-maturin-dbg package

Fix this by mapping the debug path for CARGO_HOME
to TARGET_DBGSRC_DIR/cargo_home via CFLAGS. This is
required because the bzip-sys crate is compiled using
the cc crate and we override default CFLAGS.

(From OE-Core rev: 58a4f8b3afb67e6818f544e74a7f1dd2b1a66f86)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-17 19:07:21 +00:00
Tim Orling
d97636a0e5 python3-maturin: add v1.4.0
Build and publish crates with pyo3, rust-cpython, cffi and uniffi bindings
as well as rust binaries as python packages.

This project is meant as a zero configuration replacement for setuptools-rust
and milksnake. It supports building wheels for python 3.7+ on windows, linux,
mac and freebsd, can upload them to pypi and has basic pypy and graalpy support.

https://github.com/pyo3/maturin

* Referesh -crates.inc for 1.4.0

(From OE-Core rev: b92d923991e57e1e3a8e4a3bf1b7f7ec138f7723)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-17 19:07:21 +00:00
Tim Orling
2d7cea74d7 python3-setuptools-rust: BBCLASSEXTEND + nativesdk
We would like to build python3-maturin for nativesdk use
and nativesdk-python3-setuptools-rust is a dependency.

(From OE-Core rev: 193e467cdaad9d2b0ee3dddecbe6631c7244fbbe)

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>
2023-12-13 11:34:27 +00:00
Tim Orling
ef7ba05995 python3-pygments: upgrade 2.16.1 -> 2.17.2
* Drop redundant DEPENDS
* PEP-517 backend is now hatchling -> inherit python_hatchling
* Drop PYPI_PACKAGE as upstream download filename is now "pygments"
* Add UPSTREAM_CHECK_PYPI_PACKAGE since upstream path is still "/Pygments/"

https://github.com/pygments/pygments/blob/2.17.2/CHANGES

(From OE-Core rev: 426ec8595233203034d06dd30041c551f2622d90)

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>
2023-12-06 22:55:49 +00:00
Tim Orling
37076ad1e1 python3-bcrypt: upgrade 4.0.1 -> 4.1.1
* Refresh -crates.inc

https://github.com/pyca/bcrypt/blob/4.1.1/README.rst#changelog

4.1.1
  * Fixed the type signature on the kdf method.
4.1.0
  * Dropped support for Python 3.6.
  * Bumped MSRV to 1.64. (Note: Rust 1.63 can be used by setting
    the BCRYPT_ALLOW_RUST_163 environment variable)

(From OE-Core rev: 9851e8a4b7f138cd8346eca3cdc831b12ee9d9e2)

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>
2023-12-06 22:55:49 +00:00
Tim Orling
a5ee86fd99 python3-cryptography{-vectors}: 41.0.5 -> 41.0.7
https://github.com/pyca/cryptography/compare/41.0.5...41.0.7

https://cryptography.io/en/latest/changelog/#v41-0-7
https://cryptography.io/en/latest/changelog/#v41-0-6

41.0.7 - 2023-11-27
Fixed compilation when using LibreSSL 3.8.2.

41.0.6 - 2023-11-27
Fixed a null-pointer-dereference and segfault that could occur when loading
certificates from a PKCS#7 bundle. Credit to pkuzco for reporting the issue.

CVE: CVE-2023-49083

(From OE-Core rev: 25fba6dd44f64e1e476c2e537d4a20cdbdc7ed25)

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>
2023-12-02 17:18:57 +00:00
Tim Orling
076862d68e python3-cryptography-vectors: add RECIPE_NO_UPDATE_REASON
Comments in the recipe are insufficient to prevent folks from attempting
to upgrade the recipe without also upgrading python3-cryptography.

These two recipes MUST be upgraded in lock step to the exact same version.

(From OE-Core rev: 3701bc4d30526c52be1e1789afb24c90a23beab6)

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>
2023-12-02 17:18:57 +00:00
Wang Mingyu
ea908dff17 python3-wheel: upgrade 0.41.3 -> 0.42.0
Changelog:
===========
-Allowed removing build tag with wheel tags --build ""
-Fixed wheel pack and wheel tags writing updated WHEEL fields after a blank
 line, causing other tools to ignore them
-Fixed wheel pack and wheel tags writing WHEEL with CRLF line endings or a
 mix of CRLF and LF
-Fixed wheel pack --build-number "" not removing build tag from WHEEL

(From OE-Core rev: 6079197265a6a3f615321bcbe7104479f1e29251)

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>
2023-12-02 17:18:57 +00:00
Wang Mingyu
c3d97f203c python3-trove-classifiers: upgrade 2023.11.14 -> 2023.11.22
Changelog:
  Add "Framework :: Sphinx :: Domain" classifier

(From OE-Core rev: 55550dd042a6a2864458d4175c59c1bad4dd87b9)

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>
2023-12-02 17:18:57 +00:00
Wang Mingyu
df8f9ed7ca python3-sphinx-rtd-theme: upgrade 1.3.0 -> 2.0.0
(From OE-Core rev: 20caa0463a5568036d66792a597b077ae50785a2)

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>
2023-12-02 17:18:57 +00:00
Wang Mingyu
60fe92fa35 python3-idna: upgrade 3.4 -> 3.6
License-Update:
===============
Update copyright date; Prep for 3.5; Update maintainer email

Changelog:
==========
-Fix regression to include tests in source distribution.
-Update to Unicode 15.1.0
-String codec name is now "idna2008" as overriding the system codec "idna" was
 not working.
-Fix typing error for codec encoding
-"setup.cfg" has been added for this release due to some downstream lack of
 adherence to PEP 517. Should be removed in a future release so please prepare
 accordingly.
-Removed reliance on a symlink for the "idna-data" tool to comport with PEP 517
 and the Python Packaging User Guide for sdist archives.
-Added security reporting protocol for project

(From OE-Core rev: 30b23caeec25d2a029967fb60b8fb01329ea258b)

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>
2023-12-02 17:18:57 +00:00