bamaer opened a new issue, #77467: URL: https://github.com/apache/airflow/issues/77467
`org.apache.airflow:airflow-sdk` 1.0.0 depends on `com.xenomachina:kotlin-argparser:2.0.7` (`implementation` in `java-sdk/sdk/build.gradle.kts`), which brings in `com.xenomachina:xenocom:0.0.7`. Both are licensed LGPL-2.1-or-later (`COPYING`, the source headers and the POMs), with no other licence. The ASF licensing policy lists the LGPL in Category X. The source release doesn't include them, but anything that ships the SDK has to, and an ASF project can't. We ran into this in Apache Hop, which wants to ship a launcher built on the Java SDK. The parser is only used in `Server.kt`, for `--comm`, `--logs` and `--describe-sources`, and it isn't optional. Initialising `Server` loads `com.xenomachina.argparser.MissingValueException`, so the SDK fails with `NoClassDefFoundError` without the jar, even when `CoordinatorServer` is built directly. Dropping `kotlin-argparser` also drops `xenocom`, which nothing else uses. Airflow removed a similar LGPL dependency before (`chardet` via `requests`, #15781). Would you take a change that parses the three options without the library? The coordinator always passes `--comm=host:port --logs=host:port`. Happy to send a PR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
