From eaba81c19cf9ea29b3ddec074f13b76b51412ec2 Mon Sep 17 00:00:00 2001 From: Seth Foster Date: Wed, 7 Feb 2024 16:29:18 -0500 Subject: [PATCH] layers/meta-opentrons: bump python deps (#132) * layers/meta-opentrons: wrapt 1.16.0 * python3-wrapt: new license checksum * more 517 deps --- .../classes/pipenv_app_bundle.bbclass | 7 ++++++- layers/meta-opentrons/conf/distro/opentrons.conf | 1 + .../python/python3-wrapt_1.16.0.bb | 16 ++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 layers/meta-opentrons/recipes-devtools/python/python3-wrapt_1.16.0.bb diff --git a/layers/meta-opentrons/classes/pipenv_app_bundle.bbclass b/layers/meta-opentrons/classes/pipenv_app_bundle.bbclass index 46acea02..093ecfd7 100644 --- a/layers/meta-opentrons/classes/pipenv_app_bundle.bbclass +++ b/layers/meta-opentrons/classes/pipenv_app_bundle.bbclass @@ -159,7 +159,12 @@ do_compile () { ${PYTHON} -m pip install \ -t ${B}/pip-buildenv \ - hatchling hatch-vcs flit flit-core setuptools==65.6.3 setuptools-scm[toml]==7.1.0 wheel==0.38.4 hatch-fancy-pypi-readme expandvars cython \ + hatchling hatch-vcs hatch-fancy-pypi-readme \ + flit flit-core flit_scm \ + setuptools==65.6.3 setuptools-scm[toml]==7.1.0 \ + wheel==0.38.4 \ + expandvars \ + cython \ ${PIP_ENVARGS} PYTHONPATH=${B}/pip-buildenv:${PYTHONPATH} ${PYTHON} -m pip install \ diff --git a/layers/meta-opentrons/conf/distro/opentrons.conf b/layers/meta-opentrons/conf/distro/opentrons.conf index e0f7af88..9d5e5131 100644 --- a/layers/meta-opentrons/conf/distro/opentrons.conf +++ b/layers/meta-opentrons/conf/distro/opentrons.conf @@ -16,3 +16,4 @@ PREFERRED_VERSION_python3-pyjwt = "2.6.0" PREFERRED_VERSION_python3-setuptools = "62.3.1" PREFERRED_VERSION_python3-jupyter-packaging = "0.12.0" PREFERRED_VERSION_nodejs = "18.18.2" +PREFERRED_VERSION_python3-wrapt = "1.16.0" diff --git a/layers/meta-opentrons/recipes-devtools/python/python3-wrapt_1.16.0.bb b/layers/meta-opentrons/recipes-devtools/python/python3-wrapt_1.16.0.bb new file mode 100644 index 00000000..75f4d3bd --- /dev/null +++ b/layers/meta-opentrons/recipes-devtools/python/python3-wrapt_1.16.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "A Python module for decorators, wrappers and monkey patching." +HOMEPAGE = "http://wrapt.readthedocs.org/" +LICENSE = "BSD-2-Clause" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://LICENSE;md5=dc34cbad60bc961452eb7ade801d25f7" + +SRC_URI[sha256sum] = "5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d" + +inherit pypi setuptools3 + +RDEPENDS:${PN}:class-target += "\ + ${PYTHON_PN}-stringold \ + ${PYTHON_PN}-threading \ +" + +BBCLASSEXTEND = "native"