summaryrefslogtreecommitdiffstats
path: root/meta-python
Commit message (Collapse)AuthorAgeFilesLines
...
* python3-pytest-subtests: move to oe-coreTim Orling2022-03-161-20/+0
| | | | | | | | | This recipe has been moved to oe-core in support of python3-cryptography. 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>
* python3-pretend: move to oe-coreTim Orling2022-03-161-11/+0
| | | | | | | | | This recipe has been moved to oe-core in support of python3-cryptography. 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>
* python3-poetry-core: move to oe-coreTim Orling2022-03-161-44/+0
| | | | | | | | | | | The poetry_core.bbclass (renamed to python_poetry_core) has been moved to oe-core, as has this recipe, in support of python3-cryptography. The recipe that needed poetry-core is python3-iso8601. 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>
* python3-ply: move to oe-coreTim Orling2022-03-161-18/+0
| | | | | | | | | This recipe has been moved to oe-core in support of python3-cryptography. 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>
* python3-iso8601: move to oe-coreTim Orling2022-03-161-15/+0
| | | | | | | | | This recipe has been moved to oe-core in support of python3-cryptography. 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>
* python3-psutil: RemoveKhem Raj2022-03-162-225/+0
| | | | | | | Moved to oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
* python3-bcrypt: RemoveKhem Raj2022-03-162-33/+0
| | | | | | | Moved to oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
* python3-pyrad: Change poetry bbclass inherit to match oe-coreKhem Raj2022-03-161-1/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
* meta-python: Clean up recipes and classes that were moved to oe-coreAlejandro Enedino Hernandez Samaniego2022-03-1624-406/+9
| | | | | | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro.hernandez@linux.microsoft.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>
* python3-grpcio, python3-grpcio-tools: Upgrade to 1.44.0Khem Raj2022-03-155-31/+91
| | | | | | | | | | | - Fix build on ppc64le/musl - Add patch to fix abseil on ppc64 - Changes are here [1] [1] https://github.com/grpc/grpc/releases/tag/v1.44.0 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
* python3-pymodbus: add asyncio to package configJustin Bronder2022-03-151-0/+1
| | | | | | | | | When using asyncio as the backend for asynchronous communication, pymodbus depends on python3-pyserial-asyncio. Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
* python3-poetry-core: Setting PIP_INSTALL_PACKAGE is no longer neededKhem Raj2022-03-151-2/+0
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
* python3-django: upgrade 4.0.1 -> 4.0.2Trevor Gamblin2022-03-151-1/+1
| | | | | | | | | 4.0.2 fixes CVE-2022-22818 and CVE-2022-23833. See: https://docs.djangoproject.com/en/dev/releases/4.0.2/ Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
* python3-django: upgrade 3.2.11 -> 3.2.12Trevor Gamblin2022-03-151-1/+1
| | | | | | | | | 3.2.12 fixes CVE-2022-22818 and CVE-2022-23833. See: https://docs.djangoproject.com/en/dev/releases/3.2.12/ Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
* poetry_core: update for renamed class pip_install_wheel to python_pep517Ross Burton2022-03-141-3/+3
| | | | | Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-*: remove obsolete PYPA_WHEEL and PIP_INSTALL_PACKAGE assignmentsRoss Burton2022-03-112-8/+0
| | | | | | | | These variables are no longer used by pip_install_wheel, so remove them from all recipes that set them. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.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>
* meta-python: migrate away from setuptool3 where possibleRoss Burton2022-03-1147-94/+51
| | | | | | | | | | Many recipes are currently building with setuptools3 but can use a more modern tool: typically setuptools_build_meta but ordered-set can use flit_core and pyrad can use poetry_core. 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-pylint: upgrade to 2.12.2Ross Burton2022-03-112-38/+18
| | | | | | | | The test suite is no longer shipped in the sources, so remove PN-tests. 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-twisted: remove empty PN-src and PN-dbgRoss Burton2022-03-111-13/+0
| | | | | | | | | Nothing is packaged in these, there are no debug symbols and the sources are packaged into the regular packages. 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-pycurl: fix DEPENDSRoss Burton2022-03-111-5/+2
| | | | | | | | | | By assigning directly to DEPENDS the dependencies in setuptools3 are overwritten, so python3-setuptools-native is present to let the build succeed entirely through luck. 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-pyzmq: clean up recipeRoss Burton2022-03-112-4/+0
| | | | | | | | | | | Put the patch into a directory named after PN to avoid needing to set FILESEXTRAPATHS. Remove explicit FILES:${PN}-dbg, as these are packaged automatically. 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-112-33/+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-112-14/+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-113-4168/+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>
* poetry-core: clean up classRoss Burton2022-03-101-10/+10
| | | | | | | | | | | | | | | | | | | | There's been a lot of work on this class so clean it up a bit. Rationalise imports, python3-dir is already included in python3native. Don't write a helper script in do_configure, just call the API in do_compile. In the long term this should be using pypa/build instead of calling the API directly. Stub out do_configure as the base configure isn't useful. Write the wheel to PIP_INSTALL_DIST_PATH instead of hard-coding S/dist, and clean it. Use EXPORT_FUNCTIONS on the tasks. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "python3-smbus: fix wheel build"Khem Raj2022-03-101-2/+0
| | | | | | This reverts commit b7042fabd1a6930da1d24967720326d2e3a3ca39. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-pychromecast: upgrade 10.2.3 -> 10.3.0Wang Mingyu2022-03-101-1/+1
| | | | | | | | | | | | | | | Changelog: ========= Show diff when black fails Fix f-string Fix black fail introduced Log error code on exception Bump protobuf to 3.19.1 and regenerate protobuf files Bump black from 21.12b0 to 22.1.0 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-networkx: upgrade 2.7 -> 2.7.1Wang Mingyu2022-03-101-1/+1
| | | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-pymisp: upgrade 2.4.152 -> 2.4.155.1Wang Mingyu2022-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= Changes ------- - Bump required python version for doc. - Remove python 3.6 from metadata. - Re-bump changelog. - Bump version. - Bump changelog. - Bump misp-objects. - Bump deps. - Bump new minimal python version to 3.7. - Perl dependencies not longer required. - Simplify submodules checkout. - Use https for link to documentation. - Bump deps. - [misp-objects] updated to the latest version. - [FIPS] no clean way to support OpenSSL hashlib interface for FIPS. - [FIPS] falling back on older version of Python not having usedforsecurity. - [FIPS] in some cases, the `usedforsecurity` is not used. So fail if the FIPS compliance is required and then the `usedforsecurity` is disabled. - [feeds] FIPS: when MD5 hashes are generated for fast-lookup it's not for security. hashlib provides an option to tell if the hash is used for security or not. By default, it's set to True. For the feed cache generation, it's not. Then usedforsecurity=False - Bump deps. - Bump deps, objects. Fix ----- - Incorrect call when requesting a new API key. - Libfuzzy-dev is not longer required. - [mispevent] cannot type. - Make mypy happy. New ------ - Get_new_authkey for a user. - [dep] Use pydeep2 instead of pydeep. Other ------ - Create add_filetype_object_from_csv.py. - Add feed option for local tag exclusion #817. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-python-vlc: upgrade 3.0.12118 -> 3.0.16120Wang Mingyu2022-03-101-1/+1
| | | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-imageio: upgrade 2.16.0 -> 2.16.1Wang Mingyu2022-03-101-1/+1
| | | | | | | | | | | | Changelog: ========= Ignore TIFF XResolution or YResolution with 0 in the denominator. Add section on freezing Update "python_requires" to 3.7+ Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-aws-iot-device-sdk-python: upgrade 1.5.0-> 1.5.1Wang Mingyu2022-03-101-1/+1
| | | | | | | | | | Changelog: ========= change append to extend to fix bytestream error Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-bitarray: upgrade 2.3.7 -> 2.4.0Wang Mingyu2022-03-102-33/+1
| | | | | | | | | | | | | | | | setup.py-use-setuptools-instead-of-distutils.patch removed since it's included in 2.4.0 Changelog: ========= * enable building wheels for multiple platforms and Python versions using pypa/cibuildwheel, see #165 and #170 * use setuptools instead of distutils in 'setup.py', #168 * add missing type hinting for '.count()' step argument Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-astroid: upgrade 2.9.3 -> 2.10.0Wang Mingyu2022-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= * Fixed inference of "self" in binary operations in which "self" is part of a list or tuple. * Fixed builtin inference on `property` calls not calling the `postinit` of the new node, which resulted in instance arguments missing on these nodes. * Fixed a crash on "Super.getattr" when the attribute was previously uninferable due to a cache limit size. This limit can be hit when the inheritance pattern of a class (and therefore of the "__init__" attribute) is very large. * Inlcude names of keyword-only arguments in "astroid.scoped_nodes.Lambda.argnames". * Fixed a crash inferring on a "NewType" named with an f-string. * Add support for [attrs v21.3.0](https://github.com/python-attrs/attrs/releases/tag/21.3.0) which added a new `attrs` module alongside the existing `attr`. * Use the "end_lineno" attribute for the "NodeNG.tolineno" property when it is available. * Add "is_dataclass" attribute to "ClassDef" nodes. * Use "sysconfig" instead of "distutils" to determine the location of python stdlib files and packages. * Fixed crash with recursion error for inference of class attributes that referenced the class itself. * Fixed crash when trying to infer "items()" on the "__dict__" attribute of an imported module. * Add optional "NodeNG.position" attribute. Used for block nodes to highlight position of keyword(s) and name in cases where the AST doesn't provide good enough positional information. E.g. "nodes.ClassDef", "nodes.FunctionDef". * Fix "ClassDef.fromlineno". For Python < 3.8 the "lineno" attribute includes decorators. "fromlineno" should return the line of the "class" statement itself. * Performance improvements. Only run expensive decorator functions when non-default Deprecation warnings are enabled, eg. during a Pytest run. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-pymongo: upgrade 4.0.1 -> 4.0.2Xu Huan2022-03-101-1/+1
| | | | | | | | | | | | | | changelog: =============================================================================== Fixed a bug pymongo.collection.Collection.bulk_write() did not apply the collection’s CodecOptions to upserted_ids result (PYTHON-3075). Fixes the High Availability and PyMongo example for initializing a replica set (PYTHON-3041). Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-pywbemtools: upgrade 0.9.1 -> 1.0.0Xu Huan2022-03-101-1/+1
| | | | | | | | changelog see https://pywbemtools.readthedocs.io/en/stable/changes.html Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-regex :upgrade 2021.11.10 -> 2022.3.2Xu Huan2022-03-101-1/+1
| | | | | | Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-txaio: upgrade 21.2.1 -> 22.2.1Xu Huan2022-03-101-1/+1
| | | | | | | | | | | | | | changelog: ============================================================= - fix: cancel handling in python 3.8/3.9. - fix: gracefully fail if coroutine called with wrong args - fix: eliminate redundant dep. on mock - fix: doc note that twisted supports native coroutines Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-xxhash: upgrade 2.0.2 -> 3.0.0Xu Huan2022-03-101-1/+1
| | | | | | | | | | | | | | changelog: =============================================================================== New set algorithms_available lists all implemented algorithms in xxhash package. Upgrade xxHash to v0.8.1. Drop support for EOL Python versions, require python >= 3.6 from now on. Migrate to github actions and build arm64 wheels for macOS. Always release GIL. Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-poetry-core: self-bootstrapRoss Burton2022-03-091-13/+2
| | | | | | | | Poetry can bootstrap itself, so just inherit poetry_core. 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-093-0/+37
| | | | | | | | | | 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>
* python3-asyncinotify: add 2.0.2Justin Bronder2022-03-091-0/+15
| | | | | | Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-pymodbus: add 2.5.3Justin Bronder2022-03-091-0/+34
| | | | | | Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-pyserial-asyncio: add 0.6Justin Bronder2022-03-091-0/+10
| | | | | | | | Dependency of python3-pymodbus. Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-meh: use setuptools_legacyRoss Burton2022-03-092-12/+3
| | | | | | | | | | | | This setup.py installs data_files with absolute paths, which isn't supported by bdist_wheel. Use setuptools_legacy as the legacy install task needs to be used. Also update patch status on the setuptools port. 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-meh: fix HOMEPAGERoss Burton2022-03-091-1/+1
| | | | | | | | fedorahosted.org is retired, so set the GitHub page as the homepage. 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-blivet: use setuptools_legacyKai Kang2022-03-091-7/+1
| | | | | | | | | | | The setup.py installs to arbitrary target paths, so can't use the new bdist_wheel installation method. Reverts daba6521f which was a sympton of the bad usage. 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-blivetgui: use setuptools_legacyRoss Burton2022-03-091-1/+3
| | | | | | | | | The setup.py installs to arbitrary target paths, so can't use the new bdist_wheel installation method. 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>