Commit Graph

2046 Commits

Author SHA1 Message Date
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
Ross Burton
ce6add6f8a python3: use libedit instead of readline
libedit has feature parity with readline but is more permissively
licensed (BSD verses GPLv3), so switch to libedit by default.

(From OE-Core rev: ce9a795fe720eb96a9a16e65862f9721163a5986)

(From OE-Core rev: 685df78325435db2d67ceb1a96839e0adbb568d0)

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
Tim Orling
a9d52e2621 python3-attrs: upgrade 22.2.0 -> 23.1.0
* Change inherit python_setuptools_build_meta to python_hatchling
* Add DEPENDS:
  - python3-hatch-vcs-native
  - python3-hatch-fancy-pypi-readme-native

Changes:
https://www.attrs.org/en/stable/changelog.html

(From OE-Core rev: 9577a327572acb5c32400f6983ade0c3f0e1b71d)

(From OE-Core rev: 07e576b1798433a70e63f9bb12f4dce2a5220b0e)

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-05-09 07:50:14 +01:00
Tim Orling
4641605c79 python3-urllib3: upgrade 1.26.15 -> 2.0.2
* Change inherit from setuptools3 to python_hatchling
* Add RDEPENDS for python3-json

Migration Guide:
https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html

Changes:
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#202-2023-05-03
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#201-2023-04-30
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#200-2023-04-26

(From OE-Core rev: bb33ddf5faa47274f9a2f3ca285f2ec3eb3588f5)

(From OE-Core rev: df716c1039826510a5d03fcad972e7b3913368d0)

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-05-09 07:50:14 +01:00
Frederic Martinsons
eb1cc1e319 python3-bcrypt: enable build of unit tests
The source code of bcrypt extension doesn't define any tests
but it is to show the ptest-cargo usage

Below is the updated test suite output for the recipe (cut):

PASS: tests/test_bcrypt.py:test_invalid_params[password-$2b$04$cVWp4XaNU8a4v1uMRum2SO-513-10-ValueError]
PASS: tests/test_bcrypt.py:test_invalid_params[password-$2b$04$cVWp4XaNU8a4v1uMRum2SO-20-0-ValueError]
PASS: tests/test_bcrypt.py:test_2a_wraparound_bug
============================================================================
Testsuite summary

running 0 tests

test result: ok$<2>. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

root@qemux86-64:/usr/lib/python3-bcrypt/ptest#

(From OE-Core rev: 7388fec005b94d8e3827afcdf0de1e5b05ea1346)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Richard Purdie
d364062065 python3-psutil: Drop nativesdk class extension due to breakage
We're seeing warnings like:

WARNING: Nothing RPROVIDES 'nativesdk-procps' (but virtual:nativesdk:XXX/python3-psutil_5.9.4.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-python3-psutil-dev' (but virtual:nativesdk:XXX/python3-psutil_5.9.4.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-python3-psutil' (but virtual:nativesdk:XXX/python3-psutil_5.9.4.bb RDEPENDS on or otherwise requires it)

which means this likely has never been working in the first place. Drop it
until it is needed and fixed to work.

(From OE-Core rev: e1c9cbe8b14c259c30df375d3f8c1bd9b3a818fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 07:33:18 +01:00
Ross Burton
0d8b76c74f python3-pytest: add missing tomllib RDEPENDS
Pytest can call tomllib (for example, when running the
python3-cryptography tests), so add it as a RDEPENDS.

(From OE-Core rev: 2bc8c7135045cea2d95990df7df96f271a609758)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 07:33:18 +01:00
Wang Mingyu
bc9b1df26f python3-pytest: upgrade 7.2.2 -> 7.3.1
Changelog:
https://docs.pytest.org/en/stable/changelog.html

(From OE-Core rev: 596b7242bc0730d24689fa1556aa0e1f66cde840)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Wang Mingyu
5f2b568c89 python3-packaging: upgrade 23.0 -> 23.1
Changelog:
===========
 Parse raw metadata
 Import underlying parser functions as an underscored variable
 Improve error for local version label with unsupported operators
 Add dedicated error for specifiers with incorrect .* suffix
 Replace spaces in platform names with underscores
 Relax typing of _key on _BaseVersion
 Handle prefix match with zeros at end of prefix correctly

(From OE-Core rev: ecd541b4290932d2b547376e8dc04863634f11a7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00