summaryrefslogtreecommitdiffstats
path: root/meta-python
Commit message (Collapse)AuthorAgeFilesLines
...
* python3-prettytable: upgrade 3.9.0 => 3.10.0; fix ptestsTim Orling2024-02-191-16/+17
| | | | | | | | | | | | | | | | | | | | | | | | | * Add all tests/* to be more complete and also to help pytest find the tests (previously, no test cases were actually being run) * Sort RDEPENDS alphabetically * ptest now RDEPENDS on python3-pytest-lazy-fixtures (with the s) instead of python3-pytest-lazy-fixture (without the s) because of python3-pytest 8.0.0 compatability. * Rearrange the recipe a bit https://github.com/jazzband/prettytable/releases/tag/3.10.0 Added * Add support for Python 3.13 (#281) @hugovk Changed * Speedup: lazy imports and remove import (#276) @hugovk * Use GitHub Flavored Markdown for table formatting (#268) @mumblingMac * Use flake8-errmsg for friendlier tracebacks (#254) @hugovk * Replace Flake8 with Ruff (#278) @hugovk Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-lazy-fixtures: add 1.0.5Tim Orling2024-02-191-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | Use your fixtures in @pytest.mark.parametrize. This project was inspired by pytest-lazy-fixture. Improvements that have been made in this project: 1. You can use fixtures in any data structures 2. You can access the attributes of fixtures 3. You can use functions in fixtures * Dependency for python3-prettytable ptest. (Not the same as python3-pytest-lazy-fixture without the s) * Upstream does not package tests/ in the sdist on pypi, so we do not try to enable ptest at this time (it would require using git fetcher instead of pypi.bbclass). * The ptest for the predecessor (python3-pytest-lazy-fixture without the s) was already in PTEST_PROBLEMS, meaning its ptests did not run cleanly. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python: drop ${PYTHON_PN}Tim Orling2024-02-19231-846/+846
| | | | | | | 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>
* python3-license-expression: re-enable passing ptests for the packageDerek Straka2024-02-191-1/+3
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-inotify: re-enable working ptests for the packageDerek Straka2024-02-191-1/+1
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-gunicorn: re-enable working ptests for the packageDerek Straka2024-02-191-1/+1
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-trustme: add runtime dependency for tests and re-add to ptestDerek Straka2024-02-192-1/+2
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyproject-metadata: move to oe-coreTim Orling2024-02-191-16/+0
| | | | | | | | | 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>
* python3-meson-python: move to oe-coreTim Orling2024-02-191-23/+0
| | | | | | | | | | | | 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>
* python_mesonpy.bbclass: move to oe-coreTim Orling2024-02-191-52/+0
| | | | | | | | | This is now the declared PEP-517 build-backend for python3-numpy Move the support into oe-core Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-gevent: upgrade 23.9.1 -> 24.2.1Wang Mingyu2024-02-192-8/+6
| | | | | | | | | | | | | | | | | | | | | | | 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>
* python3-engineio: upgrade 4.8.2 -> 4.9.0Wang Mingyu2024-02-191-1/+1
| | | | | | | | | | 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>
* python3-elementpath: upgrade 4.2.0 -> 4.3.0Wang Mingyu2024-02-191-1/+1
| | | | | | | | | | | | | 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>
* python3-dnspython: upgrade 2.5.0 -> 2.6.0Wang Mingyu2024-02-191-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-django: upgrade 5.0.1 -> 5.0.2Wang Mingyu2024-02-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python3-cmake: upgrade 3.28.1 -> 3.28.3Wang Mingyu2024-02-191-1/+1
| | | | | | | | | | | | | | | 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>
* python3-cantools: upgrade 39.4.3 -> 39.4.4Wang Mingyu2024-02-191-1/+1
| | | | | | | | 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>
* python3-bidict: upgrade 0.22.1 -> 0.23.0Wang Mingyu2024-02-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python3-awesomeversion: upgrade 23.11.0 -> 24.2.0Wang Mingyu2024-02-191-1/+1
| | | | | | | | | 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>
* python3-aiohue: upgrade 4.7.0 -> 4.7.1Wang Mingyu2024-02-191-1/+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>
* python3-httpx: respect libdir in packagingMartin Jansa2024-02-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* python3-pylint: switch to pytest --automakeTim Orling2024-02-162-28/+30
| | | | | | | | | * 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>
* python3-xxhash: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyyaml-include: switch to pytest --automakeTim Orling2024-02-162-4/+5
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-execnet: switch to pytest --automakeTim Orling2024-02-162-1/+2
| | | | | Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-typeguard: switch to pytest --automakeTim Orling2024-02-162-4/+5
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyserial: switch to pytest --automakeTim Orling2024-02-162-10/+11
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytoml: switch to pytest --automakeTim Orling2024-02-162-4/+5
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-betamax: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-polyline: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-platformdirs: switch to pytest --automakeTim Orling2024-02-162-7/+8
| | | | | | | | * 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>
* python3-semver: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: switch to pytest --automakeTim Orling2024-02-162-11/+12
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-appdirs: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-simpleeval: switch to pytest --automakeTim Orling2024-02-162-3/+4
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-cachetools: switch to pytest --automakeTim Orling2024-02-162-3/+4
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-service-identity: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-blinker: switch to pytest --automakeTim Orling2024-02-163-5/+6
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-inflection: switch to pytest --automakeTim Orling2024-02-162-3/+4
| | | | | | | | * 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>
* python3-parse-type: switch to pytest --automakeTim Orling2024-02-162-3/+4
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-precise-runner: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-sqlparse: switch to pytest --automakeTim Orling2024-02-162-3/+4
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-ipy: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-ansicolors: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | | * 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>
* python3-cbor2: switch to pytest --automakeTim Orling2024-02-162-7/+8
| | | | | | | | * 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>
* python3-yarl: switch to pytest --automakeTim Orling2024-02-162-7/+8
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-requests-toolbelt: switch to pytest --automakeTim Orling2024-02-162-7/+8
| | | | | | | | * 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>
* python3-soupsieve: switch to pytest --automakeTim Orling2024-02-162-3/+4
| | | | | | | | * 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>
* python3-serpent: switch to pytest --automakeTim Orling2024-02-162-6/+7
| | | | | | | | * 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>
* python3-geojson: switch to pytest --automakeTim Orling2024-02-162-2/+3
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>