[Ideas] Remove Bundled Python Packages in Cloudberry Main Repo #961
Replies: 5 comments 1 reply
-
One experimental PR has been created: #982. Love to have your feedback! |
Beta Was this translation helpful? Give feedback.
-
It doesn’t seem like anyone cares about this topic, but I have a question: |
Beta Was this translation helpful? Give feedback.
-
@tuhaihe I'm curious whether anyone is currently using pylint during development or testing. Personally, I'm not aware of it being in active use. It might be worth cross-posting this to dev@cloudberry.apache.org to check if anyone is relying on pylint. If it turns out that someone is, we can evaluate whether it's feasible to switch to ruff (a compatible Python linter under the MIT license) or another alternative that aligns with the Apache License policy. On the other hand, if no one responds or confirms usage, we should consider removing pylint, since its GPv2 license is not compatible. I’m happy to help with the removal and leave a note in the repo explaining the decision, along with a suggestion to adopt a license-compatible linter if needed. As for the other tools, I suggest leaving them in place for now until someone has the time and interest to review their licensing and relevance to the project. |
Beta Was this translation helpful? Give feedback.
-
Here, I can provide more information based on the research work for the reference:
|
Beta Was this translation helpful? Give feedback.
-
Hey @edespino, thanks for your suggestion on this discussion. I agree that we can replace Thanks again! [1] https://lists.apache.org/thread/4nmc9kd3krjofro2xkg78vq9f5syop50 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
During the code cleanup process, I noticed that the Cloudberry main repo includes source tarballs for several Python packages under
gpMgmt/bin/pythonSrc
andgpMgmt/bin/pythonSrc/ext
, such as:While most of these packages are under Apache-compatible licenses, just noticed that
pylint-0.21.0.tar.gz
is licensed under GPL-2, which may raise license compatibility concerns.Bundling these source packages in the repo has some potential drawbacks:
Would it be possible to remove these bundled source packages and instead install them via package managers like
pip
during the build or test process, or install them in our build or test docker image? This would simplify repo management and ensure better compliance with licensing policies.Maybe we need to do some source code refactoring work to adopt this strategy.
Looking forward to hearing your thoughts!
Use case/motivation
No response
Related issues
No response
Are you willing to submit a PR?
Beta Was this translation helpful? Give feedback.
All reactions