diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-06-03 13:52:02 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-06-03 15:16:52 +0000 |
| commit | a0e52d3b76ed83c9c84ab3cc86de41d23f4d188c (patch) | |
| tree | 711d7a6761b269ae9083fa42a57192204834f554 | |
| parent | f85fabf1b1a21ee6cd706715ff2994bd3b9c27fd (diff) | |
| download | meta-virtualization-a0e52d3b76ed83c9c84ab3cc86de41d23f4d188c.tar.gz | |
python3-newrelic: update to 13.1.0
Bump 10.9.0 -> 13.1.0 (latest on PyPI). New sdist sha256sum:
1492f0fe510cdc0c1347f597baca2a3ddd7e0662895a800e19fe524396f7bf05
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-devtools/python/python3-newrelic_10.9.0.bb | 20 | ||||
| -rw-r--r-- | recipes-devtools/python/python3-newrelic_13.1.0.bb | 40 |
2 files changed, 40 insertions, 20 deletions
diff --git a/recipes-devtools/python/python3-newrelic_10.9.0.bb b/recipes-devtools/python/python3-newrelic_10.9.0.bb deleted file mode 100644 index a390aff8..00000000 --- a/recipes-devtools/python/python3-newrelic_10.9.0.bb +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | HOMEPAGE = "http://www.newrelic.com" | ||
| 2 | SUMMARY = "New Relic Python Agent" | ||
| 3 | DESCRIPTION = "\ | ||
| 4 | Python agent for the New Relic web application performance monitoring \ | ||
| 5 | service. Check the release notes for what has changed in this version. \ | ||
| 6 | " | ||
| 7 | SECTION = "devel/python" | ||
| 8 | LICENSE = "BSD-3-Clause & MIT & Python-2.0 & BSD-2-Clause & NewRelic" | ||
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2b42edef8fa55315f34f2370b4715ca9" | ||
| 10 | |||
| 11 | SRC_URI[sha256sum] = "0741de2138b41a1ae1cfad397878774de4131196d66f1443a23b055d9f47e706" | ||
| 12 | |||
| 13 | inherit pypi setuptools3 | ||
| 14 | |||
| 15 | DEPENDS += "python3-setuptools-scm-native" | ||
| 16 | |||
| 17 | FILES:${PN}-dbg += "\ | ||
| 18 | ${PYTHON_SITEPACKAGES_DIR}/newrelic-${PV}/newrelic/*/.debug \ | ||
| 19 | ${PYTHON_SITEPACKAGES_DIR}/newrelic-${PV}/newrelic/packages/*/.debug/ \ | ||
| 20 | " | ||
diff --git a/recipes-devtools/python/python3-newrelic_13.1.0.bb b/recipes-devtools/python/python3-newrelic_13.1.0.bb new file mode 100644 index 00000000..55d9e2d3 --- /dev/null +++ b/recipes-devtools/python/python3-newrelic_13.1.0.bb | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | HOMEPAGE = "http://www.newrelic.com" | ||
| 2 | SUMMARY = "New Relic Python Agent" | ||
| 3 | DESCRIPTION = "\ | ||
| 4 | Python agent for the New Relic web application performance monitoring \ | ||
| 5 | service. Check the release notes for what has changed in this version. \ | ||
| 6 | " | ||
| 7 | SECTION = "devel/python" | ||
| 8 | LICENSE = "BSD-3-Clause & MIT & Python-2.0 & BSD-2-Clause & NewRelic" | ||
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2b42edef8fa55315f34f2370b4715ca9" | ||
| 10 | |||
| 11 | SRC_URI[sha256sum] = "1492f0fe510cdc0c1347f597baca2a3ddd7e0662895a800e19fe524396f7bf05" | ||
| 12 | |||
| 13 | inherit pypi python_setuptools_build_meta | ||
| 14 | |||
| 15 | DEPENDS += "python3-setuptools-scm-native" | ||
| 16 | |||
| 17 | # Upstream pyproject.toml pins setuptools_scm<10 (line 61) but oe-core ships | ||
| 18 | # 10.0.5, so the PEP 517 build-meta backend's requirement check rejects the | ||
| 19 | # available version with "Missing dependencies: setuptools_scm<10,>=6.4". | ||
| 20 | # Relax the upper bound in-place; the v10 release was non-breaking for the | ||
| 21 | # setuptools_scm features newrelic actually uses (just version derivation | ||
| 22 | # from git tags via [tool.setuptools_scm] in the same file). | ||
| 23 | do_configure:prepend() { | ||
| 24 | sed -i 's|"setuptools_scm>=6.4,<10"|"setuptools_scm>=6.4"|g' ${S}/pyproject.toml ${S}/setup.py | ||
| 25 | } | ||
| 26 | |||
| 27 | FILES:${PN}-dbg += "\ | ||
| 28 | ${PYTHON_SITEPACKAGES_DIR}/newrelic-${PV}/newrelic/*/.debug \ | ||
| 29 | ${PYTHON_SITEPACKAGES_DIR}/newrelic-${PV}/newrelic/packages/*/.debug/ \ | ||
| 30 | " | ||
| 31 | |||
| 32 | # The opentelemetry_proto vendored submodule (new in 13.x) ships a | ||
| 33 | # generate_pb2.sh dev helper that regenerates the protobuf python bindings | ||
| 34 | # from the .proto files. It has a bash shebang and is not used at runtime — | ||
| 35 | # only by maintainers when refreshing the bundled pb2.py outputs. Shipping | ||
| 36 | # it pulls bash into RDEPENDS (do_package_qa [file-rdeps] catches the | ||
| 37 | # /bin/bash shebang) for no runtime benefit; drop it from the install. | ||
| 38 | do_install:append() { | ||
| 39 | rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/newrelic/packages/opentelemetry_proto/generate_pb2.sh | ||
| 40 | } | ||
