-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
requirement and pyproject.toml sync checking #1141
Conversation
Signed-off-by: Dhruv-Sachdev1313 <[email protected]>
Reviewer ChecklistPlease leverage this checklist to ensure your code review is thorough before approving Testing, Bugs, Errors, Logs, Documentation
System Compatibility
Quality
|
I am yet to add a GitHub Workflow to make it a part of every CI process. Before I do that I just wanted to make sure if this script is fine in terms of the issue (Script works for sure!), hence the Draft PR. |
@Dhruv-Sachdev1313, thank you for the script. Do you think it makes sense to step back for a second and understand the historical reason for having separate Without knowing the history, I can only deduce that |
Hey @tazarov: I was wondering about it as well, I am new to the repository and found an issue stating this(Ensure pyproject.toml is correct as part of CI for PRs. #564 ) It said, The dependencies in requirements.txt and pyproject.toml must match in order for the project to work correctly in development and when deployed. |
Hey @Dhruv-Sachdev1313, actually, I went through to #564, and I can see your understanding is correct. I am wondering, though, whether there is a more subtle way to solve the problem at hand or just reduce the problem to maintaining a single dependency graph rather than trying to maintain and synchronize two, which can lead to the original problem of this issue. @HammadB, wdyt? Any idea why we would need two sources of dependencies? |
@Dhruv-Sachdev1313 @tazarov doing some cleanup here - is this something we still want to merge? want to close? |
@jeffchuber, I think it'd be foolish to ignore that out-of-sync dependencies between We can either close this PR and spend a moment to think about the problem of sync and perhaps have a well-reasoned CIP to back any choices made, or we can accept the PR as is and build upon it, knowing that this is a step in the right direction. I am okay with either approach. |
Unfortunately this is quite out of date (due to no fault of the OP!) - for hygiene I am going to close this now. |
Description of changes
Summarize the changes made by this PR.
pyproject.toml
is correct as part of CI for PRs. #564Test plan
How are these changes tested?
pytest
for python,yarn test
for jsDocumentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?