aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-core
AgeCommit message (Collapse)Author
2024-04-14python3-websockets: Remove recipeKhem Raj
Its migrated to core layer Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-31meta-python-image-ptest: Use 2G RAM for some demanding testsKhem Raj
scrypt/fastjsonschema/pillow run into OOM on some qemu architectures e.g. RISCV64. Raise the memory to be atleast 2G for running these ptest images Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-22python3-dbus: re-add recipe with latest patches and add ptestDerek Straka
The python3-dbus package was removed in (dac933e). While the upstream project isn't active, other distributions (e.g. Fedora, Debian, etc) continue to offer the package and apply patches to resolve reported issues. While other packages offer similar functionality (e.g. dasbus), they are not drop in replacements and the general dbus functionality works out of the box. The python package has accomplished it's goal of providing useful functionality, and the proposal is to continue to have it available in meta-python for use. Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-22meta-python-image-ptest: add PTESTS_PROBLEMS_META_PYTHONTim Orling
In oe-core, PTESTS_PROBLEMS are also enabled, so even though the recipe might have failures or the ptests do not run cleanly, the BBCLASSEXTEND still works. Enable the same behavior for meta-python. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19python3-pytest-lazy-fixture: drop recipeTim Orling
This recipe is no longer maintained (since 2020) and is not compliant with python3-pytest_8.0.0+. The only dependency in meta-python was the old version of python3-prettytable-ptest, which now RDEPENDS upon python3-pytest-lazy-fixtures (with the s). * Drop the recipe * Drop it from packagegroup-meta-python * Drop it from PTEST_PROBLEMS in ptest-packagelists-meta-python.inc Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-31python3-kmod: remove the recipeAlexander Kanavin
Not compatible with cython 3.x, and has been inactive for years: https://pypi.org/project/kmod/#description https://github.com/agrover/python-kmod Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-31python3-jsonrpcserver: removeAlexander Kanavin
No activity in over a year, and depends on oslash, which has had no activity since 2020. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-31python3-xmlrunner: remove the recipeAlexander Kanavin
Last release in 2014, not compatible with python 3.12. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-22python3-setuptools-scm-git-archive: remove obsolete packageDerek Straka
Upstream project is obsolete with setuptools_scm >= 7.0 which natively supports git archives See upstream repo for details - https://github.com/Changaco/setuptools_scm_git_archive/ Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-18python3-uinput: remove as unmaintainedAlexander Kanavin
Both homepage and downloads are gone, last release in 2016, still relies on distutils which is no longer available in python core as of 3.12. https://pypi.org/project/python-uinput/ Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-18python3-pyinotify: remove as unmaintainedAlexander Kanavin
There hasn't been a release in years, and python 3.12 is no longer compatible as it has removed the smtpd module. https://github.com/seb-m/pyinotify Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-06ptest-image: Switch to using core-image-minimalKhem Raj
Keeps the dependencies really to minimum. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-06images: Rename ptest images to rhyme with oe-core ptest imagesKhem Raj
Easy to understand for new-comers. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-06images: Rename <layer>-image to <layer>-image-allKhem Raj
These are test images to build all recipes in layer. Renaming them makes them refect what they are. Moreover we can rename the ptest images to match OE-Core naming conventions for meta-oe/meta-perl/meta-python Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-06images: Delete layer specific base imagesKhem Raj
These were essentially duplicates of core-image-minimal, however core-image-base is a better baseline for upper layers, so switched the consumers of these images to use core-image-base Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-06images: Inherit from core-image-baseKhem Raj
We really do not need to define base images which already exist in core layer, reuse them here. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-27python3-pytz-deprecation-shim: Remove outdated recipe meant to be a short ↵Derek Straka
lived shim The upstream package hasn't been updated since 2020 and was meant to be a short term bridge to remote pytz. Anoted in the usage documents, "This library is intended for temporary usage only, and should allow you to drop your dependency on pytz while also giving your users notice that eventually you will remove support for the pytz-specific interface." Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-11python3-typed-ast: remove EOL packageJustin Bronder
No longer required by python3-mypy and no longer maintained upstream. https://github.com/python/typed_ast/issues/179 Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-24python3-versioneer: add recipeTrevor Gamblin
This module is required by newer versions of pandas, so add it as a recipe. Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-24python3-flask-script: remove recipeBartosz Golaszewski
This package has long been deprecated by upstream maintainers and doesn't even work in meta-openembedded due to a run-time import error. Remove the recipe. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-25python3-pydbus: remove obsolete recipeRoss Burton
This project has been untouched since 2018 and doesn't appear to have any real dependents. If something similar to pydbus is needed, then a maintained alternative would be https://github.com/rhinstaller/dasbus (recipe available in meta-anaconda). Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-25python3-pydbus-manager: remove obsolete recipeRoss Burton
This project has been untouched upstream for six years and doesn't appear to be considered "finished". Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04meta-python-ptest*-image: enable BBCLASSEXTEND parallel executionTim Orling
Similar to "core-image-ptest: Switch to BBCLASSEXTEND parallel execution" Refactor meta-python-ptest-image.bb for an image per ptest in the form of meta-python-ptest-image-XXX using class extensions. * Add meta-python-ptest-all-image.bb depends on ALL meta-python-ptest-image-XXX in meta-python * Add meta-python-ptest-fast-image.bb depends on meta-python ptests which take less than ~30s This allows parallel execution of the tests. The downside to this approach is the parsing time of an image generating this number of class extensions is slow but making it easier to execute and collect test data should outweigh that. A useful advantage is that the dependencies of each ptest package are checked/tested individually. Add to local.conf: IMAGE_CLASSES += "testimage" All the meta-python-ptest-image-XXX can be built with: $ bitbake meta-python-ptest-all-image Subsequently, all the ptest images can be run with: $ bitbake -c testimage meta-python-ptest-all-image You will likely want to limit the number of parallel image tests: BB_NUMBER_THREADS = "4" based on the number of TAP devices you have defined or the number of simultaneous QEMU sessions your server can support. Results can be summarized with: $ resulttool report tmp/log/oeqa/testresults.json Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-22Introduce python3-trustme to fix ptest error of python3-requests-toolbeltYue Tao
The ptest fails after python3-requests-toolbelt is upgraded to 0.10.1. ======================================================= Hint: make sure your test modules/packages have valid Python names. Traceback: ../../python3.11/importlib/{}init{}.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_x509_adapter.py:20: in <module> import trustme E ModuleNotFoundError: No module named 'trustme' ======================================================= The commit b93b4067ea "Fix x509 tests by using trustme" of python3-requests-toolbelt introduces the trustme in test_x509_adapter.py. Introducing python3-trustme to fix ptest error of python3-requests-toolbelt, also introducing python3-service-identity, which is requested by python3-trustme's ptest. The ptest passes of all the three packages. Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-18python3-gpiod: new packageBartosz Golaszewski
Add a recipe for libgpiod v2 python bindings. This is a release candidate but once the proper v2.0 is released, it will be made public on pypi and the recipe modified accordingly. As libgpiod python bindings now use setuptools and not make, we can separate the recipe from the rest of the library. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-06packagegroup-meta-python: drop python3-strict-rfc3339Alexander Kanavin
This has been unmaintained, not needed by anything and is now removed from oe-core. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-05packagegroup-meta-python: add missing packagesBartosz Golaszewski
The recently added kmod and watchdogdev packages were not added to the meta-python packagegroup. This fixes it. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-26python3-pyzmq: added ptestJan Vermaete
And update the summary and description from the github website. Two tests are failing because cython is not installed. But this is the same when running pytest under a native Linux system. Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-29python3-setuptools-declarative-requirements: add new recipeRoss Burton
Some Python packages use this in their setup.cfg. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-29python3-editables: add new recipeRoss Burton
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-29python3-hatchling: add new recipe and build classRoss Burton
Hatchling is the build backend used by the Hatch tool. Add the recipe and a pep517 build class. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-29python3-pathspec: add new recipeRoss Burton
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-29python3-setuptools-scm-git-archive: add new recipeRoss Burton
Some Python packages use this at build time. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-26python3-uinput: new packageBartosz Golaszewski
Add a recipe for python3-uinput: a python module for controlling the virtual input devices on linux. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-16python3-inotify: new packageBartosz Golaszewski
We have a recipe for python3-pyinotify (not to be confused with the recently added python3-pyfanotify) but this project has been abandoned years ago. There's another - still maintained - project called simply inotify on pypi and this adds the recipe for it. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-14python3-web3: new packageBartosz Golaszewski
Add a recipe for web3: a library for interacting with Ethereum. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-14python3-lru-dict: new packageBartosz Golaszewski
Add a recipe for lru-dict: a fixed size dict like container. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-14python3-eth-account: new packageBartosz Golaszewski
Add a recipe for python3-eth-account: a tool for signing Ethereum transactions and messages with local private keys. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-14python3-eth-abi: new packageBartosz Golaszewski
Add a recipe for eth-abi: utilities for working with Ethereum ABI definitions. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-14python3-parsimonious: new packageBartosz Golaszewski
Add a recipe for parsimonious: an arbitrary-lookahead parser written in pure Python. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-14python3-eth-rlp: new packageBartosz Golaszewski
Add a recipe for eth-rlp: RLP definitions for common Ethereum objects. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-14python3-rlp: new packageBartosz Golaszewski
Add a recipe for rlp: a Python implementation of Recursive Length Prefix encoding (RLP). Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-14python3-hexbytes: new packageBartosz Golaszewski
Add a recipe for hexbytes: a Python bytes subclass that decodes hex, with a readable console output. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-14python3-eth-keyfile: new packageBartosz Golaszewski
Add a recipe for eth-keyfile: a library for handling the encrypted keyfiles used to store ethereum private keys. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-14python3-eth-keys: new packageBartosz Golaszewski
Add a recipe for eth-keys: common API for Ethereum key operations. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-14python3-eth-utils: new packageBartosz Golaszewski
Add a recipe for eth-utils: utility functions for codebases which interact with ethereum. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-14python3-eth-typing: new packageBartosz Golaszewski
Add a recipe for eth-typing: common type annotations for ethereum python packages. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-14python3-eth-hash: new packageBartosz Golaszewski
Add a recipe for eth-hash: the Ethereum hashing function module. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-14python3-decouple: new packageBartosz Golaszewski
Add a recipe for python-decouple: generic tool for separating settings from code. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-14python3-cytoolz: new packageBartosz Golaszewski
Add a recipe for cytoolz: cython implementation of the toolz package. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>