Commit Graph

1904 Commits

Author SHA1 Message Date
Alexander Kanavin
4823710cbd python3: upgrade 3.11.2 -> 3.11.3
(From OE-Core rev: 7d5bb3a4690ef61a1fee21773b4717e829789e32)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-16 15:40:11 +01:00
Trevor Gamblin
ad31564d41 python3-poetry-core: upgrade 1.5.2 -> 1.6.1
Changelog: https://github.com/python-poetry/poetry-core/blob/main/CHANGELOG.md

Notably, the project replaced its use of tomlkit with tomli, so the
LICENSEs and associated checksums had to be changed.

(From OE-Core rev: 2e26af9c67ba0ceccdda3eb8340fddb95f3864ca)

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-06-07 23:41:20 +01:00
Trevor Gamblin
b970e21017 python3-webcolors: upgrade 1.12 -> 1.13
Replaced the inherit of setuptools3 with python_setuptools_build_meta to
make the new version build.

Changelog (see https://webcolors.readthedocs.io/en/latest/changelog.html):

- Supported Python versions are now 3.7, 3.8, 3.9, 3.10, and 3.11
- The codebase was significantly reorganized and modernized. Public API
  is unchanged. Imports should continue to be directly from the
  top-level webcolors module; attempting to import from submodules is not
  supported.
- Now packaging declaratively via pyproject.toml with PEP 517 support
  from setuptools.

(From OE-Core rev: 434aaf5e02332a54a17a2812969165f6f6b3674b)

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-06-07 23:41:19 +01:00
Wang Mingyu
674b2c8b77 python3-typing-extensions: upgrade 4.5.0 -> 4.6.2
Changelog:
============
-  Fix use of @deprecated on classes with __new__ but no __init__.
-  Fix regression in version 4.6.1 where comparing a generic class against a
   runtime-checkable protocol using isinstance() would cause AttributeError to
   be raised if using Python 3.7.
-  Change deprecated @runtime to formal API @runtime_checkable in the error message.
-  Fix regression in 4.6.0 where attempting to define a Protocol that was generic
   over a ParamSpec or a TypeVarTuple would cause TypeError to be raised.
-  typing_extensions is now documented at https://typing-extensions.readthedocs.io/en/latest/.
-  Add typing_extensions.Buffer, a marker class for buffer types, as proposed
   by PEP 688. Equivalent to collections.abc.Buffer in Python 3.12.
-  Backport two CPython PRs fixing various issues with typing.Literal:
   python/cpython#23294 and python/cpython#23383. Both CPython PRs were originally,
   and both were backported to Python >=3.9.1, but no earlier.
-  A side effect of one of the changes is that equality comparisons of Literal
   objects will now raise a TypeError if one of the Literal objects being compared
   has a mutable parameter. (Using mutable parameters with Literal is not
   supported by PEP 586 or by any major static type checkers.)
-  Literal is now reimplemented on all Python versions <= 3.10.0.
-  Backport CPython PR 26067, ensuring that isinstance() calls on protocols raise
   TypeError when the protocol is not decorated with @runtime_checkable.
-  Backport several significant performance improvements to runtime-checkable protocols
   that have been made in Python 3.12 (see python/cpython#74690 for details).
-  A side effect of one of the performance improvements is that the members of a
   runtime-checkable protocol are now considered "frozen" at runtime as soon as the
   class has been created. Monkey-patching attributes onto a runtime-checkable
   protocol will still work, but will have no impact on isinstance() checks comparing
   objects to the protocol. See "What's New in Python 3.12" for more details.
-  isinstance() checks against runtime-checkable protocols now use inspect.getattr_static()
   rather than hasattr() to lookup whether attributes exist (backporting python/cpython#103034).
-  Backport the ability to define __init__ methods on Protocol classes, a change
   made in Python 3.11 (originally implemented in python/cpython#31628
-  Speedup isinstance(3, typing_extensions.SupportsIndex) by >10x on Python <3.12.
-  Add typing_extensions versions of SupportsInt, SupportsFloat, SupportsComplex,
   SupportsBytes, SupportsAbs and SupportsRound. These have the same semantics as
   the versions from the typing module, but isinstance() checks against the
   typing_extensions versions are >10x faster at runtime on Python <3.12.
-  Add __orig_bases__ to non-generic TypedDicts, call-based TypedDicts, and call-based NamedTuples.
-  Add typing_extensions.get_original_bases, a backport of types.get_original_bases,
   introduced in Python 3.12 (CPython PR python/cpython#101827, originally
-  This function should always produce correct results when called on classes
   constructed using features from typing_extensions.
-  Constructing a call-based TypedDict using keyword arguments for the fields
   now causes a DeprecationWarning to be emitted. This matches the behaviour
   of typing.TypedDict on 3.11 and 3.12.
-  Backport the implementation of NewType from 3.10 (where it is implemented as
   a class rather than a function). This allows user-defined NewTypes to be pickled.
-  Fix tests and import on Python 3.12, where typing.TypeVar can no longer be subclassed.
-  Add typing_extensions.TypeAliasType, a backport of typing.TypeAliasType from PEP 695.
-  Backport changes to the repr of typing.Unpack that were made in order
   to implement PEP 692 (backport of python/cpython#104048).

(From OE-Core rev: a37154b9166323d05cca970ebb37bee0d5250893)

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-06-02 15:16:36 +01:00
Wang Mingyu
15815e6d6c python3-trove-classifiers: upgrade 2023.5.2 -> 2023.5.24
Changelog:
Add identifier "Programming Language :: Lua" (#145)

(From OE-Core rev: e39aa7d116826a34900f4fcd2a4c38e81116c4fc)

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-06-02 15:16:36 +01:00
Wang Mingyu
7c9b7691d6 python3-sphinx-rtd-theme: upgrade 1.2.0 -> 1.2.1
(From OE-Core rev: 83019518bbd32c2c2fc753d3e9ec8c205682285a)

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-06-02 15:16:36 +01:00
Wang Mingyu
29355ebe30 python3-setuptools-rust: upgrade 1.5.2 -> 1.6.0
Changelog:
==========
 Prefer passing --crate-type option to cargo if "toolchain >= 1.64". #322
 Fix a bug where rebuilding the library would cause any running processes using it to segfault. #295
 Fix setup.cfg format for compatibility with "poetry==1.4.0". #319

(From OE-Core rev: 04cae5651275b233ec0ecd9c51ee0aaad951baa0)

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-06-02 15:16:36 +01:00
Wang Mingyu
8172d3f70c python3-requests: upgrade 2.30.0 -> 2.31.0
Changelog:
==========
Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential
forwarding of Proxy-Authorization headers to destination servers when
following HTTPS redirects.

(From OE-Core rev: 97bdf3baf6e612757863e05e84e3b79c4330d27b)

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-06-02 15:16:36 +01:00
Wang Mingyu
2e4fda8324 python3-pycryptodomex: upgrade 3.17 -> 3.18.0
Changelog:
===========
New features
---------------
* Added support for DER BOOLEAN encodings.
* The library now compiles on Windows ARM64.

Resolved issues
---------------
* GH#722: "nonce" attribute was not correctly set for XChaCha20_Poly1305 ciphers.
* GH#728: Workaround for a possible x86 emulator bug in Windows for ARM64.
* GH#739: OID encoding for arc 2 didn't accept children larger than 39.
* Correctly check that the scalar matches the point when importing an ECC private key.

(From OE-Core rev: e11c8fe22ed3683d032b4a1d3c46f607c36edbf2)

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-06-02 15:16:36 +01:00
Wang Mingyu
9403c5b0d2 python3-pycryptodome: upgrade 3.17 -> 3.18.0
Changelog:
===========
New features
---------------
* Added support for DER BOOLEAN encodings.
* The library now compiles on Windows ARM64.

  Resolved issues
---------------
* GH#722: "nonce" attribute was not correctly set for XChaCha20_Poly1305 ciphers.
* GH#728: Workaround for a possible x86 emulator bug in Windows for ARM64.
* GH#739: OID encoding for arc 2 didn't accept children larger than 39.
* Correctly check that the scalar matches the point when importing an ECC private key.

(From OE-Core rev: 74ab9f3f90ca56fbef06b3f075b0120da052b379)

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-06-02 15:16:36 +01:00
Wang Mingyu
a58c545876 python3-numpy: upgrade 1.24.2 -> 1.24.3
Changelog:
==========
A total of 17 pull requests were merged for this release.

    #23206: BUG: fix for f2py string scalars (#23194)
    #23207: BUG: datetime64/timedelta64 comparisons return NotImplemented
    #23208: MAINT: Pin matplotlib to version 3.6.3 for refguide checks
    #23221: DOC: Fix matplotlib error in documentation
    #23226: CI: Ensure submodules are initialized in gitpod.
    #23341: TYP: Replace duplicate reduce in ufunc type signature with reduceat.
    #23342: TYP: Remove duplicate CLIP/WRAP/RAISE in __init__.pyi.
    #23343: TYP: Mark d argument to fftfreq and rfftfreq as optional...
    #23344: TYP: Add type annotations for comparison operators to MaskedArray.
    #23345: TYP: Remove some stray type-check-only imports of msort
    #23370: BUG: Ensure like is only stripped for like= dispatched functions
    #23543: BUG: fix loading and storing big arrays on s390x
    #23544: MAINT: Bump larsoner/circleci-artifacts-redirector-action
    #23634: BUG: Ignore invalid and overflow warnings in masked setitem
    #23635: BUG: Fix masked array raveling when order="A" or order="K"
    #23636: MAINT: Update conftest for newer hypothesis versions
    #23637: BUG: Fix bug in parsing F77 style string arrays.

(From OE-Core rev: 38192c432204ec498cbdd1005ec2577f84e36018)

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-06-02 15:16:36 +01:00
Wang Mingyu
9f2173f18f python3-hypothesis: upgrade 6.71.0 -> 6.75.7
Changelog:
 https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: 80005afefa000dd4016a63cb365735666f898d3d)

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-06-02 15:16:36 +01:00
Wang Mingyu
db8001891f python3-hatch-fancy-pypi-readme: upgrade 22.8.0 -> 23.1.0
Changelog:
 Add CLI support for hatch.toml.

(From OE-Core rev: 9c1c6442d015e86fc07a154bed1e28ecde659f0e)

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-06-02 15:16:36 +01:00
Wang Mingyu
a093d23802 python3-dbusmock: upgrade 0.28.7 -> 0.29.0
Changelog:
==========
    Support loading templates from XDG_DATA_DIRS
    iio-sensors-proxy: Throw proper D-Bus errors instead of Python Exception

(From OE-Core rev: f32eb15fc3d310803bc99012039989d039b34959)

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-06-02 15:16:36 +01:00
Wang Mingyu
d74800ca36 python3-cython: upgrade 0.29.34 -> 0.29.35
Changelog:
==========
* A garbage collection enabled subtype of a non-GC extension type could call into the
  deallocation function of the super type with GC tracking enabled.  This could lead
  to crashes during deallocation if GC was triggered on the type at the same time.
  (Github issue :issue:'5432')

* Some C compile failures and crashes in CPython 3.12 were resolved.

* "except + nogil" was syntactically not allowed.
  "except +nogil" (i.e. defining a C++ exception handling function called "nogil")
  is now disallowed to prevent typos.
  (Github issue :issue:'5430')

* A C compile failure in PyPy 3.10 was resolved.
  Patch by Matti Picus.  (Github issue :issue:'5408')

* Cython modules now use PEP-489 multi-phase init by default in PyPy 3.9 and later.
  Original patch by Matti Picus.  (Github issue :issue:'5413')

* API header files generated by different Cython versions can now be included in the
  same C file.
  (Github issue :issue:'5383')

* Function signatures containing a type like 'tuple[()]' could not be printed.
  Patch by Lisandro Dalcin.  (Github issue :issue:'5355')

(From OE-Core rev: 73a1e908048374d6873497beacab9ae26b258332)

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-06-02 15:16:36 +01:00
Wang Mingyu
cae9740a66 python3-sphinx: upgrade 6.1.3 -> 7.0.1
License-Update: Remove smartypants from LICENSE

Changelog:
===========
 #11411: Support Docutils 0.20.
 #11418: Clean up remaining references to sphinx.setup_command following the removal of support for setuptools.

(From OE-Core rev: c823432d3941c85ca936a99da69be35220f01bd9)

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-06-02 15:16:36 +01:00
Wang Mingyu
edf998161c python3-ruamel-yaml: upgrade 0.17.21 -> 0.17.31
Changelog:
=========
- added tag.setter on 'ScalarEvent' and on 'Node', that takes either
    a 'Tag' instance, or a str
- fix issue 467, caused by Tag instances not being hashable
- changed the internals of the tag property from a string to a class which allows
  for preservation of the original handle and suffix. This should
  result in better results using documents with %TAG directives, as well
  as preserving URI escapes in tag suffixes.
- fix for issue 464: documents ending with document end marker without final newline
  fail to load
- fix issue with inline mappings as value for merge keys
- fix for 468, error inserting after accessing merge attribute on "CommentedMap"
- fix for issue 461 pop + insert on same 'CommentedMap' key throwing error
- Fix for error on edge cage for issue 459
- fix for regression while dumping wrapped strings with too many backslashes removed
- rewrite of "CommentedMap.insert()". If you have a merge key in
  the YAML document for the mapping you insert to, the position value should
  be the one as you look at the YAML input.
  This fixes issue 453 where other
  keys of a merged in mapping would show up after an insert
  It
  also fixes a call to '.insert()' resulting into the merge key to move
  to be the first key if it wasn't already and it is also now possible
  to insert a key before a merge key (even if the fist key in the mapping).
- fix (in the pure Python implementation including default) for issue 447.
  also brought up by brent on
  'StackOverflow <https://stackoverflow.com/q/40072485/1307905>'__)
- fix 458, error on plain scalars starting with word longer than width.
- fix for ".update()" no longer correctly handling keyword arguments
- fix issue 454: high Unicode (emojis) in quoted strings always
  escaped
- fix issue with emitter conservatively inserting extra backslashes in wrapped
  quoted strings
- fix issue 449 where the second exclamation marks got URL encoded
  and fixing PR
- fix issue with indent != 2 and literal scalars with empty first line
- updated __repr__ of CommentedMap, now that Python's dict is ordered -> no more
  ordereddict(list-of-tuples)
- merge MR 4, handling OctalInt in YAML 1.1
- fix loading of '!!float 42'
- line numbers are now set on 'CommentedKeySeq' and 'CommentedKeyMap' (which
  are created if you have a sequence resp. mapping as the key in a mapping)
- plain scalars: put single words longer than width on a line of their own, instead
  of after the previous line
- fix for folded scalar part of 421: comments after ">" on first line of folded
  scalars are now preserved (as were those in the same position on literal scalars).
- added stacklevel to warnings
- typing changed from Py2 compatible comments to Py3, removed various Py2-isms

License-Update: Copyright year updated to 2023

(From OE-Core rev: a83a1f21c1c1637017d4046b32fc5e558f342add)

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-06-02 15:16:36 +01:00
Wang Mingyu
dd560415b0 python3-psutil: upgrade 5.9.4 -> 5.9.5
License-Update: Fix license: extra open quote.

(From OE-Core rev: c59d320d21620eb0788f87828a402aef4393f499)

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-06-02 15:16:35 +01:00
Wang Mingyu
e4d4076a83 python3-pip: upgrade 23.0.1 -> 23.1.2
License-Update:
  -Copyright changed from "(C) 2016 Jason R Coombs <jaraco@jaraco.com>"
   to "Jason R. Coombs"
  -The wrapping position has been adjusted

Changelog:
===========
- Upgrade setuptools to 67.7.2
- Revert #11487, as it causes issues with virtualenvs created by the Windows
  Store distribution of Python. (#11987)
- Fix grammar by changing "A new release of pip available:" to "A new release
  of pip is available:" in the notice used for indicating that. (#11529)
- Normalize paths before checking if installed scripts are on PATH. (#11719)
- Correct the way to decide if keyring is available. (#11774)
- More consistent resolution backtracking by removing legacy hack related to
  setuptools resolution (#11837)
- Include AUTHORS.txt in pip's wheels. (#11882)
- The uninstall and install --force-reinstall commands no longer call
  normalize_path() repeatedly on the same paths. Instead, these results are
  cached for the duration of an uninstall operation, resulting in improved
  performance, particularly on Windows. (#11889)
- Fix and improve the parsing of hashes embedded in URL fragments. (#11936)
- When package A depends on package B provided as a direct URL dependency
  including a hash embedded in the link, the --require-hashes option did not
  warn when user supplied hashes were missing for package B. (#11938)
- Correctly report requested_extras in the installation report when extras
  are specified for a local directory installation. (#11946)
- When installing an archive from a direct URL or local file, populate
  download_info.info.hashes in the installation report, in addition to the
  legacy download_info.info.hash key. (#11948)

(From OE-Core rev: d859e35c533976d05bc7e74e05c3fc111654670f)

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-06-02 15:16:35 +01:00
Richard Purdie
7412af2d39 Revert "python3/ruby/shadow: Revert add libxcrypt-native dependency"
This reverts commit c6198e1b1c3e3a3413b6ff9f014b40114f1850db.
This reverts commit 167c2c9f15c1bfe401c0512e420a76fa1379c012.
This reverts commit 65532fc751dc00e5568e256166f7b259d3a3c06c.

The dependencies should not be a -native in the target case. Revert
these whilst the proper patch is worked out.

(From OE-Core rev: 54eccb76eb8ba2086a56a30dfbb8aba06b02865a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-29 13:32:55 +01:00
Markus Volk
81fd8e59b5 python3: add libxcrypt-native dependency
crypt.h is otherwise taken from the host machine

(From OE-Core rev: c6198e1b1c3e3a3413b6ff9f014b40114f1850db)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-28 09:09:47 +01:00
Ross Burton
9e3be6c905 python3-async: remove recipe
This is part of the same project as GitPython, but hasn't been used by
gitdb (the sole user) since 2014.

(From OE-Core rev: 22a4aba5c2799cb09e1cdff075f9fe92426ea438)

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-05-22 10:53:49 +01:00
Trevor Gamblin
e3ac99049d python3-trove-classifiers: upgrade 2023.4.29 -> 2023.5.2
(From OE-Core rev: 682f527fb78ce3cce7e981dac9d55dde4e920784)

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-05-22 10:53:49 +01:00
Trevor Gamblin
bce7fcc0b5 python3-hatchling: upgrade 1.14.1 -> 1.17.0
(From OE-Core rev: f656c8b3b05f1453d0a6401613d1340b758b7a4b)

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-05-22 10:53:49 +01:00
Ross Burton
00a0136c3b python3-gitdb: remove python3-async dependency
The dependency on the async module was removed back in 0.6.0 (November
2014).

Whilst here, also merge the bb/inc and stop using PYTHON_PN, as we only
support Python 3.

(From OE-Core rev: 5fc09287ec8ca4332614eaa6b0dd5aabf10f6a31)

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-05-22 10:53:49 +01:00
Bartosz Golaszewski
70f38fa6a7 python3-manifest: turtle: new package
Extend the manifest with definitions for the turtle package from the
Python standard library. Currently this package cannot be imported at
run-time because python3-misc doesn't pull the required dependencies.

(From OE-Core rev: 09476b2be0c8a155dc6494442cc3caca97782595)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
7640c4b578 python3-manifest: zipapp: new package
Extend the manifest with definitions for the zipapp package from the
Python standard library. Currently this package cannot be imported at
run-time because python3-misc doesn't pull the required dependencies.

(From OE-Core rev: 30186af3a3c46d9349940d952a0d8d1826b0dd4a)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
ed4ddd6619 python3-manifest: cgitb: new package
Extend the manifest with definitions for the cgitb package from the
Python standard library. Currently this package cannot be imported at
run-time because python3-misc doesn't pull the required dependencies.

(From OE-Core rev: b9428ccad6238e33dc7bb344e06f4f8cf73b2ef8)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
83c329ed86 python3-pygobject: add missing run-time dependencies
Add missing RDEPENDS for this package.

(From OE-Core rev: b6d6b4be79b3ee0837680296c9c90e18d35fbee1)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
ccf95f51e7 python3-pycryptodome: add missing run-time dependencies
Add missing RDEPENDS for this package.

(From OE-Core rev: d22713851eaafad78b8b6392a7bff15d34b7d09c)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
32378e8736 python3-pycryptodome: don't use PYTHON_PN
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.

(From OE-Core rev: f7b4443a83570f8e8560a684a580084053ba3c52)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
0b9f94d1e5 python3-pyproject-hooks: add missing run-time dependencies
Add missing RDEPENDS for this package.

(From OE-Core rev: 2720189038338518abc791609b5962dcce4aa30c)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
d7d56550ac python3-setuptools-rust: fix RDEPENDS and allow target build
Cargo and rustc can now be built for the target architecture. There's no
reason to limit the setuptools rust extensions to native build only so
make the RDEPENDS global. Also: add the missing ones.

(From OE-Core rev: aa8001e9bff9f9dd92a4a1ce435f1ae452e104c9)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
dddaef591f python3-sphinx-rtd-theme: add missing run-time dependencies
Add missing RDEPENDS for this package.

Remove DEPENDS as this package doesn't really have any.

(From OE-Core rev: ee64269ffe45a54b0ec2385bac5997b9b294c2c3)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
ec57590b88 python3-installer: add missing run-time dependencies
Add missing RDEPENDS for this package.

(From OE-Core rev: 85ca038b00ce2406ae0e9bb66bee7e544d333537)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
9aef5578dd python3-pathspec: add missing run-time dependencies
Add missing RDEPENDS for this package.

(From OE-Core rev: 7d0e2a4fc168ae7642fdf93e600b87fd989caeca)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
59a1d628ca python3-tomli: add missing run-time dependencies
Add missing RDEPENDS for this package.

(From OE-Core rev: ae6053858810b5b2e8e7f09f85a50246bed54dbc)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
709411fac3 python3-hypothesis: fix run-time dependencies
The main hypothesis module depends on pytest already so move it to
global RDEPENDS from ptest-specific ones.

(From OE-Core rev: 434f9473791f0159bf79df7731753ff91bdbe190)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
4589cc39da python3-certifi: add missing run-time dependencies
Add missing RDEPENDS for this package.

(From OE-Core rev: cc65a232164caee7bf05ab73a6cd519fd07a5d0a)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
2dc8cf6d9a python3-attrs: add missing run-time dependencies
Add missing RDEPENDS for this package.

(From OE-Core rev: 852fbb49d41dd31ce4e30d0a25081a5b12dcb29f)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
a13bf50538 python3-attrs: don't use PYTHON_PN
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.

(From OE-Core rev: 877e55cd5d626c2ad06624992ff9e17a2b481acf)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
cdd2b728d0 python3-attrs: unify RDEPENDS
The nativesdk and target RDEPENDS are the same and there's nothing that
prohibits this package from build built for the native sysroot either.
Use the global RDEPENDS instead of per-class assignments.

While at it: order the dependencies alphabetically.

(From OE-Core rev: aaaeffe8fca578abcbc19bbb306ff4a8b21bb59e)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Ross Burton
1ee93dc114 python3-pygobject: mandate gobject-introspection-data DISTRO_FEATURE
PyGObject needs gobject-introspection to function, so add a distro
features check.

(From OE-Core rev: 723949d491991ec6e555f30d4b06a59fecbc1f35)

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-05-22 10:53:48 +01:00
Ross Burton
f96ce2cdf9 python3-pygobject: remove explicit gobject-introspection DEPENDS
The gobject-introspection inherit pulls in the dependency for us.

(From OE-Core rev: 96825cc883ceaf68cc2f90cd619bb55b5c5a7850)

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-05-22 10:53:48 +01:00
Khem Raj
1bc8aad6ff python3-requests: Upgrade to 2.30.0
Adds supports for urllib3 2.0 and might break urllib3 1.x [1]

[1] https://github.com/psf/requests/releases/tag/v2.30.0

(From OE-Core rev: 9f7d4942875d9c996e5f36e46f4b9e5e6d19c6ce)

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-05-11 17:08:29 +01:00
Trevor Gamblin
1f6815e210 python3-calver: Add recipe
calver is "a setuptools extension for automatically defining your Python
package version as a calendar version." It is required for
python3-trove-classifiers (another new recipe), which in turn is
required for the upgrade of python3-hatchling from 1.13.0 to work.

(From OE-Core rev: 79ed4fcad6bd49c269ada3ab99ca4548aaf34e99)

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-05-11 17:08:29 +01:00
Trevor Gamblin
a54cb25905 python3-hatchling: upgrade 1.13.0 -> 1.14.1
This upgrade depends on python3-calver and python3-trove-classifiers,
which have new recipes being submitted.

(From OE-Core rev: 1cdec71577c19d9b1592e9521d6a653eb91dfb18)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-11 17:08:29 +01:00
Trevor Gamblin
91d31b8670 python3-trove-classifiers: Add recipe
python3-trove-classifiers is "Canonical source for classifiers on
PyPI.". It is required to update python3-hatchling from the current
version (1.13.0) in oe-core, and depends on python3-calver (another new
recipe). Also add ptests.

(From OE-Core rev: 1b417898c296b5732eac14465ba459411ebe4902)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-11 17:08:29 +01:00
Ross Burton
2942c7f2c1 python3: use system expat
Instead of statically linking to an integrated expat which may not be
updated to fix security issues, dynamically link to the system expat.

(From OE-Core rev: 4c63942a47f6d10eda6ed6718bfcfc89396b7d67)

(From OE-Core rev: 2621924191fa516c66eb42295ec4c68820c0ed17)

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-05-09 07:50:14 +01:00
Ross Burton
ee2f28c91a python3: clean up PACKAGECONFIG
There's no need to define the PACKAGECONFIG for each class when they're
all identical (as native DISTRO_FEATURES are pruned before use).

Also add a disabled case to the LTO configuration to be explicit.

(From OE-Core rev: 00471d196768fcb4acaf1e2439fd90936d93fd98)

(From OE-Core rev: 52232f8a6afef20ff4ef70367ecce74043210a46)

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-05-09 07:50:14 +01:00