-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pylint Errors Due to Compatibility Issues with Updated Sedna in CI Environment #152
Comments
Here is my analysis of the issue. There are two direct reasons for this issue:
To pass the Pylint check, contributors can upload their modified Sedna Wheel to However, this approach has significant risks:
One possible solution is for contributors to submit their modifications as PRs to the official Sedna repository; once officially merged, they can then introduce the new Wheel into Ianvs. The challenge lies in: since it's difficult to verify whether these modifications will affect other features of the official Sedna repository, contributors' PR may be difficult to be merged. This actually reflects the flaws in current dependency management within Ianvs. See #132 for more details about these flaws (especially this part) |
This issue is a little complex and may require collaboration between the Sedna and Ianvs projects. It exceeds my personal capabilities to resolve. I need support from the community maintainers. |
@tangming1996 @hsj576 @jaypume any advice? |
Here is a possible solution for addressing #152 and #132. Fix PR Problem related to changes of Sedna #152We assume that for new features, developers have thoroughly validated their changes on their modified Sedna when submitting PRs and have ensured interface compatibility as much as possible. For Sedna
For Ianvs
git+https://github.com/KubeEdge/sedna@ianvs#subdirectory=lib/
Futher improvements of ianvs' dependency management #132Dependencies of CoreConsidering that Sedna itself is a third-party dependency and is no different from other third-party dependencies like pretty_table; therefore, it is most appropriate for all packages needed by Dependencies of ExamplesDifferent examples have different dependencies. Each example should add a BenefitsWith such adjustments, the overall dependency management of Ianvs will be simpler and clearer. Specifically, the benefits are:
Please feel free to share your comments. |
@FuryMartin @IcyFeather233 @hsj576 Given the limited time of the OSPP project, my suggestion is to revise related codes in a copy of Sedna and build another specific wheel in examples/resources for current usage. As for long-term improvement, creating a branch of Sedna for Ianvs users looks fine to me. For that issue, please get in touch with @tangming1996 for consideration. Once @tangming1996 can live with that, @FuryMartin can ask the current maintainer @jaypume for help. The solution of requirement.txt also looks good to me. |
In #149, I provided a modified Sedna package in |
Would the #149 PR be sufficient to close this issue? |
After several weeks, this issue can become vague to community members... In this case, @FuryMartin might want to conclude what could be done in the future. The previous comments might be helpful for summarization. |
What happened:
CI will attempt to install Sedna from
examples/resources/third_party/
when setting up the build environment. But If a new PR uses an updated version of Sedna and does not include the newer wheel in this directory, it will result in interface inconsistencies, causing Pylint to detect module errors (unexpected-keyword-arg
,no-name-in-module
, etc).Possible errors may be reported:
What you expected to happen:
The code should pass Pylint checks without any errors, and the new interfaces from Sedna should be properly recognized.
How to reproduce it (as minimally and precisely as possible):
core/
with a newer version of Sedna that includes new features or bug fixes.examples/resources/third_party/
.Anything else we need to know?:
Related PRs: #144, #149 and other PRs associated with Sedna update
The text was updated successfully, but these errors were encountered: