summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* meta-python-ptest*-image: enable BBCLASSEXTEND parallel executionTim Orling2023-04-043-1/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Introduce python3-trustme to fix ptest error of python3-requests-toolbeltYue Tao2023-03-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python3-gpiod: new packageBartosz Golaszewski2023-02-181-0/+1
| | | | | | | | | | | | 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>
* packagegroup-meta-python: drop python3-strict-rfc3339Alexander Kanavin2023-01-061-1/+0
| | | | | | | | 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>
* packagegroup-meta-python: add missing packagesBartosz Golaszewski2022-12-051-0/+2
| | | | | | | | 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>
* python3-pyzmq: added ptestJan Vermaete2022-07-261-0/+1
| | | | | | | | | | 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>
* python3-setuptools-declarative-requirements: add new recipeRoss Burton2022-05-291-0/+1
| | | | | | | 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>
* python3-editables: add new recipeRoss Burton2022-05-291-0/+1
| | | | | Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-hatchling: add new recipe and build classRoss Burton2022-05-291-0/+1
| | | | | | | | 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>
* python3-pathspec: add new recipeRoss Burton2022-05-291-0/+1
| | | | | Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-setuptools-scm-git-archive: add new recipeRoss Burton2022-05-291-0/+1
| | | | | | | 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>
* python3-uinput: new packageBartosz Golaszewski2022-05-261-0/+1
| | | | | | | | 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>
* python3-inotify: new packageBartosz Golaszewski2022-05-161-0/+1
| | | | | | | | | | 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>
* python3-web3: new packageBartosz Golaszewski2022-05-141-0/+1
| | | | | | | 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>
* python3-lru-dict: new packageBartosz Golaszewski2022-05-141-0/+1
| | | | | | | 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>
* python3-eth-account: new packageBartosz Golaszewski2022-05-141-0/+1
| | | | | | | | 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>
* python3-eth-abi: new packageBartosz Golaszewski2022-05-141-0/+1
| | | | | | | 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>
* python3-parsimonious: new packageBartosz Golaszewski2022-05-141-0/+1
| | | | | | | | 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>
* python3-eth-rlp: new packageBartosz Golaszewski2022-05-141-0/+1
| | | | | | | 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>
* python3-rlp: new packageBartosz Golaszewski2022-05-141-0/+1
| | | | | | | | 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>
* python3-hexbytes: new packageBartosz Golaszewski2022-05-141-0/+1
| | | | | | | | 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>
* python3-eth-keyfile: new packageBartosz Golaszewski2022-05-141-0/+1
| | | | | | | | 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>
* python3-eth-keys: new packageBartosz Golaszewski2022-05-141-0/+1
| | | | | | | 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>
* python3-eth-utils: new packageBartosz Golaszewski2022-05-141-0/+1
| | | | | | | | 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>
* python3-eth-typing: new packageBartosz Golaszewski2022-05-141-0/+1
| | | | | | | | 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>
* python3-eth-hash: new packageBartosz Golaszewski2022-05-141-0/+1
| | | | | | | 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>
* python3-decouple: new packageBartosz Golaszewski2022-05-141-0/+1
| | | | | | | | 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>
* python3-cytoolz: new packageBartosz Golaszewski2022-05-141-0/+1
| | | | | | | 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>
* python3-toolz: new packageBartosz Golaszewski2022-05-141-0/+1
| | | | | | | | Add a recipe for toolz: a set of utility functions for iterators, functions, and dictionaries. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* packagegroup-meta-python.bb: update pkg groupArmin Kuster2022-05-021-0/+1
| | | | | Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python-image: Fix build dependsArmin Kuster2022-05-021-5/+5
| | | | | Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyfanotify: new packageBartosz Golaszewski2022-05-021-0/+1
| | | | | | | | This adds a recipe for pyfanotify - a python wrapper around linux' fanotify interface. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* packagegroup-meta-python: add python3-pytest-lazy-fixtureTrevor Gamblin2022-03-241-2/+2
| | | | | | | | Also remove two redundant ptest listings for jinja2 and markupsafe. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-urllib3: RemoveScott Murray2022-03-231-1/+0
| | | | | | | | This recipe has been moved to oe-core. Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-requests: RemoveScott Murray2022-03-231-1/+0
| | | | | | | | This recipe has been moved to oe-core. Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-pysocks: RemoveScott Murray2022-03-231-1/+0
| | | | | | | | This recipe has been moved to oe-core. Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-pyopenssl: RemoveScott Murray2022-03-231-1/+0
| | | | | | | | This recipe has been moved to oe-core. Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-pyasn1: RemoveScott Murray2022-03-231-1/+0
| | | | | | | | This recipe has been moved to oe-core. Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-ndg-httpsclient: RemoveScott Murray2022-03-231-1/+0
| | | | | | | | This recipe has been moved to oe-core. Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-certifi: RemoveScott Murray2022-03-231-1/+0
| | | | | | | | This recipe has been moved to oe-core. Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-babel: RemoveScott Murray2022-03-231-1/+0
| | | | | | | | This recipe has been moved to oe-core. Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-pytest-runner: RemoveKhem Raj2022-03-171-1/+0
| | | | | | | Moved to oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
* python3-chardet: RemoveKhem Raj2022-03-171-1/+0
| | | | | | | Its moved to oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
* packagegroup-meta-python: drop recipes moved to coreTim Orling2022-03-161-19/+0
| | | | | | | | Drop the recipes moved to core in the python3-cryptography move. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
* packagegroup-meta-python: Do not exclude python3-grpcio python3-grpcio-tools ↵Khem Raj2022-03-151-1/+0
| | | | | | | for ppc64 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
* packagegroup-meta-python: add poetry-core and unattended-upgradeRoss Burton2022-03-111-0/+2
| | | | | | | | These were missing from the packagegroup. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-backports-functional-lru-cache: remove, not needed for Python 3Ross Burton2022-03-111-2/+0
| | | | | | | | | This is a backport of the Python 3 lru_cache for Python 2 users, so obviously it makes no sense to have for Python 3. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-configparser: remove, not needed for Python 3Ross Burton2022-03-111-1/+0
| | | | | | | | | This is a backport of the Python 3 configparser for Python 2 users, so obviously it makes no sense to have for Python 3. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-pystache: remove, unmaintainedRoss Burton2022-03-111-1/+0
| | | | | | | | | Pystache hasn't been maintained since 2014. One maintained alternative is https://github.com/noahmorrison/chevron. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* Revert "python3-ipy: drop recipe"Kai Kang2022-03-091-0/+2
| | | | | | | | | | This reverts commit df077258b61f20ec8fdf3978fa4a912d3a14eaf5. Add python3-ipy back and inherit setuptools3-legacy. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>