From b43541557ec4bb0cc00be7026b54b05cfc14ea26 Mon Sep 17 00:00:00 2001 From: "riseproject-dev[bot]" <330740410+riseproject-dev[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2026 12:12:25 +0000 Subject: [PATCH 1/2] semgrep: Add versions 1.181.0, 1.181.1, 1.182.0, 1.182.1 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> --- docs/packages/semgrep.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/packages/semgrep.yaml b/docs/packages/semgrep.yaml index cfaa7367c072..ebf81a7b748e 100644 --- a/docs/packages/semgrep.yaml +++ b/docs/packages/semgrep.yaml @@ -92,3 +92,7 @@ versions: gpl-sources: filename: gpl-sources.tar description: the shared libraries bundled next to semgrep-core +- version: 1.181.0 +- version: 1.181.1 +- version: 1.182.0 +- version: 1.182.1 From 328fac96ba97779d00ff2f67ce2c75493a6e64cb Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Fri, 23 Oct 2026 12:11:27 +0800 Subject: [PATCH 2/2] semgrep: carry the riscv64 setup.py patch to 1.181.0, 1.181.1, 1.182.0 and 1.182.1 --- ...scv64-linux-wheels-as-manylinux_2_39.patch | 26 +++++++++++++++++++ ...scv64-linux-wheels-as-manylinux_2_39.patch | 26 +++++++++++++++++++ ...scv64-linux-wheels-as-manylinux_2_39.patch | 26 +++++++++++++++++++ ...scv64-linux-wheels-as-manylinux_2_39.patch | 26 +++++++++++++++++++ 4 files changed, 104 insertions(+) create mode 100644 patches/semgrep/1.181.0/0001-setup.py-tag-riscv64-linux-wheels-as-manylinux_2_39.patch create mode 100644 patches/semgrep/1.181.1/0001-setup.py-tag-riscv64-linux-wheels-as-manylinux_2_39.patch create mode 100644 patches/semgrep/1.182.0/0001-setup.py-tag-riscv64-linux-wheels-as-manylinux_2_39.patch create mode 100644 patches/semgrep/1.182.1/0001-setup.py-tag-riscv64-linux-wheels-as-manylinux_2_39.patch diff --git a/patches/semgrep/1.181.0/0001-setup.py-tag-riscv64-linux-wheels-as-manylinux_2_39.patch b/patches/semgrep/1.181.0/0001-setup.py-tag-riscv64-linux-wheels-as-manylinux_2_39.patch new file mode 100644 index 000000000000..d9c08f528d59 --- /dev/null +++ b/patches/semgrep/1.181.0/0001-setup.py-tag-riscv64-linux-wheels-as-manylinux_2_39.patch @@ -0,0 +1,26 @@ +From: RISE Project +Subject: [PATCH] setup.py: tag riscv64 linux wheels as manylinux_2_39_riscv64 + +cli/setup.py rewrites the default linux_ platform tag into a +manylinux/musllinux one through plat_libc_to_tag, which only knows x86_64 +and aarch64. On riscv64 the lookup raises KeyError and no wheel can be +built at all. + +Add the glibc riscv64 entry. Unlike x86_64/aarch64, riscv64 has no glibc +2.34 build environment available, so the tag names glibc 2.39 (Ubuntu +24.04 / Debian trixie), the oldest riscv64 userland in general use. + +Upstream-Status: To upstream [only meaningful together with a riscv64 semgrep-core build job, which semgrep does not have yet] + +--- a/cli/setup.py ++++ b/cli/setup.py +@@ -57,6 +57,9 @@ plat_libc_to_tag = { + ("linux_x86_64", "musl"): "musllinux_1_2_x86_64", + ("linux_aarch64", "glibc"): "manylinux_2_34_aarch64", + ("linux_x86_64", "glibc"): "manylinux_2_34_x86_64", ++ # riscv64 has no glibc 2.34 build environment; the oldest widely available ++ # one is glibc 2.39 (Ubuntu 24.04 / Debian trixie), so tag it accordingly. ++ ("linux_riscv64", "glibc"): "manylinux_2_39_riscv64", + } + + diff --git a/patches/semgrep/1.181.1/0001-setup.py-tag-riscv64-linux-wheels-as-manylinux_2_39.patch b/patches/semgrep/1.181.1/0001-setup.py-tag-riscv64-linux-wheels-as-manylinux_2_39.patch new file mode 100644 index 000000000000..d9c08f528d59 --- /dev/null +++ b/patches/semgrep/1.181.1/0001-setup.py-tag-riscv64-linux-wheels-as-manylinux_2_39.patch @@ -0,0 +1,26 @@ +From: RISE Project +Subject: [PATCH] setup.py: tag riscv64 linux wheels as manylinux_2_39_riscv64 + +cli/setup.py rewrites the default linux_ platform tag into a +manylinux/musllinux one through plat_libc_to_tag, which only knows x86_64 +and aarch64. On riscv64 the lookup raises KeyError and no wheel can be +built at all. + +Add the glibc riscv64 entry. Unlike x86_64/aarch64, riscv64 has no glibc +2.34 build environment available, so the tag names glibc 2.39 (Ubuntu +24.04 / Debian trixie), the oldest riscv64 userland in general use. + +Upstream-Status: To upstream [only meaningful together with a riscv64 semgrep-core build job, which semgrep does not have yet] + +--- a/cli/setup.py ++++ b/cli/setup.py +@@ -57,6 +57,9 @@ plat_libc_to_tag = { + ("linux_x86_64", "musl"): "musllinux_1_2_x86_64", + ("linux_aarch64", "glibc"): "manylinux_2_34_aarch64", + ("linux_x86_64", "glibc"): "manylinux_2_34_x86_64", ++ # riscv64 has no glibc 2.34 build environment; the oldest widely available ++ # one is glibc 2.39 (Ubuntu 24.04 / Debian trixie), so tag it accordingly. ++ ("linux_riscv64", "glibc"): "manylinux_2_39_riscv64", + } + + diff --git a/patches/semgrep/1.182.0/0001-setup.py-tag-riscv64-linux-wheels-as-manylinux_2_39.patch b/patches/semgrep/1.182.0/0001-setup.py-tag-riscv64-linux-wheels-as-manylinux_2_39.patch new file mode 100644 index 000000000000..d9c08f528d59 --- /dev/null +++ b/patches/semgrep/1.182.0/0001-setup.py-tag-riscv64-linux-wheels-as-manylinux_2_39.patch @@ -0,0 +1,26 @@ +From: RISE Project +Subject: [PATCH] setup.py: tag riscv64 linux wheels as manylinux_2_39_riscv64 + +cli/setup.py rewrites the default linux_ platform tag into a +manylinux/musllinux one through plat_libc_to_tag, which only knows x86_64 +and aarch64. On riscv64 the lookup raises KeyError and no wheel can be +built at all. + +Add the glibc riscv64 entry. Unlike x86_64/aarch64, riscv64 has no glibc +2.34 build environment available, so the tag names glibc 2.39 (Ubuntu +24.04 / Debian trixie), the oldest riscv64 userland in general use. + +Upstream-Status: To upstream [only meaningful together with a riscv64 semgrep-core build job, which semgrep does not have yet] + +--- a/cli/setup.py ++++ b/cli/setup.py +@@ -57,6 +57,9 @@ plat_libc_to_tag = { + ("linux_x86_64", "musl"): "musllinux_1_2_x86_64", + ("linux_aarch64", "glibc"): "manylinux_2_34_aarch64", + ("linux_x86_64", "glibc"): "manylinux_2_34_x86_64", ++ # riscv64 has no glibc 2.34 build environment; the oldest widely available ++ # one is glibc 2.39 (Ubuntu 24.04 / Debian trixie), so tag it accordingly. ++ ("linux_riscv64", "glibc"): "manylinux_2_39_riscv64", + } + + diff --git a/patches/semgrep/1.182.1/0001-setup.py-tag-riscv64-linux-wheels-as-manylinux_2_39.patch b/patches/semgrep/1.182.1/0001-setup.py-tag-riscv64-linux-wheels-as-manylinux_2_39.patch new file mode 100644 index 000000000000..d9c08f528d59 --- /dev/null +++ b/patches/semgrep/1.182.1/0001-setup.py-tag-riscv64-linux-wheels-as-manylinux_2_39.patch @@ -0,0 +1,26 @@ +From: RISE Project +Subject: [PATCH] setup.py: tag riscv64 linux wheels as manylinux_2_39_riscv64 + +cli/setup.py rewrites the default linux_ platform tag into a +manylinux/musllinux one through plat_libc_to_tag, which only knows x86_64 +and aarch64. On riscv64 the lookup raises KeyError and no wheel can be +built at all. + +Add the glibc riscv64 entry. Unlike x86_64/aarch64, riscv64 has no glibc +2.34 build environment available, so the tag names glibc 2.39 (Ubuntu +24.04 / Debian trixie), the oldest riscv64 userland in general use. + +Upstream-Status: To upstream [only meaningful together with a riscv64 semgrep-core build job, which semgrep does not have yet] + +--- a/cli/setup.py ++++ b/cli/setup.py +@@ -57,6 +57,9 @@ plat_libc_to_tag = { + ("linux_x86_64", "musl"): "musllinux_1_2_x86_64", + ("linux_aarch64", "glibc"): "manylinux_2_34_aarch64", + ("linux_x86_64", "glibc"): "manylinux_2_34_x86_64", ++ # riscv64 has no glibc 2.34 build environment; the oldest widely available ++ # one is glibc 2.39 (Ubuntu 24.04 / Debian trixie), so tag it accordingly. ++ ("linux_riscv64", "glibc"): "manylinux_2_39_riscv64", + } + +