Commit Graph

6451 Commits

Author SHA1 Message Date
Tim Orling
94c20e1ef4
meta-python: drop ${PYTHON_PN}
python 2 is long unsupported, so we no longer need this variable.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:24 -08:00
Derek Straka
11399f45be
python3-trustme: add runtime dependency for tests and re-add to ptest
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:24 -08:00
Tim Orling
c4ae69707d
python3-pyproject-metadata: move to oe-core
This is a dependency for python3-meson-python.

This was missed in the earlier round of moving to oe-core.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:23 -08:00
Tim Orling
b36965e7dd
python3-meson-python: move to oe-core
As part of the move of python_mesonpy.bbclass to oe-core.

python3-numpy in oe-core declares "mesonpy" as the build-backend in
pyproject.toml.

This is part of an overall move to replace usage of setuptools3.bbclass.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:23 -08:00
Wang Mingyu
bd8c858652
python3-gevent: upgrade 23.9.1 -> 24.2.1
0001-_setuputils.py-Do-not-add-sys_inc_dir.patch
refreshed for 24.2.1

Changelog:
===========
-Add support for Python patch releases 3.11.8 and 3.12.2, which changed internal
 details of threading.
-Errors raised from subprocess.Popen may not have a filename set.
-SSLSocket.recv_into and SSLSocket.read no longer require the buffer to
 implement len and now work with buffers whose size is not 1.
-gh-108310: Fix CVE-2023-40217: Check for & avoid the ssl pre-close flaw.
-Drop setuptools to a soft test dependency.
-Drop support for very old versions of CFFI.
-Update bundled c-ares from 1.19.1 to 1.26.0.
-Locks created by gevent, but acquired from multiple different threads (not
 recommended), no longer spin to implement timeouts and interruptible blocking.
 Instead, they use the native functionality of the Python 3 lock.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:22 -08:00
Wang Mingyu
5e8ac4795a
python3-engineio: upgrade 4.8.2 -> 4.9.0
Changelog:
===========
-More robust handling of polling disconnects
-Clearer client logs after disconnect

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:22 -08:00
Wang Mingyu
6e58f09f27
python3-elementpath: upgrade 4.2.0 -> 4.3.0
Changelog:
==========
-Change the purpose of the evaluation with a dynamic schema context, that
 is now used only for labeling tokens with XSD types
-The static evaluation is now performed also when a schema is provided to
 the parser
-First tests with Python 3.13 pre-releases by adding a tox.ini testenv

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:22 -08:00
Wang Mingyu
77712376c6
python3-dnspython: upgrade 2.5.0 -> 2.6.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:22 -08:00
Wang Mingyu
8d95a55b59
python3-django: upgrade 5.0.1 -> 5.0.2
Changelog:
===========
-Reallowed, following a regression in Django 5.0.1, filtering against local
 foreign keys not included in ModelAdmin.list_filter (#35087).
-Fixed a regression in Django 5.0 where links in the admin had an incorrect
 color (#35121).
-Fixed a bug in Django 5.0 that caused a crash of Model.full_clean() on
 models with a GeneratedField (#35127).
-Fixed a regression in Django 5.0 that caused a crash of FilteredRelation()
 with querysets as right-hand sides (#35135). FilteredRelation() now raises
 a ValueError on querysets as right-hand sides.
-Fixed a regression in Django 5.0 that caused a crash of the dumpdata
 management command when a base queryset used prefetch_related() (#35159).
-Fixed a regression in Django 5.0 that caused the request_finished signal to
 sometimes not be fired when running Django through an ASGI server, resulting
 in potential resource leaks (#35059).
-Fixed a bug in Django 5.0 that caused a migration crash on MySQL when adding
 a BinaryField, TextField, JSONField, or GeometryField with a db_default (#35162).
-Fixed a bug in Django 5.0 that caused a migration crash on models with a
 literal db_default of a complex type such as dict instance of a JSONField.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:22 -08:00
Wang Mingyu
6626e21d83
python3-cmake: upgrade 3.28.1 -> 3.28.3
Changelog:
==========
-chore(deps): bump cmake from 3.27.9 to 3.28.1
-ci: group dependabot updates
-chore(deps): update pre-commit hooks
-chore(deps): bump the actions group with 1 update
-Update to OpenSSL 3.0.13
-chore(ci): use 4 threads to compile on GHA
-Update to CMake 3.28.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:22 -08:00
Wang Mingyu
835aa892ec
python3-cantools: upgrade 39.4.3 -> 39.4.4
Changelog:
 slight modification to regex to enable small scaling factors that have scientific numbers in them

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:21 -08:00
Wang Mingyu
4e7660118b
python3-bidict: upgrade 0.22.1 -> 0.23.0
License-Update: Copyright year updated to 2024

Changelog:
============
-Drop support for Python 3.7, which reached end of life on 2023-06-27, and take
 advantage of features available in Python 3.8+.
-Remove FrozenOrderedBidict now that Python 3.7 is no longer supported.
-Remove namedbidict due to low usage.
-Remove the kv field of OnDup which specified the OnDupAction to take in the
 case of Key and Value Duplication.
-Improve type hints for the inv shortcut alias for inverse.
-Fix a bug where calls like bidict(None), bi.update(False)
-All __init__(), update(), and related methods now handle SupportsKeysAndGetItem
 objects that are not Mappings the same way that MutableMapping.update() does,
 before falling back to handling the provided object as an iterable of pairs.
-The repr() of ordered bidicts now matches that of regular bidicts
-This tracks with the change to collections.OrderedDict's repr() in Python 3.12.
-Test with Python 3.12 in CI.
-Drop use of Trove classifiers that declare support for specific Python versions
 in package metadata.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:21 -08:00
Wang Mingyu
a941a5b3b5
python3-awesomeversion: upgrade 23.11.0 -> 24.2.0
Changelog:
==========
Implement handling of 0x prefixed hex strings

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:21 -08:00
Wang Mingyu
61f4d0f29a
python3-aiohue: upgrade 4.7.0 -> 4.7.1
Changelog:
=========
#281 - Treat EffectStatus.NO_EFFECT the same as None
#262 - Allow a scene's palette to be absent

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:21 -08:00
Martin Jansa
2bbdb9c22d
python3-httpx: respect libdir in packaging
* hardcoding /usr/lib is always wrong, doesn't match with libdir e.g.
  for multilib causing:
ERROR: QA Issue: python3-httpx: Files/directories were installed but not shipped in any package:
  /usr/lib64
  /usr/lib64/python3.12
  /usr/lib64/python3.12/site-packages
  /usr/lib64/python3.12/site-packages/httpx
...
  /usr/lib64/python3.12/site-packages/httpx/__pycache__/__version__.cpython-312.pyc
  /usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/entry_points.txt
  /usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/WHEEL
  /usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/METADATA
  /usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/RECORD
  /usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/licenses
  /usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/licenses/LICENSE.md
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
python3-httpx: 63 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-18 07:16:29 -08:00
Tim Orling
ee0c034eb9
python3-pylint: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3
* Sort all REDEPENDS alphabetically
* Drop trailing whitespace

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:39 -08:00
Tim Orling
3b44038a39
python3-xxhash: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:39 -08:00
Tim Orling
182f31a182
python3-pyyaml-include: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:39 -08:00
Tim Orling
202a3818dd
python3-execnet: switch to pytest --automake
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:39 -08:00
Tim Orling
1c9b76323d
python3-typeguard: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:39 -08:00
Tim Orling
52f5ec0d69
python3-pyserial: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:38 -08:00
Tim Orling
7537066f89
python3-pytoml: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:38 -08:00
Tim Orling
a6c2d9fa61
python3-betamax: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:38 -08:00
Tim Orling
6610f706f3
python3-polyline: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:38 -08:00
Tim Orling
848765aba6
python3-platformdirs: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:38 -08:00
Tim Orling
a62b699bcb
python3-semver: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:38 -08:00
Tim Orling
ee5a7f0c38
python3-pillow: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:38 -08:00
Tim Orling
dfbcc2f10d
python3-appdirs: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:37 -08:00
Tim Orling
22741a0874
python3-simpleeval: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:37 -08:00
Tim Orling
9c52cc5b3d
python3-cachetools: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:37 -08:00
Tim Orling
f75e988e64
python3-service-identity: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:37 -08:00
Tim Orling
23de36be41
python3-blinker: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:37 -08:00
Tim Orling
0a982fba81
python3-inflection: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3
* Fix some _ vs - errors

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:37 -08:00
Tim Orling
a99a06c9ed
python3-parse-type: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:37 -08:00
Tim Orling
2690753907
python3-precise-runner: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:36 -08:00
Tim Orling
adc660605e
python3-sqlparse: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:36 -08:00
Tim Orling
70c567ad82
python3-ipy: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:36 -08:00
Tim Orling
441da99311
python3-ansicolors: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3
* Be careful to point pytest at the test.py file

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:36 -08:00
Tim Orling
2192056f67
python3-cbor2: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3
* Be consistent with tabs vs. spaces in do_install_ptest

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:36 -08:00
Tim Orling
22e97ce3f1
python3-yarl: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:36 -08:00
Tim Orling
3f5af1db9a
python3-requests-toolbelt: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:36 -08:00
Tim Orling
ba1539592a
python3-soupsieve: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:35 -08:00
Tim Orling
a32aeade02
python3-serpent: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3
* Remove trailing whitespace

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:35 -08:00
Tim Orling
d3b75642db
python3-geojson: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:35 -08:00
Tim Orling
2a628d6898
python3-multidict: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:35 -08:00
Tim Orling
6ec5fc1074
python3-pyzmq: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:35 -08:00
Tim Orling
2122299d9d
python3-smpplib: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:35 -08:00
Tim Orling
7235412ef4
python3-pyroute2: switch to pytest --automake
* Sort RDEPENDS for ptest alphabetically

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:35 -08:00
Tim Orling
6ad70164f6
python3-pytest-mock: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:34 -08:00
Tim Orling
10c10c68b7
python3-gunicorn: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:34 -08:00