Repository navigation
chore: remove R support from Docker images for license compliance - #4385
Merged
Merged
Conversation
R is GPLv2 (ASF Category X) and its install chain also required gnupg/dirmngr/software-properties-common (GPLv3/v2, Category X). Removed from computing-unit-master and computing-unit-worker runtime stages along with the WITH_R_SUPPORT build arg, CI input, and build-images.sh flag. Also dropped unused runtime packages (git, unzip) that were only present because of the R setup chain; git CLI is not invoked at runtime (JGit reads .git directly). R UDF operator code and the frontend editor are left intact; the Python executor already raises a clear ImportError when the optional texera-rudf plugin is not installed, so users who need R can build their own image with R layered on top. Part of apache#4371. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Contributor
|
@kunwp1 Please review it. |
1 of 5 tasks
bobbai00
added a commit
to bobbai00/texera
that referenced
this pull request
Apr 18, 2026
…ache#4385) ### What changes were proposed in this PR? Remove R support from `computing-unit-master` and `computing-unit-worker` Docker images. R itself is GPLv2, and its install chain required `gnupg`/`dirmngr`/`software-properties-common` (GPLv3/v2) — all ASF Category X. Also drops unused `git` and `unzip` from the runtime stage (JGit reads `.git` directly; no git CLI needed). R UDF Scala/Python/frontend code is left intact. `executor_manager.py` already raises a clear ImportError when the optional `texera-rudf` plugin is missing, so users who need R can build their own image on top. ### Any related issues, documentation, discussions? Part of apache#4371. ### How was this PR tested? Images built locally without R. Non-R services are untouched. ### Was this PR authored or co-authored using generative AI tooling? Co-authored with: Claude Code (claude-opus-4-6) Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]> Co-authored-by: Chen Li <[email protected]>
bobbai00
added a commit
to bobbai00/texera
that referenced
this pull request
Apr 26, 2026
LICENSE-binary now lists each Python package as `<name>==<version>` and
each npm package as `<name>@<version>`, mirroring the per-jar format
already used for the JVM section. Version drift is surfaced by CI as
ADDED/STALE entries in any of the three ecosystems.
Sources of truth (all native package-manager output):
- npm: a license-webpack-plugin instance registered in
frontend/custom-webpack.config.js writes
frontend/dist/3rdpartylicenses.json with {name, version, license}
per bundled package — bundle-scoped (matches what ships in the
texera-web-application Docker image), not node_modules-scoped.
- python: `pip-licenses --format=csv` after `pip install -r ...`.
The check-binary-licenses workflow:
- Replaces the old 3rdpartylicenses.txt consumer with the new JSON
consumer.
- Adds frontend/custom-webpack.config.js to its path-trigger list.
- Tells pip-licenses to also ignore prettytable/wcwidth (pip-licenses's
own runtime deps, not bundled).
Drive-by: adds `[email protected]` to LICENSE-binary's MIT npm sub-section. It is
the embedded Microsoft VS Code R-language extension shipped inside
@codingame/monaco-vscode-r-default-extension's resources/, alongside the
already-listed `java`, `python`, and `theme-defaults` siblings. Missing
from the original audit because R was scrubbed from Docker images
(PR apache#4385) but the Monaco R-syntax extension is still consumed by the
frontend.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
yangzhang75
pushed a commit
to yangzhang75/texera
that referenced
this pull request
Jun 22, 2026
…ache#4385) ### What changes were proposed in this PR? Remove R support from `computing-unit-master` and `computing-unit-worker` Docker images. R itself is GPLv2, and its install chain required `gnupg`/`dirmngr`/`software-properties-common` (GPLv3/v2) — all ASF Category X. Also drops unused `git` and `unzip` from the runtime stage (JGit reads `.git` directly; no git CLI needed). R UDF Scala/Python/frontend code is left intact. `executor_manager.py` already raises a clear ImportError when the optional `texera-rudf` plugin is missing, so users who need R can build their own image on top. ### Any related issues, documentation, discussions? Part of apache#4371. ### How was this PR tested? Images built locally without R. Non-R services are untouched. ### Was this PR authored or co-authored using generative AI tooling? Co-authored with: Claude Code (claude-opus-4-6) Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]> Co-authored-by: Chen Li <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this PR?
Remove R support from
computing-unit-masterandcomputing-unit-workerDocker images. R itself is GPLv2, and its install chain requiredgnupg/dirmngr/software-properties-common(GPLv3/v2) — all ASF Category X. Also drops unusedgitandunzipfrom the runtime stage (JGit reads.gitdirectly; no git CLI needed).R UDF Scala/Python/frontend code is left intact.
executor_manager.pyalready raises a clear ImportError when the optionaltexera-rudfplugin is missing, so users who need R can build their own image on top.Any related issues, documentation, discussions?
Part of #4371. Closes #4392
How was this PR tested?
Images built locally without R. Non-R services are untouched.
Was this PR authored or co-authored using generative AI tooling?
Co-authored with: Claude Code (claude-opus-4-6)