diff --git a/docs/packages/pyjoulescope-driver.yaml b/docs/packages/pyjoulescope-driver.yaml index e28366241c86..e3fd4f485ab8 100644 --- a/docs/packages/pyjoulescope-driver.yaml +++ b/docs/packages/pyjoulescope-driver.yaml @@ -18,3 +18,10 @@ versions: gpl-sources: filename: gpl-sources.tar description: gcc and the copyleft libraries bundled in the wheel +- version: 2.4.2 +- version: 2.4.3 +- version: 2.5.0 +- version: 2.5.1 +- version: 2.5.2 +- version: 2.5.3 +- version: 2.5.4 diff --git a/patches/pyjoulescope-driver/2.4.2/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch b/patches/pyjoulescope-driver/2.4.2/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch new file mode 100644 index 000000000000..397384437b46 --- /dev/null +++ b/patches/pyjoulescope-driver/2.4.2/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch @@ -0,0 +1,48 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Wed, 30 Sep 2026 00:00:00 +0200 +Subject: [PATCH] Ship the licences of the bundled third-party code in the wheel + +`license_files = LICENSE.txt` is an explicit setuptools list, so it does +not fall back to the `LICEN[CS]E*` auto-discovery glob, and the wheel +ships only the project's own Apache-2.0 text. The `binding` extension, +however, compiles in three bundled libraries whose licences require +their notice to travel with the binary: libusb (LGPL-2.1, +third-party/libusb), miniz (MIT, third-party/miniz) and tinyprintf +(BSD-3-Clause, third-party/tinyprintf). `auditwheel repair` also vendors +libudev and its closure out of the build image, and a `LICENSE..*` +file dropped at the project root for each of them is silently ignored +by the explicit list. + +List the three bundled licence files and add a `LICENSE.*` glob. This +also brings third-party/libusb/COPYING and third-party/miniz/LICENSE +into the sdist, which MANIFEST.in's `recursive-include third-party *.*` +skips because their names have no extension. + +Upstream's own wheels (manylinux_2_28 x86_64/aarch64) carry the same +gap: only LICENSE.txt ships in dist-info/licenses, with no notice for +libusb, miniz, tinyprintf or the vendored libudev closure. + +Upstream-Status: To upstream [not submitted from this port; needs a pull request against jetperch/joulescope_driver] +--- + setup.cfg | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/setup.cfg b/setup.cfg +index 5489239..c4c2408 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -1,5 +1,10 @@ + [metadata] +-license_files = LICENSE.txt ++license_files = ++ LICENSE.txt ++ LICENSE.* ++ third-party/libusb/COPYING ++ third-party/miniz/LICENSE ++ third-party/tinyprintf/tinyprintf_LICENSE.BSD-new + + [bdist_wheel] + universal=0 +-- +2.43.0 diff --git a/patches/pyjoulescope-driver/2.4.3/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch b/patches/pyjoulescope-driver/2.4.3/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch new file mode 100644 index 000000000000..a348e1e001ce --- /dev/null +++ b/patches/pyjoulescope-driver/2.4.3/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch @@ -0,0 +1,50 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Wed, 30 Sep 2026 00:00:00 +0200 +Subject: [PATCH] Ship the licences of the bundled third-party code in the wheel + +`license_files = LICENSE.txt` is an explicit setuptools list, so it does +not fall back to the `LICEN[CS]E*` auto-discovery glob, and the wheel +ships only the project's own Apache-2.0 text. The `binding` extension, +however, compiles in three bundled libraries whose licences require +their notice to travel with the binary: libusb (LGPL-2.1, +third-party/libusb), miniz (MIT, third-party/miniz) and tinyprintf +(BSD-3-Clause, third-party/tinyprintf). `auditwheel repair` also vendors +libudev and its closure out of the build image, and a `LICENSE..*` +file dropped at the project root for each of them is silently ignored +by the explicit list. + +List the three bundled licence files and add a `LICENSE.*` glob. This +also brings third-party/libusb/COPYING and third-party/miniz/LICENSE +into the sdist, which MANIFEST.in's `recursive-include third-party *.*` +skips because their names have no extension. + +Upstream's own wheels (manylinux_2_28 x86_64/aarch64) carry the same +gap: only LICENSE.txt ships in dist-info/licenses, with no notice for +libusb, miniz, tinyprintf or the vendored libudev closure. + +Upstream-Status: To upstream [not submitted from this port; needs a pull request against jetperch/joulescope_driver] +--- + setup.cfg | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/setup.cfg b/setup.cfg +index 5c1e718..ca0e3e6 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -14,7 +14,12 @@ + # limitations under the License. + + [metadata] +-license_files = LICENSE.txt ++license_files = ++ LICENSE.txt ++ LICENSE.* ++ third-party/libusb/COPYING ++ third-party/miniz/LICENSE ++ third-party/tinyprintf/tinyprintf_LICENSE.BSD-new + + [bdist_wheel] + universal=0 +-- +2.43.0 diff --git a/patches/pyjoulescope-driver/2.5.0/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch b/patches/pyjoulescope-driver/2.5.0/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch new file mode 100644 index 000000000000..a348e1e001ce --- /dev/null +++ b/patches/pyjoulescope-driver/2.5.0/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch @@ -0,0 +1,50 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Wed, 30 Sep 2026 00:00:00 +0200 +Subject: [PATCH] Ship the licences of the bundled third-party code in the wheel + +`license_files = LICENSE.txt` is an explicit setuptools list, so it does +not fall back to the `LICEN[CS]E*` auto-discovery glob, and the wheel +ships only the project's own Apache-2.0 text. The `binding` extension, +however, compiles in three bundled libraries whose licences require +their notice to travel with the binary: libusb (LGPL-2.1, +third-party/libusb), miniz (MIT, third-party/miniz) and tinyprintf +(BSD-3-Clause, third-party/tinyprintf). `auditwheel repair` also vendors +libudev and its closure out of the build image, and a `LICENSE..*` +file dropped at the project root for each of them is silently ignored +by the explicit list. + +List the three bundled licence files and add a `LICENSE.*` glob. This +also brings third-party/libusb/COPYING and third-party/miniz/LICENSE +into the sdist, which MANIFEST.in's `recursive-include third-party *.*` +skips because their names have no extension. + +Upstream's own wheels (manylinux_2_28 x86_64/aarch64) carry the same +gap: only LICENSE.txt ships in dist-info/licenses, with no notice for +libusb, miniz, tinyprintf or the vendored libudev closure. + +Upstream-Status: To upstream [not submitted from this port; needs a pull request against jetperch/joulescope_driver] +--- + setup.cfg | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/setup.cfg b/setup.cfg +index 5c1e718..ca0e3e6 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -14,7 +14,12 @@ + # limitations under the License. + + [metadata] +-license_files = LICENSE.txt ++license_files = ++ LICENSE.txt ++ LICENSE.* ++ third-party/libusb/COPYING ++ third-party/miniz/LICENSE ++ third-party/tinyprintf/tinyprintf_LICENSE.BSD-new + + [bdist_wheel] + universal=0 +-- +2.43.0 diff --git a/patches/pyjoulescope-driver/2.5.1/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch b/patches/pyjoulescope-driver/2.5.1/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch new file mode 100644 index 000000000000..a348e1e001ce --- /dev/null +++ b/patches/pyjoulescope-driver/2.5.1/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch @@ -0,0 +1,50 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Wed, 30 Sep 2026 00:00:00 +0200 +Subject: [PATCH] Ship the licences of the bundled third-party code in the wheel + +`license_files = LICENSE.txt` is an explicit setuptools list, so it does +not fall back to the `LICEN[CS]E*` auto-discovery glob, and the wheel +ships only the project's own Apache-2.0 text. The `binding` extension, +however, compiles in three bundled libraries whose licences require +their notice to travel with the binary: libusb (LGPL-2.1, +third-party/libusb), miniz (MIT, third-party/miniz) and tinyprintf +(BSD-3-Clause, third-party/tinyprintf). `auditwheel repair` also vendors +libudev and its closure out of the build image, and a `LICENSE..*` +file dropped at the project root for each of them is silently ignored +by the explicit list. + +List the three bundled licence files and add a `LICENSE.*` glob. This +also brings third-party/libusb/COPYING and third-party/miniz/LICENSE +into the sdist, which MANIFEST.in's `recursive-include third-party *.*` +skips because their names have no extension. + +Upstream's own wheels (manylinux_2_28 x86_64/aarch64) carry the same +gap: only LICENSE.txt ships in dist-info/licenses, with no notice for +libusb, miniz, tinyprintf or the vendored libudev closure. + +Upstream-Status: To upstream [not submitted from this port; needs a pull request against jetperch/joulescope_driver] +--- + setup.cfg | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/setup.cfg b/setup.cfg +index 5c1e718..ca0e3e6 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -14,7 +14,12 @@ + # limitations under the License. + + [metadata] +-license_files = LICENSE.txt ++license_files = ++ LICENSE.txt ++ LICENSE.* ++ third-party/libusb/COPYING ++ third-party/miniz/LICENSE ++ third-party/tinyprintf/tinyprintf_LICENSE.BSD-new + + [bdist_wheel] + universal=0 +-- +2.43.0 diff --git a/patches/pyjoulescope-driver/2.5.2/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch b/patches/pyjoulescope-driver/2.5.2/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch new file mode 100644 index 000000000000..a348e1e001ce --- /dev/null +++ b/patches/pyjoulescope-driver/2.5.2/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch @@ -0,0 +1,50 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Wed, 30 Sep 2026 00:00:00 +0200 +Subject: [PATCH] Ship the licences of the bundled third-party code in the wheel + +`license_files = LICENSE.txt` is an explicit setuptools list, so it does +not fall back to the `LICEN[CS]E*` auto-discovery glob, and the wheel +ships only the project's own Apache-2.0 text. The `binding` extension, +however, compiles in three bundled libraries whose licences require +their notice to travel with the binary: libusb (LGPL-2.1, +third-party/libusb), miniz (MIT, third-party/miniz) and tinyprintf +(BSD-3-Clause, third-party/tinyprintf). `auditwheel repair` also vendors +libudev and its closure out of the build image, and a `LICENSE..*` +file dropped at the project root for each of them is silently ignored +by the explicit list. + +List the three bundled licence files and add a `LICENSE.*` glob. This +also brings third-party/libusb/COPYING and third-party/miniz/LICENSE +into the sdist, which MANIFEST.in's `recursive-include third-party *.*` +skips because their names have no extension. + +Upstream's own wheels (manylinux_2_28 x86_64/aarch64) carry the same +gap: only LICENSE.txt ships in dist-info/licenses, with no notice for +libusb, miniz, tinyprintf or the vendored libudev closure. + +Upstream-Status: To upstream [not submitted from this port; needs a pull request against jetperch/joulescope_driver] +--- + setup.cfg | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/setup.cfg b/setup.cfg +index 5c1e718..ca0e3e6 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -14,7 +14,12 @@ + # limitations under the License. + + [metadata] +-license_files = LICENSE.txt ++license_files = ++ LICENSE.txt ++ LICENSE.* ++ third-party/libusb/COPYING ++ third-party/miniz/LICENSE ++ third-party/tinyprintf/tinyprintf_LICENSE.BSD-new + + [bdist_wheel] + universal=0 +-- +2.43.0 diff --git a/patches/pyjoulescope-driver/2.5.3/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch b/patches/pyjoulescope-driver/2.5.3/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch new file mode 100644 index 000000000000..a348e1e001ce --- /dev/null +++ b/patches/pyjoulescope-driver/2.5.3/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch @@ -0,0 +1,50 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Wed, 30 Sep 2026 00:00:00 +0200 +Subject: [PATCH] Ship the licences of the bundled third-party code in the wheel + +`license_files = LICENSE.txt` is an explicit setuptools list, so it does +not fall back to the `LICEN[CS]E*` auto-discovery glob, and the wheel +ships only the project's own Apache-2.0 text. The `binding` extension, +however, compiles in three bundled libraries whose licences require +their notice to travel with the binary: libusb (LGPL-2.1, +third-party/libusb), miniz (MIT, third-party/miniz) and tinyprintf +(BSD-3-Clause, third-party/tinyprintf). `auditwheel repair` also vendors +libudev and its closure out of the build image, and a `LICENSE..*` +file dropped at the project root for each of them is silently ignored +by the explicit list. + +List the three bundled licence files and add a `LICENSE.*` glob. This +also brings third-party/libusb/COPYING and third-party/miniz/LICENSE +into the sdist, which MANIFEST.in's `recursive-include third-party *.*` +skips because their names have no extension. + +Upstream's own wheels (manylinux_2_28 x86_64/aarch64) carry the same +gap: only LICENSE.txt ships in dist-info/licenses, with no notice for +libusb, miniz, tinyprintf or the vendored libudev closure. + +Upstream-Status: To upstream [not submitted from this port; needs a pull request against jetperch/joulescope_driver] +--- + setup.cfg | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/setup.cfg b/setup.cfg +index 5c1e718..ca0e3e6 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -14,7 +14,12 @@ + # limitations under the License. + + [metadata] +-license_files = LICENSE.txt ++license_files = ++ LICENSE.txt ++ LICENSE.* ++ third-party/libusb/COPYING ++ third-party/miniz/LICENSE ++ third-party/tinyprintf/tinyprintf_LICENSE.BSD-new + + [bdist_wheel] + universal=0 +-- +2.43.0 diff --git a/patches/pyjoulescope-driver/2.5.4/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch b/patches/pyjoulescope-driver/2.5.4/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch new file mode 100644 index 000000000000..a348e1e001ce --- /dev/null +++ b/patches/pyjoulescope-driver/2.5.4/0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch @@ -0,0 +1,50 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Wed, 30 Sep 2026 00:00:00 +0200 +Subject: [PATCH] Ship the licences of the bundled third-party code in the wheel + +`license_files = LICENSE.txt` is an explicit setuptools list, so it does +not fall back to the `LICEN[CS]E*` auto-discovery glob, and the wheel +ships only the project's own Apache-2.0 text. The `binding` extension, +however, compiles in three bundled libraries whose licences require +their notice to travel with the binary: libusb (LGPL-2.1, +third-party/libusb), miniz (MIT, third-party/miniz) and tinyprintf +(BSD-3-Clause, third-party/tinyprintf). `auditwheel repair` also vendors +libudev and its closure out of the build image, and a `LICENSE..*` +file dropped at the project root for each of them is silently ignored +by the explicit list. + +List the three bundled licence files and add a `LICENSE.*` glob. This +also brings third-party/libusb/COPYING and third-party/miniz/LICENSE +into the sdist, which MANIFEST.in's `recursive-include third-party *.*` +skips because their names have no extension. + +Upstream's own wheels (manylinux_2_28 x86_64/aarch64) carry the same +gap: only LICENSE.txt ships in dist-info/licenses, with no notice for +libusb, miniz, tinyprintf or the vendored libudev closure. + +Upstream-Status: To upstream [not submitted from this port; needs a pull request against jetperch/joulescope_driver] +--- + setup.cfg | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/setup.cfg b/setup.cfg +index 5c1e718..ca0e3e6 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -14,7 +14,12 @@ + # limitations under the License. + + [metadata] +-license_files = LICENSE.txt ++license_files = ++ LICENSE.txt ++ LICENSE.* ++ third-party/libusb/COPYING ++ third-party/miniz/LICENSE ++ third-party/tinyprintf/tinyprintf_LICENSE.BSD-new + + [bdist_wheel] + universal=0 +-- +2.43.0