Skip to contentSkip to conversation

python3-attrs: fix CVE_PRODUCT

PATCH New Devansh Patel -X (devanshp - E INFOCHIPS PRIVATE LIMITED at Cisco) 1 participant 1 message Aug 20

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-attrs: fix CVE_PRODUCT

From: Tim Orling <[email protected]>

No new CVEs are caught, but attrs_project:attrs matches the upstream NVD dictionary CPE. The pypi.bbclass default "python:attrs" generates the wrong product identity for the packaged attrs source.

This changes the generated product identity, but the Scarthgap cve-check database snapshot has no current CVE report delta.

Note: The original commit targeted python3-attrs_26.1.0.bb. This is adjusted for Scarthgap, where the recipe version is 23.2.0.

AI-Generated: Claude Sonnet 5

(cherry picked from commit bc07eddb82fe42ecf86e685450ec0b5c9d3a9ce1)
---
 meta/recipes-devtools/python/python3-attrs_23.2.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-attrs_23.2.0.bb +2 -0
index e39b64306c..99cae50e9b 100644
@@ -7,6 +7,8 @@ SRC_URI[sha256sum] = "935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19
 
 inherit pypi ptest python_hatchling
 
+CVE_PRODUCT = "attrs_project:attrs"
+
 SRC_URI += " \
 	file://0001-test_funcs-skip-test_unknown-for-pytest-8.patch \
 	file://0001-conftest.py-disable-deadline.patch \
Signature · 1 line
2.35.6