Commit Graph

1976 Commits

Author SHA1 Message Date
Ross Burton
e484c6cbef python3-pygobject: add explicit check for qemu-usermode MACHINE_FEATURE
When building for the target this recipe absolutely needs
gobject-introspection to be enabled, so add an explict

(From OE-Core rev: 86941419ef2d315db6bf5645491bf97ec129eb34)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 11:34:12 +01:00
Wang Mingyu
98073bfea7 python3-pyparsing: upgrade 3.1.0 -> 3.1.1
Changelog:
============
- Fixed regression in Word(min)
- Fixed bug in bad exception messages raised by Forward expressions.
- Fixed regression in SkipTo, where ignored expressions were not checked when looking
  for the target expression.
- Fixed type annotation for enable_packrat
- Some general internal code cleanup.

(From OE-Core rev: 6671d50bb053060813d34692d50a9360da767dcc)

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-08-14 12:51:21 +01:00
Wang Mingyu
b5939e1e3e python3-pip: upgrade 23.2 -> 23.2.1
Changelog:
 Disable PEP 658 metadata fetching with the legacy resolver.

(From OE-Core rev: 38d6687b9ca10aeea6167067d3c80827be98e4de)

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-08-14 12:51:21 +01:00
Wang Mingyu
f36f9d5f44 python3-pathspec: upgrade 0.11.1 -> 0.11.2
Changelog:
=========
- Issue #80: match_files with negated path spec. pathspec.PathSpec.match_*()
  now have a negate parameter to make using .gitignore logic easier and more efficient.
- Pull #76: Add edge case: patterns that end with an escaped space
- Issue #77/Pull #78: Negate with caret symbol as with the exclamation mark.

(From OE-Core rev: 2b36eb04ad71f01da5a8495a6e00fcb2bc89fa3b)

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-08-14 12:51:21 +01:00
Wang Mingyu
8cdecbab02 python3-markdown: upgrade 3.4.3 -> 3.4.4
Changelog:
==========
 Add a special case for initial 's to smarty extension (#1305).
 Unescape any backslash escaped inline raw HTML (#1358).
 Unescape backslash escaped TOC token names (#1360).

(From OE-Core rev: cd32e3cfbfc95cf34b29c44f1b7bcbadcda56c92)

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-08-14 12:51:21 +01:00
Wang Mingyu
2bd519fbd1 python3-editables: upgrade 0.4 -> 0.5
Changelog:
 Fix a bug that broke importlib.invalidate_caches

(From OE-Core rev: 22b19db8011c73793a07c4f2ca677a0bfcaa02d1)

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-08-14 12:51:21 +01:00
Tim Orling
9af6495ee4 python3-cryptography{-vectors}: upgrade -> 41.0.3
https://cryptography.io/en/latest/changelog/#v41-0-3

* Fixed performance regression loading DH public keys.
* Fixed a memory leak when using ChaCha20Poly1305.
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.1.2.

(From OE-Core rev: 51f540260e858e77031c569721eb01dba24365c9)

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-08-10 09:18:53 +01:00
Tim Orling
515532b5c3 python3-chardet: upgrade 5.1.0 -> 5.2.0
https://github.com/chardet/chardet/compare/5.1.0...5.2.0

* Adds support for running chardet CLI via python -m chardet
  (0e9b7bc, @dan-blanchard)

(From OE-Core rev: 68a80de82010757524c71b4a8399bd879425320d)

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-08-10 09:18:53 +01:00
Trevor Gamblin
e56b895866 python3: add additional timing-related test skips
The following tests have been seen failing intermittently on the
autobuilder:

test.test_multiprocessing_forkserver.WithManagerTestBarrier.test_timeout
test.test_time.TimeTestCase.test_thread_time

Since these could be affected by AB systems under heavy load, disable
them. New test outputs:

test_timeout (test.test_multiprocessing_fork.WithProcessesTestBarrier.test_timeout)
SKIP: Test wait(timeout) 'timing related test, dependent on load'
...
SKIP: test_thread_time (test.test_time.TimeTestCase.test_thread_time) 'timing related test, dependent on load'

[YOCTO # 15131]
[YOCTO # 15177]

(From OE-Core rev: 4da3b653e0fad52e7af97328b49e40d5179ddfe5)

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>
2023-08-10 09:18:53 +01:00
Michael Opdenacker
a26970fa3a recipes: remove unused AUTHOR variable
No longer used in generating packages
Also creates a possible confusion with the recipe maintainer
name.

(From OE-Core rev: 9d5edd124b7dddb995ceddd79f8a7fc8cf44badf)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10 09:18:53 +01:00
Tim Orling
d0e4e116d3 python3-wheel: upgrade 0.40.0 -> 0.41.0
https://wheel.readthedocs.io/en/stable/news.html

0.41.0 (2023-07-22)
* Added full support of the build tag syntax to wheel tags (you can now
  set a build tag like 123mytag)
* Fixed warning on Python 3.12 about onerror deprecation. (PR by Henry
  Schreiner)
* Support testing on Python 3.12 betas (PR by Ewout ter Hoeven)

(From OE-Core rev: 81e7e3b9059840fd749b5b50fc75588d7c4b7593)

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-08-01 09:51:20 +01:00
Tim Orling
50167aeb06 python3-more-itertools: upgrade 9.1.0 -> 10.0.0
https://more-itertools.readthedocs.io/en/stable/versions.html

10.0.0
* Potentially breaking changes
  - Python 3.7 support was dropped, since it went EOL on 2023-06-27
  - batched() no longer issues a DeprecationWarning; it is now an alias
    for itertools.batched for Python 3.12+
  - batched() and matmul() now yield tuples instead of lists
* New functions
  - combination_with_replacement_index() (thanks to Schoyen)
  - nth_combination_with_replacement() (thanks to Schoyen)
  - polynomial_eval() (from the Python itertools docs)
  - polynomial_derivative() (from the Python itertools docs)
  - sum_of_squares() (from the Python itertools docs)
* Changes to existing functions
  - seekable() now has relative_seek method (thanks to karlb)
  - chunked_even() was optimized (thanks to elliotwutingfeng)
  - numeric_range() was optimized (thanks to eltoder)
  - duplicates_justseen(), pairwise(), partial_product(), and partition()
    were updated and optimized (thanks to pochmann)
  - unique_in_window() had its implementation updated (thanks to
    elliotwutingfeng)
  - iterate() now breaks when its func argument raises StopIteration (thanks
    to jrebiffe)
* Other changes
  - Some documentation and testing issues were fixed (thanks to lonnen and
    XuehaiPan)

(From OE-Core rev: 9351489f3fd9a01f1e74b4f209df01aeffe55c8f)

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-08-01 09:51:20 +01:00
Tim Orling
5760be9c24 python3-certifi: upgrade 2023.5.7 -> 2023.7.22
No changelog provided. Commits:

8fb96ed (tag: 2023.07.22) 2023.07.22
afe7722 Bump actions/setup-python from 4.6.1 to 4.7.0 (#230)
2038739 Bump dessant/lock-threads from 3.0.0 to 4.0.1 (#229)
44df761 Hash pin Actions and enable dependabot (#228)

(From OE-Core rev: fdd9e8fe947479994be02b61862e4b1604f44f2d)

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-08-01 09:51:20 +01:00
Tim Orling
2046901b48 python3-sphinx: upgrade 7.0.1 -> 7.1.1
No longer need to set PYPI_PACKAGE, download is
now sphinx-${PV}.tar.gz not Sphinx-${PV}.tar.gz.

https://www.sphinx-doc.org/en/master/changes.html#release-7-1-1-released-jul-27-2023
https://www.sphinx-doc.org/en/master/changes.html#release-7-1-0-released-jul-24-2023

(From OE-Core rev: e1b7dbb0c397f6ab0b8059d39a182f9fb271ef4e)

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-08-01 09:51:20 +01:00
Tim Orling
0276edeb71 python3-pyyaml: upgrade 6.0 -> 6.0.1
No changelog provided; new commits are:

c42fa3b (tag: 6.0.1, origin/release/6.0) 6.0.1 release
ae08bdc block Cython 3.0+ as a build dep (#702)
f873cfe Add python 3.11 support (#663)

https://github.com/yaml/pyyaml/compare/6.0...6.0.1

(From OE-Core rev: 3480d13959652908b34b929158f1cf4e56c014bf)

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-07-25 15:27:33 +01:00
Tim Orling
e82334a907 python3-hypothesis: upgrade 6.81.2 -> 6.82.0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-82-0

6.82.0 - 2023-07-20
* from_regex() now supports the atomic grouping ((?>...)) and possessive
  quantifier (*+, ++, ?+, {m,n}+) syntax added in Python 3.11.

  Thanks to Cheuk Ting Ho for implementing this!

(From OE-Core rev: 4d41717cf4c0a71d0c220e9f3633d07af0184472)

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-07-25 15:27:33 +01:00
Tim Orling
db4946b66f python3-urllib3: upgrade 2.0.3 -> 2.0.4
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#204-2023-07-19

2.0.4 (2023-07-19)
* Added support for union operators to HTTPHeaderDict (#2254)
* Added BaseHTTPResponse to urllib3.__all__ (#3078)
* Fixed urllib3.connection.HTTPConnection to raise the http.client.connect
  audit event to have the same behavior as the standard library HTTP client
  (#2757)
* Relied on the standard library for checking hostnames in supported PyPy
  releases (#3087)

(From OE-Core rev: 3513a31db197fcaf78a68a48be448b45b60defbf)

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-07-25 15:27:33 +01:00
Trevor Gamblin
a776b31811 python3-dtschema: add python3-dtc to RDEPENDS
Also reorder the RDEPENDS to be alphabetical.

(From OE-Core rev: a185536b2a38f362a7f0e883f9010f6b34547ca9)

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>
2023-07-25 15:27:33 +01:00
Trevor Gamblin
6684cfb613 python3-dtc: add from meta-virtualization
This provides pylibfdt, which is a runtime dependency for the dtschema
module that we already carry in oe-core.

(From OE-Core rev: 123077ecd9f3c1839da0d7b1474d689e5c6a689c)

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>
2023-07-25 15:27:33 +01:00
Trevor Gamblin
bbed3a143b python3-dtschema: upgrade 2023.4 -> 2023.6.1
No changelog provided. Diff between versions:

08ab41a (tag: v2023.06.1, origin/master) Fix undocumented compatible check
90ce246 (tag: v2023.06) Revert "Partially Revert "dtschema: add nanoamp unit""
a4fe59b schemas: Allow 'fail' value for 'status'
1ea798a schemas: Allow 'status' for node names
2945ab5 schemas: Allow node names starting with number
33cbf96 schemas: Allow '/' in compatible strings
470b522 fixups: Handle 'multipleOf' keyword in schemas
6fc2e30 meta-schemas: Ensure "enum" contains only strings or integers
bd525a4 meta-schemas: Disallow 'binding' or 'schema' in schema 'title'
822ce6a schemas: cpu: Add some missing common properties
e3dfc1e schemas: Use 'oneOf' rather than if/then for *-supply properties
26b0e53 dtschema: Use format strings for printing
bc164f9 Split DTValidator class into 2 classes
4ddf315 meta-schemas: Ensure DT property names contain either an object or boolean
3db9af1 meta-schemas: add $defs schema checking
85e967f schemas: iio: add label
31cc52a dtschema: Move fixups to separate file
9e4dd3b dtschema: Drop unnecessary quote checking
41e1192 dtb: Drop unused pprint import

(From OE-Core rev: d8a5ba078f027f1d60d97513fe10dcc149ef8d1c)

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>
2023-07-25 15:27:33 +01:00
Andrej Valek
c15e506a46 cve_check: convert CVE_CHECK_IGNORE to CVE_STATUS
- Try to add convert and apply statuses for old CVEs
- Drop some obsolete ignores, while they are not relevant for current
  version

(From OE-Core rev: 1634ed4048cf56788cd5c2c1bdc979b70afcdcd7)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Reviewed-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-21 11:52:26 +01:00
Trevor Gamblin
e7183e5099 python3: ensure ptest regression capture
Add a conditional echo statement to make sure that there is a
FAIL emitted when python3 ptests regress in a way sed doesn't
catch.

(From OE-Core rev: 2100c588863b9da64ea8f2eb6be4ff445e26b5f0)

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>
2023-07-21 11:52:26 +01:00
Wang Mingyu
2c7c360936 python3-numpy: upgrade 1.25.0 -> 1.25.1
A total of 14 pull requests were merged for this release.
========================================================
 #23968: MAINT: prepare 1.25.x for further development
 #24036: BLD: Port long double identification to C for meson
 #24037: BUG: Fix reduction return NULL to be goto fail
 #24038: BUG: Avoid undefined behavior in array.astype()
 #24039: BUG: Ensure __array_ufunc__ works without any kwargs passed
 #24117: MAINT: Pin urllib3 to avoid anaconda-client bug.
 #24118: TST: Pin pydantic<2 in Pyodide workflow
 #24119: MAINT: Bump pypa/cibuildwheel from 2.13.0 to 2.13.1
 #24120: MAINT: Bump actions/checkout from 3.5.2 to 3.5.3
 #24122: BUG: Multiply or Divides using SIMD without a full vector can...
 #24127: MAINT: testing for IS_MUSL closes #24074
 #24128: BUG: Only replace dtype temporarily if dimensions changed
 #24129: MAINT: Bump actions/setup-node from 3.6.0 to 3.7.0
 #24134: BUG: Fix private procedures in f2py modules

(From OE-Core rev: 7371f2513d30bf6a17620271df8abbdaeafaae6b)

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-07-21 11:52:26 +01:00
Wang Mingyu
ef058f91cf python3-git: upgrade 3.1.31 -> 3.1.32
Changelog:
===========
-Block insecure non-multi options in clone/clone_from
-Don't rely on __del__
-fix pypi long description
-Name top-level exceptions as private variables
-commit trailers should be a list instead of a dictionary
-Fix up the commit trailers functionality

(From OE-Core rev: 8320d23b1d90f8e7454573c59d8fd360565acf48)

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-07-21 11:52:25 +01:00
Wang Mingyu
27efbbdbba python3-editables: upgrade 0.3 -> 0.4
Changelog:
===========
 Add a new add_to_subpackage method.
 Add type annotations.
 Internal admin: Switch to nox for automation
 Internal admin: Switch to ruff for linting
 Internal admin: Switch from setuptools to flit_core

(From OE-Core rev: dae1a0e62c1c93ae51395feae93d14d7e6f788eb)

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-07-21 11:52:25 +01:00
Wang Mingyu
8cb7c2e39d python3-pip: upgrade 23.1.2 -> 23.2
License-Update:
  Upgrade setuptools to 68.0.0
  Upgrade typing_extensions to 4.7.1

Changelog:
==========
-Fix pip completion --zsh. (#11417)
-Prevent downloading files twice when PEP 658 metadata is present (#11847)
-Add permission check before configuration (#11920)
-Fix deprecation warnings in Python 3.12 for usage of shutil.rmtree (#11957)
-Ignore invalid or unreadable origin.json files in the cache of locally
 built wheels. (#11985)
-Fix installation of packages with PEP658 metadata using non-canonicalized
 names (#12038)
-Correctly parse dist-info-metadata values from JSON-format index data. (#12042)
-Fail with an error if the --python option is specified after the subcommand
 name. (#12067)
-Fix slowness when using importlib.metadata (the default way for pip to read
 metadata in Python 3.11+) and there is a large overlap between already
 installed and to-be-installed packages. (#12079)
-Pass the -r flag to mercurial to be explicit that a revision is passed and
 protect against hg options injection as part of VCS URLs. Users that do not
 have control on VCS URLs passed to pip are advised to upgrade. (#12119)

(From OE-Core rev: 5bf45f8b29f15dbf1e3880f61a95f326cd32f98f)

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-07-21 11:52:25 +01:00
Tim Orling
05076f4b49 python3-hypothesis: upgrade 6.80.0 -> 6.81.2
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-81-2
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-81-1

(From OE-Core rev: 95f0610650f5a82e669a8962205f23d097c08516)

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-07-19 19:37:38 +01:00
Tim Orling
7c6d1f7bc0 python3-zipp: upgrade 3.15.0 -> 3.16.2
https://github.com/jaraco/zipp/blob/v3.16.2/NEWS.rst

v3.16.2
* Bugfixes:
  - In Path.match, Windows path separators are no longer honored. The fact
    that they were was incidental and never supported. (#92)
  - Fixed name/suffix/suffixes/stem operations when no filename is present
    and the Path is not at the root of the zipfile. (#96)
  - Reworked glob utilizing the namelist directly. (#101)
v3.16.1
* Bugfixes:
  - Replaced the fnmatch.translate with a fresh glob-to-regex translator
    for more correct matching behavior. (#98)
v3.16.0
* Features:
  - Require Python 3.8 or later.

License-Update: removed Copyright (see https://github.com/jaraco/skeleton/issues/78)

(From OE-Core rev: 8ffcbf120c7b35187f24e45fb8d35558ac1a697e)

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-07-19 19:37:38 +01:00
Khem Raj
4463a2b86f python3-lxml: upgrade 4.9.2 -> 4.9.3
(From OE-Core rev: 4185814c1072da2cea67eda209395de6306a35d5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-19 19:37:38 +01:00
Ross Burton
6f510702e3 python3: ignore CVE-2023-36632
This CVE shouldn't have been filed as the "exploit" is described in the
documentation as how the library behaves.

(From OE-Core rev: c652f094d86c4efb7ff99accba63b8169493ab18)

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-07-19 19:37:38 +01:00
Trevor Gamblin
d101e64b1c python3-editables: add python3-io to RDEPENDS
editables needs the ipaddress module to function, so add python3-io to
the RDEPENDS list.

(From OE-Core rev: 2d73136998f867663f1be0f28bce93ffbd993258)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-19 18:00:32 +01:00
Trevor Gamblin
08b3d726a8 python3-cython: upgrade 0.29.35 -> 0.29.36
Changelog: https://github.com/cython/cython/blob/master/CHANGES.rst

Bugs fixed

- Async generators lost their return value in PyPy. (Github issue :issue:`5465`)
- The outdated C macro _PyGC_FINALIZED() is no longer used in Py3.9+.
- The deprecated Py_OptimizeFlag is no longer used in Python 3.9+. (Github issue :issue:`5343`)
- Using the global __debug__ variable but not assertions could lead to compile errors.
- The broken HTML template support was removed from Tempita. (Github issue :issue:`3309`)

(From OE-Core rev: 8bbb6af6fe28ec950e0805b7aca7125c6cb5c802)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-19 18:00:32 +01:00
Trevor Gamblin
90e1b9d63d python3-trove-classifiers: upgrade 2023.5.24 -> 2023.7.6
Changelog: https://github.com/pypa/trove-classifiers/releases

(From OE-Core rev: 91ec124f7362985e2b83b475f3082fe652262fca)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-19 18:00:32 +01:00
Tim Orling
27957137d7 python3-cryptography{-vectors}: upgrade 41.0.1 -> 41.0.2
https://cryptography.io/en/latest/changelog/#v41-0-2

41.0.2 - 2023-07-10
* Fixed bugs in creating and parsing SSH certificates where critical
  options with values were handled incorrectly. Certificates are now
  created correctly and parsing accepts correct values as well as the
  previously generated invalid forms with a warning. In the next release,
  support for parsing these invalid forms will be removed.

Refresh python3-cryptography-crates.inc:
-    crate://crates.io/proc-macro2/1.0.59 \
+    crate://crates.io/proc-macro2/1.0.64 \

(From OE-Core rev: ea836919fc26af1508ccf0c40843109d52e738eb)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-19 09:48:39 +01:00
Tim Orling
ee04292b9d python3-typing-extensions: upgrade 4.7.0 -> 4.7.1
https://github.com/python/typing_extensions/blob/4.7.1/CHANGELOG.md#release-471-july-2-2023

Release 4.7.1 (July 2, 2023)
* Fix support for TypedDict, NamedTuple and is_protocol on PyPy-3.7 and
  PyPy-3.8. Patch by Alex Waygood. Note that PyPy-3.7 and PyPy-3.8 are
  unsupported by the PyPy project. The next feature release of
  typing-extensions will drop support for PyPy-3.7 and may also drop
  support for PyPy-3.8.

(From OE-Core rev: 265f9be324dcda249c718cc4834a911da97030c1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-19 09:48:39 +01:00
Tim Orling
f1bb4f7eb5 python3-importlib-metadata: upgrade 6.7.0 -> 6.8.0
* Require Python 3.8 or later.

34fd736 (HEAD, tag: v6.8.0) Finalize
97084d8 Remove reliance on typing-extensions, only required for Python 3.7 compatibility.
b74d2b2 Merge pull request #460 from Gryfenfer97/main
ec7bca0 Disable tests on pypy due to #463
ee4f84a Remove superfluous includes
f862e3f Merge branch '2023-handoff' of https://github.com/jaraco/skeleton
23ed6b1 Merge branch 'collapse' into 2023-handoff
c29955f Collapse skeleton history. Workaround for jaraco/skeleton#87.
cca49a4 Prefer 3.x for Python version (latest stable).
74ba8ac Leverage pytest-enabler 2.2 for the default config.
8e83c3f Expand 'finalize' to commit and tag the change.
f5a5617 Merge https://github.com/jaraco/skeleton
3b7d8a9 Require Python 3.8 or later.
07a87ea Remove tox boilerplate, no longer necessary with later versions of tox.
cd145f4 Replace workaround for actions/setup-python#508 with 'allow-prereleases'
5ca761c Merge https://github.com/jaraco/skeleton
45c03bd add typing for simple functions
74b0d39 Adopt towncrier for managing changelog. Fixes jaraco/skeleton#83.
2963377 Merge https://github.com/jaraco/skeleton
241541c Remove inclusion of python version for docs
e7cd730 Add badge for Ruff.
6f75480 Update RTD boilerplate to new issue. Ref readthedocs/readthedocs.org#10401.

(From OE-Core rev: bc820ff2f8d255783bedc28e468ee2e1d7de873b)

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-07-14 17:31:06 +01:00
Trevor Gamblin
f18cee609b python3-setuptools: upgrade 67.6.1 -> 68.0.0
AUH upgrade failed because the LICENSE checksum no longer matched. This
is because the attribution in the file was removed upstream in v67.8.0.
Patch fuzz also needed to be upgraded for
0001-conditionally-do-not-fetch-code-by-easy_install.patch.

Changelog: https://setuptools.pypa.io/en/stable/history.html

(From OE-Core rev: a248b94dff49b0331bd1e37e594f983fc50b3f0d)

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>
2023-07-14 17:31:05 +01:00
Trevor Gamblin
3937a63cbb python3: parallelize ptests, add test_cppext dependencies
This is based on a previous patch from Alex Kanavin (thanks Alex),
but it retains our use of sed to parse the test output into a usable
form. The intent was to use the test module's --junit-xml feature and
parse the resulting log instead of using sed, but various errors were
encountered when testing this method, so that will need further
investigation before we can consider adopting it. Two missing ptest
dependencies on python3-cgitb and python3-zipapp were already merged
in a previous patch, so only gcc, g++, and binutils were left to add
as ptest RDEPENDS.

ptest output and runtime with this change:

== Tests result: SUCCESS ==

405 tests OK.

29 tests skipped:
    test_asdl_parser test_check_c_globals test_clinic test_curses
    test_devpoll test_gdb test_idle test_ioctl test_kqueue
    test_launcher test_msilib test_ossaudiodev test_readline
    test_smtpnet test_socketserver test_startfile test_tcl test_tix
    test_tk test_ttk_guionly test_ttk_textonly test_turtle
    test_urllib2net test_urllibnet test_winconsoleio test_winreg
    test_winsound test_xmlrpc_net test_zipfile64

Total duration: 5 min 3 sec

[YOCTO #13298]

(From OE-Core rev: 50a719d3002a4119e8b2be43aec8fe01aa0c2a40)

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>
2023-07-14 17:31:05 +01:00
Ross Burton
5591c1eebf python3-jsonpointer: upgrade to 2.4
Drop the merged patch.

(From OE-Core rev: d4581006a2a05c289280bece02b9a44e409299b8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-10 11:36:34 +01:00
Tim Orling
28de7ad731 python3-pygments: upgrade 2.14.0 -> 2.15.1
* Upstream has dropped setup.py
* Inherit python_setuptools_build_meta instead of setuptools3
* Add self as maintainer, as this is a dependency for python3-sphinx

Adds some new lexers, updates a few others. A handful of bug fixes.

https://github.com/pygments/pygments/blob/2.15.1/CHANGES#L6
https://github.com/pygments/pygments/blob/2.15.1/CHANGES#L18

(From OE-Core rev: 22e2569ae4843071b2b48d026ca4742351baf6d1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-10 11:36:34 +01:00
Trevor Gamblin
034dc159c3 python3: add cgitb, zipapp ptest dependencies
Without these, test_cgitb and test_zipapp both fail when running the
python3 ptests.

Also reorder the ${PN}-misc list to be alphabetical.

(From OE-Core rev: 379c5fac766472da7c32937acc6fdf8363bdd935)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-10 11:36:34 +01:00
Ross Burton
f622013d3f python3: fix missing comma in get_module_deps3.py
Wes Tarro <wes.tarro@azuresummit.com> noticed a missing comma in a
preplace() call, add it.

That said, calling replace() with one argument results in a TypeError,
so this is obviously dead code.

(From OE-Core rev: 9b2e2c8d809e7ca34451ec9702b029a00dfb410b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-10 11:36:34 +01:00
Tim Orling
bd530bd3dc python3-hypothesis: upgrade 6.79.2 -> 6.80.0
Changes:
* This release drops support for Python 3.7, which reached end of life
  on 2023-06-27.
* Fixes occasional recursion-limit-exceeded errors when validating deeply
  nested strategies. Closes: issue #3671
* This patch updates our vendored list of top-level domains, which is used
  by the provisional domains() strategy.

https://hypothesis.readthedocs.io/en/latest/changes.html#v6-80-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-79-4
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-79-3

(From OE-Core rev: 550b8406a479c70206a81c4f24019cb8dadc49db)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-10 11:36:34 +01:00
Tim Orling
7ab374fc51 python3-typing-extensions: upgrade 4.6.3 -> 4.7.0
New features and bug fixes.

NOTE: This is expected to be the last feature release supporting Python 3.7,
      which reaches its end of life on June 27, 2023. Version 4.8.0 will
      support only Python 3.8.0 and up.

https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-470-june-28-2023
https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-470rc1-june-21-2023

(From OE-Core rev: a9a8aa9a33403fb8465b510e5b39417dc2ac72a1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-10 11:36:34 +01:00
Tim Orling
5d54a38551 python3-urllib3: upgrade 2.0.2 -> 2.0.3
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#203-2023-06-07

* Allowed alternative SSL libraries such as LibreSSL, while still issuing a
  warning as we cannot help users facing issues with implementations other
  than OpenSSL. (#3020)
* Deprecated URLs which don't have an explicit scheme (#2950)
* Fixed response decoding with Zstandard when compressed data is made of
  several frames. (#3008)
* Fixed assert_hostname=False to correctly skip hostname check. (#3051)

License-Update: Removed outdated reference to CONTRIBUTORS.txt

(From OE-Core rev: 38464a98571d8c2c321b976fbf7963262531c25c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-10 11:36:34 +01:00
Tim Orling
3ef63cc384 python3-pytest-subtests: upgrade 0.10.0 -> 0.11.0
* inherit python_setuptools_build_meta since setup.py was dropped

https://github.com/pytest-dev/pytest-subtests/blob/main/CHANGELOG.rst#0110-2023-05-15

* Logging is displayed for failing subtests (#92)
* Passing subtests no longer turn the pytest output to yellow (as if
  warnings have been issued) (#86). Thanks to Andrew-Brock for providing
  the solution.
* Now the msg contents of a subtest is displayed when running pytest with
  -v (#6).

(From OE-Core rev: 6e2990c871043f4c94b9a7838c56a8e189ea66a1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-10 11:36:34 +01:00
Alexander Kanavin
de230d6abd python3-cryptography: update a patch to upstream's better followup fix
(From OE-Core rev: 3a36043ab0e09213438671e980481c3a57bfb540)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-28 23:02:50 +01:00
Wang Mingyu
2eb8de0d45 python3-sphinx-rtd-theme: upgrade 1.2.1 -> 1.2.2
(From OE-Core rev: 6c47cbed6d727b46c0bacfcf55dd745c3d601c27)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-28 07:56:33 +01:00
Wang Mingyu
5b24874b17 python3-ruamel-yaml: upgrade 0.17.31 -> 0.17.32
Changelog:
- fix issue with scanner getting stuck in infinite loop

(From OE-Core rev: 4a09cab4b66e3e48421ea377db0f53a3816dca96)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-28 07:56:33 +01:00
Wang Mingyu
1f623de9cc python3-pytest: upgrade 7.3.1 -> 7.4.0
Changelog:
https://docs.pytest.org/en/stable/changelog.html

(From OE-Core rev: 272f6ac29246c67c8ed1ed685ab2c0631fc5fbe3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-28 07:56:33 +01:00