Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/packages/pyjoulescope-driver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ludovic Henry <git@ludovic.dev>
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.<pkg>.*`
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ludovic Henry <git@ludovic.dev>
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.<pkg>.*`
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ludovic Henry <git@ludovic.dev>
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.<pkg>.*`
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ludovic Henry <git@ludovic.dev>
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.<pkg>.*`
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ludovic Henry <git@ludovic.dev>
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.<pkg>.*`
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ludovic Henry <git@ludovic.dev>
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.<pkg>.*`
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ludovic Henry <git@ludovic.dev>
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.<pkg>.*`
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
Loading