summaryrefslogtreecommitdiffstats
path: root/meta-python
Commit message (Collapse)AuthorAgeFilesLines
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-0458-58/+58
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gyp: fix for compatibility with Python 3.10 (part 2)S. Lockwood-Childs2022-03-031-0/+9
| | | | | | | | | | | | | | The patch for python 3.10 compatibility was missing an update to 'import' line. Fixes the following problem encountered making use of gyp: | File "[...]/usr/lib/python3.10/site-packages/gyp/common.py", line 497, in <module> | class OrderedSet(collections.abc.MutableSet): | AttributeError: module 'collections' has no attribute 'abc' Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poetry_core: add helper classTim Orling2022-03-031-0/+15
| | | | | | | poetry.core.masonry.api is one of the common PEP-517 build backends. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-slip-dbus: Fix build with wheel packagingKhem Raj2022-03-033-4/+121
| | | | | | | | | Migrate to use setuptools instead of distutils merge slip.dbus into slip module since we use slip.dbus, it works fine for OE Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-blivet: Adjust install location for binaries and systemd unitsKhem Raj2022-03-031-0/+6
| | | | | | | | | | | | With wheels changes it is also getting installed under PYTHON_SITEPACKAGES_DIR perhaps something to fix in setup.py but this fix works better from a packager point of view. Moves the systemd unit files and daemon into /usr/lib and /usr/libexec dirs Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-typed-ast: Upgrade 1.4.3 -> 1.5.2Leon Anavi2022-03-031-1/+1
| | | | | | | | | | | | | Upgrade to release 1.5.2: - Add support for building aarch64 wheels - Remove update process document - Port ast27 to Python 3.11 - Define _PyUnicode_DecodeUnicodeEscape even on Python 3.6+ Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-humanize: Upgrade 3.14.0 -> 4.0.0Leon Anavi2022-03-031-1/+1
| | | | | | | | | | | | | Upgrade to release 4.0.0: - Drop support for Python 3.6 - Remove deprecated VERSION, use version instead - Remove when from naturaldelta() and allow largest timedelta - Remove deprecated private function aliases Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-h11: Upgrade 0.12.0 -> 0.13.0Leon Anavi2022-03-031-1/+1
| | | | | | | | | | | | | | | | | Upgrade to release 0.13.0: - Clarify that the Headers class is a Sequence and inherit from the collections Sequence abstract base class to also indicate this (and gain the mixin methods) - Switch event classes to dataclasses for easier typing and slightly improved performan - Shorten traceback of protocol errors for easier readability - Add typing including a PEP 561 marker for usage by type checkers - Expand the allowed status codes to [0, 999] from [0, 600] Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-networkx: Upgrade 2.6.3 -> 2.7Leon Anavi2022-03-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Upgrade to release 2.7: - Dropped support for Python 3.7 - Added the Asadpour algorithm for solving the asymmetric traveling salesman problem - Removed all internal usage of the numpy.matrix class, and added a FutureWarning to all functions that return a numpy.matrix instance - Added support for the scipy.sparse array interface - Added generic dtype support to ~networkx.convert_matrix.to_numpy_array - Added support for computing betweenness centrality on multigraphs - Added support for directed graphs and multigraphs to greedy_modularity_communities License-Update: Update year Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-semantic-version: Upgrade 2.8.5 -> 2.9.0Leon Anavi2022-03-031-1/+1
| | | | | | | | | | | Upgrade to release 2.9.0: - Add support for Django 3.1, 3.2, 4.0 - Add support for Python 3.7 / 3.8 / 3.9 / 3.10 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-blivetgui: Upgrade to 2.3.0Khem Raj2022-03-032-2/+34
| | | | | | | | | Backport a fix to migrate to use setuptools instead of distutils Changes in this release are [1] [1] https://github.com/storaged-project/blivet-gui/releases/tag/2.3.0-1 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 to 1.5.0Khem Raj2022-03-032-2/+35
| | | | | | | | Use github to fetch it since its not yet available on pypi Port to use setuptools Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-txws: Define PIP_INSTALL_PACKAGEKhem Raj2022-03-031-0/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-dbussy: Define PIP_INSTALL_PACKAGEKhem Raj2022-03-031-0/+2
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-cson: Define PIP_INSTALL_PACKAGEKhem Raj2022-03-031-0/+2
| | | | | | | Fixes build with wheel packaging Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-pymetno: Define PIP_INSTALL_PACKAGEKhem Raj2022-03-031-0/+2
| | | | | | | Fixes build with wheel packaging Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-keras-applications: Define PIP_INSTALL_PACKAGEKhem Raj2022-03-031-0/+2
| | | | | | | Fixes build with wheel packaging Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-pyscaffold: fix wheel build and licenseJustin Bronder2022-03-031-7/+7
| | | | | | | | | | | | | | Without python3-setuptools-scm-native, the version on the generated wheel is 0.0.0, not ${PV} as expected which causes pip_install_wheel_do_install to fail to find the wheel. Consulting the LICENSE.txt distributed with the source, the template files under pyscaffold.templates, which are installed as part of this recipe, are licensed as BSD-0-Clause 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-configshell-fb: set PIP_INSTALL_PACKAGEJustin Bronder2022-03-031-0/+1
| | | | | | | | | Recipe does not inherit pypi nor would PN resolve to the name of the wheel so we must set PIP_INSTALL_PACKAGE appropriately. 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-twine: upgrade 3.7.1 -> 3.8.0Xu Huan2022-03-031-1/+1
| | | | | | | | | | | | | | | | changelog: =============================================================================== Add --verbose logging for querying keyring credentials. Log all upload responses with --verbose. Show more helpful error message for invalid metadata. -Bugfixes Require a recent version of urllib3. 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-snappy upgrade 0.6.0 -> 0.6.1Xu Huan2022-03-031-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-pillow: upgrade 9.0.0 -> 9.0.1Xu Huan2022-03-031-0/+2
| | | | | | | | | | | changelog: In show_file, use os.remove to remove temporary images. CVE-2022-24303 Restrict builtins within lambdas for ImageMath.eval. CVE-2022-22817 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: Define PIP_INSTALL_PACKAGEKhem Raj2022-03-031-0/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-dateutil: Define PIP_INSTALL_PACKAGEKhem Raj2022-03-031-0/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-setuptools-rust-native: Define PIP_INSTALL_PACKAGEKhem Raj2022-03-031-1/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-pytest-runner: Define PIP_INSTALL_PACKAGEKhem Raj2022-03-031-1/+1
| | | | | | | Guessing code fails, so aid it. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-lrparsing: use setuptools instead of distutilsJustin Bronder2022-03-032-1/+31
| | | | | | | | | Recipe also does not inherit pypi nor would PN be a good guess at the name of the wheel. Set PIP_INSTALL_PACKAGE appropriately. 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-ntplib: pull from PyPIJustin Bronder2022-03-031-6/+4
| | | | | | | | | | | | Switch back to pulling from PyPI which now does have appropriate release tarballs. This fixes building the wheel. While touching the recipe, also add HOMEPAGE and point LIC_FILES_CHKSUM at the LICENSE file that's now part of the release tarball. 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-aiofiles: inherit poetry_coreTim Orling2022-03-031-1/+1
| | | | | | | | Use PEP-517 build-backend instead of setuptools3. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-pymisp: inherit poetry_coreTim Orling2022-03-031-1/+3
| | | | | | | | | * Use PEP-517 build-backend instead of setuptools3. * Also set PIP_INSTALL_PACKAGE = "pymisp" Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-isort: inherit poetry_coreTim Orling2022-03-031-1/+1
| | | | | | | | Use PEP-517 build-backend instead of setuptools3. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-rsa: inherit poetry_coreTim Orling2022-03-031-1/+1
| | | | | | | | Use PEP-517 build-backend instead of setuptools3. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-iso8601: inherit poetry_coreTim Orling2022-03-031-1/+1
| | | | | | | | Use PEP-517 build-backend instead of setuptools3. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-pkgconfig: inherit poetry_coreTim Orling2022-03-031-1/+1
| | | | | | | | Use PEP-517 build-backend instead of setuptools3. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-dnspython: inherit poetry_coreTim Orling2022-03-031-1/+1
| | | | | | | | Use PEP-517 build-backend instead of setuptools3. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-poetry-core: add v1.0.8Tim Orling2022-03-031-0/+56
| | | | | | | | | | A PEP 517 build backend implementation developed for Poetry. This project is intended to be a light weight, fully compliant, self-contained package allowing PEP 517 compatible build frontends to build Poetry managed projects. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-blivet: Upgrade to 3.4.3Khem Raj2022-03-031-11/+3
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-xmodem: Move docs to /usr/share/docKhem Raj2022-03-031-1/+6
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-prctl: fix wheel buildJustin Bronder2022-03-031-2/+1
| | | | | | | | | | | | Recipe does not inherit pypi nor would PN be a good guess at the name of the wheel. Set PIP_INSTALL_PACKAGE appropriately. Also dropping '+git${SRCPV}' from PV as the SRCREV is pointing to the 1.8.1 tag. 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-gcovr: fix wheel buildJustin Bronder2022-03-031-0/+1
| | | | | | | | | Recipe does not inherit pypi nor would PN be a good guess at the name of the wheel. Set PIP_INSTALL_PACKAGE appropriately. 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-crcmod: use setuptools instead of distutilsJustin Bronder2022-03-032-1/+23
| | | | | | 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-flask-versioned: Fix PYPA_WHEEL nameDaniel Gomez2022-03-031-0/+7
| | | | | | | | | | | | | | | | | | | | Add function to generate expected PYPA_WHEEL name. Generated name: /yp/builds/meta-qtec-distro/tmp/work/dbfp4-poky-linux/python3-flask-versioned/0.9.4-20101221-r0/Flask-Versioned-0.9.4-20101221/dist/ Flask_Versioned-0.9.4.post20101221-py3-none-any.whl Default (wrong) name: Flask_Versioned-0.9.4-20101221-*.whl Error: WARNING: Requirement '/yp/builds/meta-qtec-distro/tmp/work/dbfp4-poky-linux/python3-flask-versioned/0.9.4-20101221-r0/Flask-Versioned-0.9.4-20101221/dist/Flask_Versioned-0.9.4-20101221-*.whl' looks like a filename, but the file does not exist ERROR: Flask_Versioned-0.9.4-20101221-*.whl is not a valid wheel filename. Signed-off-by: Daniel Gomez <daniel@qtec.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-qface: add recipeSamuli Piippo2022-03-031-0/+24
| | | | | | Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-antlr4-runtime: add recipeSamuli Piippo2022-03-031-0/+11
| | | | | | Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-path: add recipeSamuli Piippo2022-03-031-0/+10
| | | | | | Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-ipy: drop recipeTim Orling2022-03-033-37/+0
| | | | | | | | | Does not build with bdist_wheel. If you need this package please work with upstream to update to PEP-517 packaging. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* distutils*.bbclass: move from oe-coreTim Orling2022-03-013-0/+108
| | | | | | | | | | | | | | | | distutils has been deprecated in Python 3.10 and will be removed in Python 3.12 (predicted release date October 2023). For now, move these classes from oe-core to allow users to migrate. A deprecation warning has been added to each class. Documentation is also being dropped in oe-core, but users can refer to 3.4 documentation for the legacy variables and classes. [YOCTO #14610] Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-mccabe: upgrade 0.6.1 -> 0.7.0Xu Huan2022-03-011-2/+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-lz4: upgrade 3.1.10 -> 4.0.0Xu Huan2022-03-011-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-sentry-sdk: upgrade 1.5.3 -> 1.5.6Wang Mingyu2022-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | Changelog: ========= Create feature.yml Update contribution guide chore: add bug issue template Added default value for auto_session_tracking docs(readme): reordered content fix(tests): Removed unsupported Django 1.6 from tests to avoid confusion Group captured warnings under separate issues build(changelogs): Use automated changelogs from Craft fix(aiohttp): AioHttpIntegration sentry_app_handle() now ignores ConnectionResetError meta: Remove black GH action feat(flask): Add sentry_trace() template helper 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>