Skip to content

Support publishing GPL sources in workflows#172

Merged
threexc merged 6 commits into
mainfrom
tgamblin/publish-gpl-sources
Jul 16, 2026
Merged

Support publishing GPL sources in workflows#172
threexc merged 6 commits into
mainfrom
tgamblin/publish-gpl-sources

Conversation

@threexc

@threexc threexc commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

In the wheel_builder repository we had a specific process for linking to any GPL sources which were used as part of wheel builds (for example, numpy pulled and linked the GCC sources from the container it was built with). Add a custom action (collect-gpl-sources) to do this and use it alongside publish-wheels, then make use of it in build-numpy.yml. Also update the update_doc.py script to support automatically generating notes about these artifacts, and provide a new section to cover this usage in docs/development.md.

Trigger: numpy:v2.5.0
Trigger: numpy:v2.5.1

threexc added 5 commits July 16, 2026 14:16
Add a custom action for pulling GPL sources which we need to provide
access to for certain package builds. The canonical example is NumPy,
which we redistribute the gcc source used to build the wheels (and is
therefore the default). Since we expect this to be used with manylinux
container images (based on RockyLinux), use dnf-based tooling in the
action's steps.

AI-Generated: Uses Claude Sonnet 5

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Publish GPL sources alongside our wheels if they're present so we can be
license compliant.

AI-Generated: Uses Claude Sonnet 5

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
We need to ensure that the GPL sources used in the NumPy builds are
provided to be license compliant. Add a new job to get them and pass
them along to the publish step. Use a new MANYLINUX_RISCV64_IMAGE
variable at the environment level so that the collect-gpl-sources action
pulls the sources from the same container image we used for building.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Add some extra logic to automate linking to any GPL source artifacts we
provide along with our builds.

AI-Generated: Uses Claude Sonnet 5

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-07-16 20:53 UTC

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
@threexc
threexc force-pushed the tgamblin/publish-gpl-sources branch from 8446072 to 4075e7a Compare July 16, 2026 19:32
@threexc
threexc merged commit 1c45d16 into main Jul 16, 2026
23 of 45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant